public class CountryWrapper extends BaseModelWrapper<Country> implements Country, ModelWrapper<Country>
This class is a wrapper for Country.
Country,
Serialized FormmodelCOUNTRY_ID_ACCESSOR| Constructor and Description |
|---|
CountryWrapper(Country country) |
| Modifier and Type | Method and Description |
|---|---|
Country |
cloneWithOriginalValues() |
String |
getA2()
Returns the a2 of this country.
|
String |
getA3()
Returns the a3 of this country.
|
boolean |
getActive()
Returns the active of this country.
|
String[] |
getAvailableLanguageIds() |
boolean |
getBillingAllowed()
Returns the billing allowed of this country.
|
long |
getCompanyId()
Returns the company ID of this country.
|
long |
getCountryId()
Returns the country ID of this country.
|
Date |
getCreateDate()
Returns the create date of this country.
|
String |
getDefaultLanguageId()
Returns the default language ID of this country.
|
boolean |
getGroupFilterEnabled()
Returns the group filter enabled of this country.
|
String |
getIdd()
Returns the idd of this country.
|
Map<String,String> |
getLanguageIdToTitleMap() |
Date |
getLastPublishDate()
Returns the last publish date of this country.
|
Map<String,Object> |
getModelAttributes() |
Date |
getModifiedDate()
Returns the modified date of this country.
|
long |
getMvccVersion()
Returns the mvcc version of this country.
|
String |
getName()
Returns the name of this country.
|
String |
getName(Locale locale) |
String |
getNameCurrentLanguageId() |
String |
getNameCurrentValue() |
String |
getNumber()
Returns the number of this country.
|
double |
getPosition()
Returns the position of this country.
|
long |
getPrimaryKey()
Returns the primary key of this country.
|
boolean |
getShippingAllowed()
Returns the shipping allowed of this country.
|
StagedModelType |
getStagedModelType() |
boolean |
getSubjectToVAT()
Returns the subject to vat of this country.
|
String |
getTitle() |
String |
getTitle(Locale locale) |
String |
getTitle(String languageId) |
String |
getTitle(String languageId,
boolean useDefault) |
String |
getTitleMapAsXML() |
long |
getUserId()
Returns the user ID of this country.
|
String |
getUserName()
Returns the user name of this country.
|
String |
getUserUuid()
Returns the user uuid of this country.
|
String |
getUuid()
Returns the uuid of this country.
|
boolean |
getZipRequired()
Returns the zip required of this country.
|
boolean |
isActive()
Returns
true if this country is active. |
boolean |
isBillingAllowed()
Returns
true if this country is billing allowed. |
boolean |
isGroupFilterEnabled()
Returns
true if this country is group filter enabled. |
boolean |
isShippingAllowed()
Returns
true if this country is shipping allowed. |
boolean |
isSubjectToVAT()
Returns
true if this country is subject to vat. |
boolean |
isZipRequired()
Returns
true if this country is zip required. |
void |
persist()
Updates this model instance in the database or adds it if it does not yet
exist.
|
void |
setA2(String a2)
Sets the a2 of this country.
|
void |
setA3(String a3)
Sets the a3 of this country.
|
void |
setActive(boolean active)
Sets whether this country is active.
|
void |
setBillingAllowed(boolean billingAllowed)
Sets whether this country is billing allowed.
|
void |
setCompanyId(long companyId)
Sets the company ID of this country.
|
void |
setCountryId(long countryId)
Sets the country ID of this country.
|
void |
setCreateDate(Date createDate)
Sets the create date of this country.
|
void |
setDefaultLanguageId(String defaultLanguageId)
Sets the default language ID of this country.
|
void |
setGroupFilterEnabled(boolean groupFilterEnabled)
Sets whether this country is group filter enabled.
|
void |
setIdd(String idd)
Sets the idd of this country.
|
void |
setLastPublishDate(Date lastPublishDate)
Sets the last publish date of this country.
|
void |
setModelAttributes(Map<String,Object> attributes) |
void |
setModifiedDate(Date modifiedDate)
Sets the modified date of this country.
|
void |
setMvccVersion(long mvccVersion)
Sets the mvcc version of this country.
|
void |
setName(String name)
Sets the name of this country.
|
void |
setNameCurrentLanguageId(String languageId) |
void |
setNumber(String number)
Sets the number of this country.
|
void |
setPosition(double position)
Sets the position of this country.
|
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this country.
|
void |
setShippingAllowed(boolean shippingAllowed)
Sets whether this country is shipping allowed.
|
void |
setSubjectToVAT(boolean subjectToVAT)
Sets whether this country is subject to vat.
|
void |
setUserId(long userId)
Sets the user ID of this country.
|
void |
setUserName(String userName)
Sets the user name of this country.
|
void |
setUserUuid(String userUuid)
Sets the user uuid of this country.
|
void |
setUuid(String uuid)
Sets the uuid of this country.
|
void |
setZipRequired(boolean zipRequired)
Sets whether this country is zip required.
|
protected CountryWrapper |
wrap(Country country) |
clone, compareTo, equals, getExpandoBridge, getModelClass, getModelClassName, getPrimaryKeyObj, getWrappedModel, hashCode, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toString, toUnescapedModel, toXmlStringclone, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getExpandoBridge, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModel, toXmlStringclonegetModelClass, getModelClassNamegetWrappedModelpublic CountryWrapper(Country country)
public Map<String,Object> getModelAttributes()
getModelAttributes in interface BaseModel<Country>public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes in interface BaseModel<Country>public Country cloneWithOriginalValues()
cloneWithOriginalValues in interface BaseModel<Country>cloneWithOriginalValues in interface CountryModelpublic String getA2()
getA2 in interface CountryModelpublic String getA3()
getA3 in interface CountryModelpublic boolean getActive()
getActive in interface CountryModelpublic String[] getAvailableLanguageIds()
getAvailableLanguageIds in interface CountryModelpublic boolean getBillingAllowed()
getBillingAllowed in interface CountryModelpublic long getCompanyId()
getCompanyId in interface AuditedModelgetCompanyId in interface CountryModelgetCompanyId in interface ShardedModelgetCompanyId in interface StagedModelpublic long getCountryId()
getCountryId in interface CountryModelpublic Date getCreateDate()
getCreateDate in interface AuditedModelgetCreateDate in interface CountryModelgetCreateDate in interface StagedModelpublic String getDefaultLanguageId()
getDefaultLanguageId in interface CountryModelpublic boolean getGroupFilterEnabled()
getGroupFilterEnabled in interface CountryModelpublic String getIdd()
getIdd in interface CountryModelpublic Map<String,String> getLanguageIdToTitleMap()
getLanguageIdToTitleMap in interface CountryModelpublic Date getLastPublishDate()
getLastPublishDate in interface CountryModelpublic Date getModifiedDate()
getModifiedDate in interface AuditedModelgetModifiedDate in interface CountryModelgetModifiedDate in interface StagedModelpublic long getMvccVersion()
getMvccVersion in interface CountryModelgetMvccVersion in interface MVCCModelpublic String getName()
getName in interface CountryModelpublic String getNameCurrentLanguageId()
getNameCurrentLanguageId in interface Countrypublic String getNameCurrentValue()
getNameCurrentValue in interface Countrypublic String getNumber()
getNumber in interface CountryModelpublic double getPosition()
getPosition in interface CountryModelpublic long getPrimaryKey()
getPrimaryKey in interface CountryModelpublic boolean getShippingAllowed()
getShippingAllowed in interface CountryModelpublic boolean getSubjectToVAT()
getSubjectToVAT in interface CountryModelpublic String getTitle()
getTitle in interface CountryModelpublic String getTitle(String languageId)
getTitle in interface CountryModelpublic String getTitle(String languageId,
boolean useDefault)
getTitle in interface CountryModelpublic String getTitleMapAsXML()
getTitleMapAsXML in interface CountryModelpublic long getUserId()
getUserId in interface AuditedModelgetUserId in interface CountryModelpublic String getUserName()
getUserName in interface AuditedModelgetUserName in interface CountryModelpublic String getUserUuid()
getUserUuid in interface AuditedModelgetUserUuid in interface CountryModelpublic String getUuid()
getUuid in interface CountryModelgetUuid in interface StagedModelpublic boolean getZipRequired()
getZipRequired in interface CountryModelpublic boolean isActive()
true if this country is active.isActive in interface CountryModeltrue if this country is active; false otherwisepublic boolean isBillingAllowed()
true if this country is billing allowed.isBillingAllowed in interface CountryModeltrue if this country is billing allowed; false otherwisepublic boolean isGroupFilterEnabled()
true if this country is group filter enabled.isGroupFilterEnabled in interface CountryModeltrue if this country is group filter enabled; false otherwisepublic boolean isShippingAllowed()
true if this country is shipping allowed.isShippingAllowed in interface CountryModeltrue if this country is shipping allowed; false otherwisepublic boolean isSubjectToVAT()
true if this country is subject to vat.isSubjectToVAT in interface CountryModeltrue if this country is subject to vat; false otherwisepublic boolean isZipRequired()
true if this country is zip required.isZipRequired in interface CountryModeltrue if this country is zip required; false otherwisepublic void persist()
PersistedModelpersist in interface PersistedModelpublic void setA2(String a2)
setA2 in interface CountryModela2 - the a2 of this countrypublic void setA3(String a3)
setA3 in interface CountryModela3 - the a3 of this countrypublic void setActive(boolean active)
setActive in interface CountryModelactive - the active of this countrypublic void setBillingAllowed(boolean billingAllowed)
setBillingAllowed in interface CountryModelbillingAllowed - the billing allowed of this countrypublic void setCompanyId(long companyId)
setCompanyId in interface AuditedModelsetCompanyId in interface CountryModelsetCompanyId in interface ShardedModelsetCompanyId in interface StagedModelcompanyId - the company ID of this countrypublic void setCountryId(long countryId)
setCountryId in interface CountryModelcountryId - the country ID of this countrypublic void setCreateDate(Date createDate)
setCreateDate in interface AuditedModelsetCreateDate in interface CountryModelsetCreateDate in interface StagedModelcreateDate - the create date of this countrypublic void setDefaultLanguageId(String defaultLanguageId)
setDefaultLanguageId in interface CountryModeldefaultLanguageId - the default language ID of this countrypublic void setGroupFilterEnabled(boolean groupFilterEnabled)
setGroupFilterEnabled in interface CountryModelgroupFilterEnabled - the group filter enabled of this countrypublic void setIdd(String idd)
setIdd in interface CountryModelidd - the idd of this countrypublic void setLastPublishDate(Date lastPublishDate)
setLastPublishDate in interface CountryModellastPublishDate - the last publish date of this countrypublic void setModifiedDate(Date modifiedDate)
setModifiedDate in interface AuditedModelsetModifiedDate in interface CountryModelsetModifiedDate in interface StagedModelmodifiedDate - the modified date of this countrypublic void setMvccVersion(long mvccVersion)
setMvccVersion in interface CountryModelsetMvccVersion in interface MVCCModelmvccVersion - the mvcc version of this countrypublic void setName(String name)
setName in interface CountryModelname - the name of this countrypublic void setNameCurrentLanguageId(String languageId)
setNameCurrentLanguageId in interface Countrypublic void setNumber(String number)
setNumber in interface CountryModelnumber - the number of this countrypublic void setPosition(double position)
setPosition in interface CountryModelposition - the position of this countrypublic void setPrimaryKey(long primaryKey)
setPrimaryKey in interface CountryModelprimaryKey - the primary key of this countrypublic void setShippingAllowed(boolean shippingAllowed)
setShippingAllowed in interface CountryModelshippingAllowed - the shipping allowed of this countrypublic void setSubjectToVAT(boolean subjectToVAT)
setSubjectToVAT in interface CountryModelsubjectToVAT - the subject to vat of this countrypublic void setUserId(long userId)
setUserId in interface AuditedModelsetUserId in interface CountryModeluserId - the user ID of this countrypublic void setUserName(String userName)
setUserName in interface AuditedModelsetUserName in interface CountryModeluserName - the user name of this countrypublic void setUserUuid(String userUuid)
setUserUuid in interface AuditedModelsetUserUuid in interface CountryModeluserUuid - the user uuid of this countrypublic void setUuid(String uuid)
setUuid in interface CountryModelsetUuid in interface StagedModeluuid - the uuid of this countrypublic void setZipRequired(boolean zipRequired)
setZipRequired in interface CountryModelzipRequired - the zip required of this countrypublic StagedModelType getStagedModelType()
getStagedModelType in interface StagedModelprotected CountryWrapper wrap(Country country)
wrap in class BaseModelWrapper<Country>