Package com.liferay.portal.kernel.model
Class CountryWrapper
Object
com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<Country>
com.liferay.portal.kernel.model.CountryWrapper
- All Implemented Interfaces:
AuditedModel,BaseModel<Country>,CTModel<Country>,ClassedModel,Country,CountryModel,ModelWrapper<Country>,MVCCModel,PersistedModel,ShardedModel,StagedAuditedModel,StagedModel,Serializable,Cloneable,Comparable<Country>
public class CountryWrapper
extends BaseModelWrapper<Country>
implements Country, ModelWrapper<Country>
This class is a wrapper for Country.
- Author:
- Brian Wing Shun Chan
- See Also:
- {$generated.description}
-
Field Summary
Fields inherited from class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper
modelFields inherited from interface com.liferay.portal.kernel.model.Country
COUNTRY_ID_ACCESSOR -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetA2()Returns the a2 of this country.getA3()Returns the a3 of this country.booleanReturns the active of this country.String[]booleanReturns the billing allowed of this country.longReturns the company ID of this country.longReturns the country ID of this country.Returns the create date of this country.longReturns the ct collection ID of this country.Returns the default language ID of this country.booleanReturns the group filter enabled of this country.getIdd()Returns the idd of this country.Returns the last publish date of this country.Returns the modified date of this country.longReturns the mvcc version of this country.getName()Returns the name of this country.Returns the number of this country.doubleReturns the position of this country.longReturns the primary key of this country.booleanReturns the shipping allowed of this country.booleanReturns the subject to vat of this country.getTitle()longReturns the user ID of this country.Returns the user name of this country.Returns the user uuid of this country.getUuid()Returns the uuid of this country.booleanReturns the zip required of this country.booleanisActive()Returnstrueif this country is active.booleanReturnstrueif this country is billing allowed.booleanReturnstrueif this country is group filter enabled.booleanReturnstrueif this country is shipping allowed.booleanReturnstrueif this country is subject to vat.booleanReturnstrueif this country is zip required.voidpersist()Updates this model instance in the database or adds it if it does not yet exist.voidSets the a2 of this country.voidSets the a3 of this country.voidsetActive(boolean active) Sets whether this country is active.voidsetBillingAllowed(boolean billingAllowed) Sets whether this country is billing allowed.voidsetCompanyId(long companyId) Sets the company ID of this country.voidsetCountryId(long countryId) Sets the country ID of this country.voidsetCreateDate(Date createDate) Sets the create date of this country.voidsetCtCollectionId(long ctCollectionId) Sets the ct collection ID of this country.voidsetDefaultLanguageId(String defaultLanguageId) Sets the default language ID of this country.voidsetGroupFilterEnabled(boolean groupFilterEnabled) Sets whether this country is group filter enabled.voidSets the idd of this country.voidsetLastPublishDate(Date lastPublishDate) Sets the last publish date of this country.voidsetModelAttributes(Map<String, Object> attributes) voidsetModifiedDate(Date modifiedDate) Sets the modified date of this country.voidsetMvccVersion(long mvccVersion) Sets the mvcc version of this country.voidSets the name of this country.voidsetNameCurrentLanguageId(String languageId) voidSets the number of this country.voidsetPosition(double position) Sets the position of this country.voidsetPrimaryKey(long primaryKey) Sets the primary key of this country.voidsetShippingAllowed(boolean shippingAllowed) Sets whether this country is shipping allowed.voidsetSubjectToVAT(boolean subjectToVAT) Sets whether this country is subject to vat.voidsetUserId(long userId) Sets the user ID of this country.voidsetUserName(String userName) Sets the user name of this country.voidsetUserUuid(String userUuid) Sets the user uuid of this country.voidSets the uuid of this country.voidsetZipRequired(boolean zipRequired) Sets whether this country is zip required.protected CountryWrapperMethods inherited from class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper
clone, compareTo, equals, getExpandoBridge, getModelClass, getModelClassName, getPrimaryKeyObj, getWrappedModel, hashCode, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toString, toUnescapedModelMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.liferay.portal.kernel.model.BaseModel
clone, getExpandoBridge, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModelMethods inherited from interface com.liferay.portal.kernel.model.ClassedModel
getModelClass, getModelClassNameMethods inherited from interface java.lang.Comparable
compareToMethods inherited from interface com.liferay.portal.kernel.model.ModelWrapper
getWrappedModelMethods inherited from interface com.liferay.portal.kernel.model.StagedModel
clone
-
Constructor Details
-
CountryWrapper
-
-
Method Details
-
getModelAttributes
- Specified by:
getModelAttributesin interfaceBaseModel<Country>
-
setModelAttributes
- Specified by:
setModelAttributesin interfaceBaseModel<Country>
-
cloneWithOriginalValues
- Specified by:
cloneWithOriginalValuesin interfaceBaseModel<Country>- Specified by:
cloneWithOriginalValuesin interfaceCountryModel
-
getA2
Returns the a2 of this country.- Specified by:
getA2in interfaceCountryModel- Returns:
- the a2 of this country
-
getA3
Returns the a3 of this country.- Specified by:
getA3in interfaceCountryModel- Returns:
- the a3 of this country
-
getActive
public boolean getActive()Returns the active of this country.- Specified by:
getActivein interfaceCountryModel- Returns:
- the active of this country
-
getAvailableLanguageIds
- Specified by:
getAvailableLanguageIdsin interfaceCountryModel
-
getBillingAllowed
public boolean getBillingAllowed()Returns the billing allowed of this country.- Specified by:
getBillingAllowedin interfaceCountryModel- Returns:
- the billing allowed of this country
-
getCompanyId
public long getCompanyId()Returns the company ID of this country.- Specified by:
getCompanyIdin interfaceAuditedModel- Specified by:
getCompanyIdin interfaceCountryModel- Specified by:
getCompanyIdin interfaceShardedModel- Specified by:
getCompanyIdin interfaceStagedModel- Returns:
- the company ID of this country
-
getCountryId
public long getCountryId()Returns the country ID of this country.- Specified by:
getCountryIdin interfaceCountryModel- Returns:
- the country ID of this country
-
getCreateDate
Returns the create date of this country.- Specified by:
getCreateDatein interfaceAuditedModel- Specified by:
getCreateDatein interfaceCountryModel- Specified by:
getCreateDatein interfaceStagedModel- Returns:
- the create date of this country
-
getCtCollectionId
public long getCtCollectionId()Returns the ct collection ID of this country.- Specified by:
getCtCollectionIdin interfaceCountryModel- Specified by:
getCtCollectionIdin interfaceCTModel<Country>- Returns:
- the ct collection ID of this country
-
getDefaultLanguageId
Returns the default language ID of this country.- Specified by:
getDefaultLanguageIdin interfaceCountryModel- Returns:
- the default language ID of this country
-
getGroupFilterEnabled
public boolean getGroupFilterEnabled()Returns the group filter enabled of this country.- Specified by:
getGroupFilterEnabledin interfaceCountryModel- Returns:
- the group filter enabled of this country
-
getIdd
Returns the idd of this country.- Specified by:
getIddin interfaceCountryModel- Returns:
- the idd of this country
-
getLanguageIdToTitleMap
- Specified by:
getLanguageIdToTitleMapin interfaceCountryModel
-
getLastPublishDate
Returns the last publish date of this country.- Specified by:
getLastPublishDatein interfaceCountryModel- Returns:
- the last publish date of this country
-
getModifiedDate
Returns the modified date of this country.- Specified by:
getModifiedDatein interfaceAuditedModel- Specified by:
getModifiedDatein interfaceCountryModel- Specified by:
getModifiedDatein interfaceStagedModel- Returns:
- the modified date of this country
-
getMvccVersion
public long getMvccVersion()Returns the mvcc version of this country.- Specified by:
getMvccVersionin interfaceCountryModel- Specified by:
getMvccVersionin interfaceMVCCModel- Returns:
- the mvcc version of this country
-
getName
Returns the name of this country.- Specified by:
getNamein interfaceCountryModel- Returns:
- the name of this country
-
getName
-
getNameCurrentLanguageId
- Specified by:
getNameCurrentLanguageIdin interfaceCountry
-
getNameCurrentValue
- Specified by:
getNameCurrentValuein interfaceCountry
-
getNumber
Returns the number of this country.- Specified by:
getNumberin interfaceCountryModel- Returns:
- the number of this country
-
getPosition
public double getPosition()Returns the position of this country.- Specified by:
getPositionin interfaceCountryModel- Returns:
- the position of this country
-
getPrimaryKey
public long getPrimaryKey()Returns the primary key of this country.- Specified by:
getPrimaryKeyin interfaceCountryModel- Specified by:
getPrimaryKeyin interfaceCTModel<Country>- Returns:
- the primary key of this country
-
getShippingAllowed
public boolean getShippingAllowed()Returns the shipping allowed of this country.- Specified by:
getShippingAllowedin interfaceCountryModel- Returns:
- the shipping allowed of this country
-
getSubjectToVAT
public boolean getSubjectToVAT()Returns the subject to vat of this country.- Specified by:
getSubjectToVATin interfaceCountryModel- Returns:
- the subject to vat of this country
-
getTitle
- Specified by:
getTitlein interfaceCountryModel
-
getTitle
-
getTitle
- Specified by:
getTitlein interfaceCountryModel
-
getTitle
- Specified by:
getTitlein interfaceCountryModel
-
getTitleMapAsXML
- Specified by:
getTitleMapAsXMLin interfaceCountryModel
-
getUserId
public long getUserId()Returns the user ID of this country.- Specified by:
getUserIdin interfaceAuditedModel- Specified by:
getUserIdin interfaceCountryModel- Returns:
- the user ID of this country
-
getUserName
Returns the user name of this country.- Specified by:
getUserNamein interfaceAuditedModel- Specified by:
getUserNamein interfaceCountryModel- Returns:
- the user name of this country
-
getUserUuid
Returns the user uuid of this country.- Specified by:
getUserUuidin interfaceAuditedModel- Specified by:
getUserUuidin interfaceCountryModel- Returns:
- the user uuid of this country
-
getUuid
Returns the uuid of this country.- Specified by:
getUuidin interfaceCountryModel- Specified by:
getUuidin interfaceStagedModel- Returns:
- the uuid of this country
-
getZipRequired
public boolean getZipRequired()Returns the zip required of this country.- Specified by:
getZipRequiredin interfaceCountryModel- Returns:
- the zip required of this country
-
isActive
public boolean isActive()Returnstrueif this country is active.- Specified by:
isActivein interfaceCountryModel- Returns:
trueif this country is active;falseotherwise
-
isBillingAllowed
public boolean isBillingAllowed()Returnstrueif this country is billing allowed.- Specified by:
isBillingAllowedin interfaceCountryModel- Returns:
trueif this country is billing allowed;falseotherwise
-
isGroupFilterEnabled
public boolean isGroupFilterEnabled()Returnstrueif this country is group filter enabled.- Specified by:
isGroupFilterEnabledin interfaceCountryModel- Returns:
trueif this country is group filter enabled;falseotherwise
-
isShippingAllowed
public boolean isShippingAllowed()Returnstrueif this country is shipping allowed.- Specified by:
isShippingAllowedin interfaceCountryModel- Returns:
trueif this country is shipping allowed;falseotherwise
-
isSubjectToVAT
public boolean isSubjectToVAT()Returnstrueif this country is subject to vat.- Specified by:
isSubjectToVATin interfaceCountryModel- Returns:
trueif this country is subject to vat;falseotherwise
-
isZipRequired
public boolean isZipRequired()Returnstrueif this country is zip required.- Specified by:
isZipRequiredin interfaceCountryModel- Returns:
trueif this country is zip required;falseotherwise
-
persist
public void persist()Description copied from interface:PersistedModelUpdates this model instance in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.- Specified by:
persistin interfacePersistedModel
-
setA2
Sets the a2 of this country.- Specified by:
setA2in interfaceCountryModel- Parameters:
a2- the a2 of this country
-
setA3
Sets the a3 of this country.- Specified by:
setA3in interfaceCountryModel- Parameters:
a3- the a3 of this country
-
setActive
public void setActive(boolean active) Sets whether this country is active.- Specified by:
setActivein interfaceCountryModel- Parameters:
active- the active of this country
-
setBillingAllowed
public void setBillingAllowed(boolean billingAllowed) Sets whether this country is billing allowed.- Specified by:
setBillingAllowedin interfaceCountryModel- Parameters:
billingAllowed- the billing allowed of this country
-
setCompanyId
public void setCompanyId(long companyId) Sets the company ID of this country.- Specified by:
setCompanyIdin interfaceAuditedModel- Specified by:
setCompanyIdin interfaceCountryModel- Specified by:
setCompanyIdin interfaceShardedModel- Specified by:
setCompanyIdin interfaceStagedModel- Parameters:
companyId- the company ID of this country
-
setCountryId
public void setCountryId(long countryId) Sets the country ID of this country.- Specified by:
setCountryIdin interfaceCountryModel- Parameters:
countryId- the country ID of this country
-
setCreateDate
Sets the create date of this country.- Specified by:
setCreateDatein interfaceAuditedModel- Specified by:
setCreateDatein interfaceCountryModel- Specified by:
setCreateDatein interfaceStagedModel- Parameters:
createDate- the create date of this country
-
setCtCollectionId
public void setCtCollectionId(long ctCollectionId) Sets the ct collection ID of this country.- Specified by:
setCtCollectionIdin interfaceCountryModel- Specified by:
setCtCollectionIdin interfaceCTModel<Country>- Parameters:
ctCollectionId- the ct collection ID of this country
-
setDefaultLanguageId
Sets the default language ID of this country.- Specified by:
setDefaultLanguageIdin interfaceCountryModel- Parameters:
defaultLanguageId- the default language ID of this country
-
setGroupFilterEnabled
public void setGroupFilterEnabled(boolean groupFilterEnabled) Sets whether this country is group filter enabled.- Specified by:
setGroupFilterEnabledin interfaceCountryModel- Parameters:
groupFilterEnabled- the group filter enabled of this country
-
setIdd
Sets the idd of this country.- Specified by:
setIddin interfaceCountryModel- Parameters:
idd- the idd of this country
-
setLastPublishDate
Sets the last publish date of this country.- Specified by:
setLastPublishDatein interfaceCountryModel- Parameters:
lastPublishDate- the last publish date of this country
-
setModifiedDate
Sets the modified date of this country.- Specified by:
setModifiedDatein interfaceAuditedModel- Specified by:
setModifiedDatein interfaceCountryModel- Specified by:
setModifiedDatein interfaceStagedModel- Parameters:
modifiedDate- the modified date of this country
-
setMvccVersion
public void setMvccVersion(long mvccVersion) Sets the mvcc version of this country.- Specified by:
setMvccVersionin interfaceCountryModel- Specified by:
setMvccVersionin interfaceMVCCModel- Parameters:
mvccVersion- the mvcc version of this country
-
setName
Sets the name of this country.- Specified by:
setNamein interfaceCountryModel- Parameters:
name- the name of this country
-
setNameCurrentLanguageId
- Specified by:
setNameCurrentLanguageIdin interfaceCountry
-
setNumber
Sets the number of this country.- Specified by:
setNumberin interfaceCountryModel- Parameters:
number- the number of this country
-
setPosition
public void setPosition(double position) Sets the position of this country.- Specified by:
setPositionin interfaceCountryModel- Parameters:
position- the position of this country
-
setPrimaryKey
public void setPrimaryKey(long primaryKey) Sets the primary key of this country.- Specified by:
setPrimaryKeyin interfaceCountryModel- Specified by:
setPrimaryKeyin interfaceCTModel<Country>- Parameters:
primaryKey- the primary key of this country
-
setShippingAllowed
public void setShippingAllowed(boolean shippingAllowed) Sets whether this country is shipping allowed.- Specified by:
setShippingAllowedin interfaceCountryModel- Parameters:
shippingAllowed- the shipping allowed of this country
-
setSubjectToVAT
public void setSubjectToVAT(boolean subjectToVAT) Sets whether this country is subject to vat.- Specified by:
setSubjectToVATin interfaceCountryModel- Parameters:
subjectToVAT- the subject to vat of this country
-
setUserId
public void setUserId(long userId) Sets the user ID of this country.- Specified by:
setUserIdin interfaceAuditedModel- Specified by:
setUserIdin interfaceCountryModel- Parameters:
userId- the user ID of this country
-
setUserName
Sets the user name of this country.- Specified by:
setUserNamein interfaceAuditedModel- Specified by:
setUserNamein interfaceCountryModel- Parameters:
userName- the user name of this country
-
setUserUuid
Sets the user uuid of this country.- Specified by:
setUserUuidin interfaceAuditedModel- Specified by:
setUserUuidin interfaceCountryModel- Parameters:
userUuid- the user uuid of this country
-
setUuid
Sets the uuid of this country.- Specified by:
setUuidin interfaceCountryModel- Specified by:
setUuidin interfaceStagedModel- Parameters:
uuid- the uuid of this country
-
setZipRequired
public void setZipRequired(boolean zipRequired) Sets whether this country is zip required.- Specified by:
setZipRequiredin interfaceCountryModel- Parameters:
zipRequired- the zip required of this country
-
toXmlString
- Specified by:
toXmlStringin interfaceCountryModel
-
getAttributeGetterFunctions
- Specified by:
getAttributeGetterFunctionsin interfaceBaseModel<Country>
-
getAttributeSetterBiConsumers
- Specified by:
getAttributeSetterBiConsumersin interfaceBaseModel<Country>
-
getStagedModelType
- Specified by:
getStagedModelTypein interfaceStagedModel
-
wrap
- Specified by:
wrapin classBaseModelWrapper<Country>
-