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
model
Fields 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.boolean
Returns the active of this country.String[]
boolean
Returns the billing allowed of this country.long
Returns the company ID of this country.long
Returns the country ID of this country.Returns the create date of this country.long
Returns the ct collection ID of this country.Returns the default language ID of this country.boolean
Returns 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.long
Returns the mvcc version of this country.getName()
Returns the name of this country.Returns the number of this country.double
Returns the position of this country.long
Returns the primary key of this country.boolean
Returns the shipping allowed of this country.boolean
Returns the subject to vat of this country.getTitle()
long
Returns 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.boolean
Returns the zip required of this country.boolean
isActive()
Returnstrue
if this country is active.boolean
Returnstrue
if this country is billing allowed.boolean
Returnstrue
if this country is group filter enabled.boolean
Returnstrue
if this country is shipping allowed.boolean
Returnstrue
if this country is subject to vat.boolean
Returnstrue
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
Sets the a2 of this country.void
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
setCtCollectionId
(long ctCollectionId) Sets the ct collection ID 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
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
Sets the name of this country.void
setNameCurrentLanguageId
(String languageId) void
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
Sets the uuid of this country.void
setZipRequired
(boolean zipRequired) Sets whether this country is zip required.protected CountryWrapper
Methods 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, toUnescapedModel
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
Methods 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, toUnescapedModel
Methods inherited from interface com.liferay.portal.kernel.model.ClassedModel
getModelClass, getModelClassName
Methods inherited from interface java.lang.Comparable
compareTo
Methods inherited from interface com.liferay.portal.kernel.model.ModelWrapper
getWrappedModel
Methods inherited from interface com.liferay.portal.kernel.model.StagedModel
clone
-
Constructor Details
-
CountryWrapper
-
-
Method Details
-
getModelAttributes
- Specified by:
getModelAttributes
in interfaceBaseModel<Country>
-
setModelAttributes
- Specified by:
setModelAttributes
in interfaceBaseModel<Country>
-
cloneWithOriginalValues
- Specified by:
cloneWithOriginalValues
in interfaceBaseModel<Country>
- Specified by:
cloneWithOriginalValues
in interfaceCountryModel
-
getA2
Returns the a2 of this country.- Specified by:
getA2
in interfaceCountryModel
- Returns:
- the a2 of this country
-
getA3
Returns the a3 of this country.- Specified by:
getA3
in interfaceCountryModel
- Returns:
- the a3 of this country
-
getActive
public boolean getActive()Returns the active of this country.- Specified by:
getActive
in interfaceCountryModel
- Returns:
- the active of this country
-
getAvailableLanguageIds
- Specified by:
getAvailableLanguageIds
in interfaceCountryModel
-
getBillingAllowed
public boolean getBillingAllowed()Returns the billing allowed of this country.- Specified by:
getBillingAllowed
in interfaceCountryModel
- Returns:
- the billing allowed of this country
-
getCompanyId
public long getCompanyId()Returns the company ID of this country.- Specified by:
getCompanyId
in interfaceAuditedModel
- Specified by:
getCompanyId
in interfaceCountryModel
- Specified by:
getCompanyId
in interfaceShardedModel
- Specified by:
getCompanyId
in interfaceStagedModel
- Returns:
- the company ID of this country
-
getCountryId
public long getCountryId()Returns the country ID of this country.- Specified by:
getCountryId
in interfaceCountryModel
- Returns:
- the country ID of this country
-
getCreateDate
Returns the create date of this country.- Specified by:
getCreateDate
in interfaceAuditedModel
- Specified by:
getCreateDate
in interfaceCountryModel
- Specified by:
getCreateDate
in interfaceStagedModel
- Returns:
- the create date of this country
-
getCtCollectionId
public long getCtCollectionId()Returns the ct collection ID of this country.- Specified by:
getCtCollectionId
in interfaceCountryModel
- Specified by:
getCtCollectionId
in interfaceCTModel<Country>
- Returns:
- the ct collection ID of this country
-
getDefaultLanguageId
Returns the default language ID of this country.- Specified by:
getDefaultLanguageId
in interfaceCountryModel
- Returns:
- the default language ID of this country
-
getGroupFilterEnabled
public boolean getGroupFilterEnabled()Returns the group filter enabled of this country.- Specified by:
getGroupFilterEnabled
in interfaceCountryModel
- Returns:
- the group filter enabled of this country
-
getIdd
Returns the idd of this country.- Specified by:
getIdd
in interfaceCountryModel
- Returns:
- the idd of this country
-
getLanguageIdToTitleMap
- Specified by:
getLanguageIdToTitleMap
in interfaceCountryModel
-
getLastPublishDate
Returns the last publish date of this country.- Specified by:
getLastPublishDate
in interfaceCountryModel
- Returns:
- the last publish date of this country
-
getModifiedDate
Returns the modified date of this country.- Specified by:
getModifiedDate
in interfaceAuditedModel
- Specified by:
getModifiedDate
in interfaceCountryModel
- Specified by:
getModifiedDate
in interfaceStagedModel
- Returns:
- the modified date of this country
-
getMvccVersion
public long getMvccVersion()Returns the mvcc version of this country.- Specified by:
getMvccVersion
in interfaceCountryModel
- Specified by:
getMvccVersion
in interfaceMVCCModel
- Returns:
- the mvcc version of this country
-
getName
Returns the name of this country.- Specified by:
getName
in interfaceCountryModel
- Returns:
- the name of this country
-
getName
-
getNameCurrentLanguageId
- Specified by:
getNameCurrentLanguageId
in interfaceCountry
-
getNameCurrentValue
- Specified by:
getNameCurrentValue
in interfaceCountry
-
getNumber
Returns the number of this country.- Specified by:
getNumber
in interfaceCountryModel
- Returns:
- the number of this country
-
getPosition
public double getPosition()Returns the position of this country.- Specified by:
getPosition
in interfaceCountryModel
- Returns:
- the position of this country
-
getPrimaryKey
public long getPrimaryKey()Returns the primary key of this country.- Specified by:
getPrimaryKey
in interfaceCountryModel
- Specified by:
getPrimaryKey
in interfaceCTModel<Country>
- Returns:
- the primary key of this country
-
getShippingAllowed
public boolean getShippingAllowed()Returns the shipping allowed of this country.- Specified by:
getShippingAllowed
in interfaceCountryModel
- Returns:
- the shipping allowed of this country
-
getSubjectToVAT
public boolean getSubjectToVAT()Returns the subject to vat of this country.- Specified by:
getSubjectToVAT
in interfaceCountryModel
- Returns:
- the subject to vat of this country
-
getTitle
- Specified by:
getTitle
in interfaceCountryModel
-
getTitle
-
getTitle
- Specified by:
getTitle
in interfaceCountryModel
-
getTitle
- Specified by:
getTitle
in interfaceCountryModel
-
getTitleMapAsXML
- Specified by:
getTitleMapAsXML
in interfaceCountryModel
-
getUserId
public long getUserId()Returns the user ID of this country.- Specified by:
getUserId
in interfaceAuditedModel
- Specified by:
getUserId
in interfaceCountryModel
- Returns:
- the user ID of this country
-
getUserName
Returns the user name of this country.- Specified by:
getUserName
in interfaceAuditedModel
- Specified by:
getUserName
in interfaceCountryModel
- Returns:
- the user name of this country
-
getUserUuid
Returns the user uuid of this country.- Specified by:
getUserUuid
in interfaceAuditedModel
- Specified by:
getUserUuid
in interfaceCountryModel
- Returns:
- the user uuid of this country
-
getUuid
Returns the uuid of this country.- Specified by:
getUuid
in interfaceCountryModel
- Specified by:
getUuid
in interfaceStagedModel
- Returns:
- the uuid of this country
-
getZipRequired
public boolean getZipRequired()Returns the zip required of this country.- Specified by:
getZipRequired
in interfaceCountryModel
- Returns:
- the zip required of this country
-
isActive
public boolean isActive()Returnstrue
if this country is active.- Specified by:
isActive
in interfaceCountryModel
- Returns:
true
if this country is active;false
otherwise
-
isBillingAllowed
public boolean isBillingAllowed()Returnstrue
if this country is billing allowed.- Specified by:
isBillingAllowed
in interfaceCountryModel
- Returns:
true
if this country is billing allowed;false
otherwise
-
isGroupFilterEnabled
public boolean isGroupFilterEnabled()Returnstrue
if this country is group filter enabled.- Specified by:
isGroupFilterEnabled
in interfaceCountryModel
- Returns:
true
if this country is group filter enabled;false
otherwise
-
isShippingAllowed
public boolean isShippingAllowed()Returnstrue
if this country is shipping allowed.- Specified by:
isShippingAllowed
in interfaceCountryModel
- Returns:
true
if this country is shipping allowed;false
otherwise
-
isSubjectToVAT
public boolean isSubjectToVAT()Returnstrue
if this country is subject to vat.- Specified by:
isSubjectToVAT
in interfaceCountryModel
- Returns:
true
if this country is subject to vat;false
otherwise
-
isZipRequired
public boolean isZipRequired()Returnstrue
if this country is zip required.- Specified by:
isZipRequired
in interfaceCountryModel
- Returns:
true
if this country is zip required;false
otherwise
-
persist
public void persist()Description copied from interface:PersistedModel
Updates this model instance in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.- Specified by:
persist
in interfacePersistedModel
-
setA2
Sets the a2 of this country.- Specified by:
setA2
in interfaceCountryModel
- Parameters:
a2
- the a2 of this country
-
setA3
Sets the a3 of this country.- Specified by:
setA3
in interfaceCountryModel
- Parameters:
a3
- the a3 of this country
-
setActive
public void setActive(boolean active) Sets whether this country is active.- Specified by:
setActive
in interfaceCountryModel
- Parameters:
active
- the active of this country
-
setBillingAllowed
public void setBillingAllowed(boolean billingAllowed) Sets whether this country is billing allowed.- Specified by:
setBillingAllowed
in interfaceCountryModel
- Parameters:
billingAllowed
- the billing allowed of this country
-
setCompanyId
public void setCompanyId(long companyId) Sets the company ID of this country.- Specified by:
setCompanyId
in interfaceAuditedModel
- Specified by:
setCompanyId
in interfaceCountryModel
- Specified by:
setCompanyId
in interfaceShardedModel
- Specified by:
setCompanyId
in interfaceStagedModel
- Parameters:
companyId
- the company ID of this country
-
setCountryId
public void setCountryId(long countryId) Sets the country ID of this country.- Specified by:
setCountryId
in interfaceCountryModel
- Parameters:
countryId
- the country ID of this country
-
setCreateDate
Sets the create date of this country.- Specified by:
setCreateDate
in interfaceAuditedModel
- Specified by:
setCreateDate
in interfaceCountryModel
- Specified by:
setCreateDate
in 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:
setCtCollectionId
in interfaceCountryModel
- Specified by:
setCtCollectionId
in interfaceCTModel<Country>
- Parameters:
ctCollectionId
- the ct collection ID of this country
-
setDefaultLanguageId
Sets the default language ID of this country.- Specified by:
setDefaultLanguageId
in 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:
setGroupFilterEnabled
in interfaceCountryModel
- Parameters:
groupFilterEnabled
- the group filter enabled of this country
-
setIdd
Sets the idd of this country.- Specified by:
setIdd
in interfaceCountryModel
- Parameters:
idd
- the idd of this country
-
setLastPublishDate
Sets the last publish date of this country.- Specified by:
setLastPublishDate
in interfaceCountryModel
- Parameters:
lastPublishDate
- the last publish date of this country
-
setModifiedDate
Sets the modified date of this country.- Specified by:
setModifiedDate
in interfaceAuditedModel
- Specified by:
setModifiedDate
in interfaceCountryModel
- Specified by:
setModifiedDate
in interfaceStagedModel
- Parameters:
modifiedDate
- the modified date of this country
-
setMvccVersion
public void setMvccVersion(long mvccVersion) Sets the mvcc version of this country.- Specified by:
setMvccVersion
in interfaceCountryModel
- Specified by:
setMvccVersion
in interfaceMVCCModel
- Parameters:
mvccVersion
- the mvcc version of this country
-
setName
Sets the name of this country.- Specified by:
setName
in interfaceCountryModel
- Parameters:
name
- the name of this country
-
setNameCurrentLanguageId
- Specified by:
setNameCurrentLanguageId
in interfaceCountry
-
setNumber
Sets the number of this country.- Specified by:
setNumber
in interfaceCountryModel
- Parameters:
number
- the number of this country
-
setPosition
public void setPosition(double position) Sets the position of this country.- Specified by:
setPosition
in interfaceCountryModel
- Parameters:
position
- the position of this country
-
setPrimaryKey
public void setPrimaryKey(long primaryKey) Sets the primary key of this country.- Specified by:
setPrimaryKey
in interfaceCountryModel
- Specified by:
setPrimaryKey
in 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:
setShippingAllowed
in 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:
setSubjectToVAT
in 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:
setUserId
in interfaceAuditedModel
- Specified by:
setUserId
in interfaceCountryModel
- Parameters:
userId
- the user ID of this country
-
setUserName
Sets the user name of this country.- Specified by:
setUserName
in interfaceAuditedModel
- Specified by:
setUserName
in interfaceCountryModel
- Parameters:
userName
- the user name of this country
-
setUserUuid
Sets the user uuid of this country.- Specified by:
setUserUuid
in interfaceAuditedModel
- Specified by:
setUserUuid
in interfaceCountryModel
- Parameters:
userUuid
- the user uuid of this country
-
setUuid
Sets the uuid of this country.- Specified by:
setUuid
in interfaceCountryModel
- Specified by:
setUuid
in interfaceStagedModel
- Parameters:
uuid
- the uuid of this country
-
setZipRequired
public void setZipRequired(boolean zipRequired) Sets whether this country is zip required.- Specified by:
setZipRequired
in interfaceCountryModel
- Parameters:
zipRequired
- the zip required of this country
-
toXmlString
- Specified by:
toXmlString
in interfaceCountryModel
-
getAttributeGetterFunctions
- Specified by:
getAttributeGetterFunctions
in interfaceBaseModel<Country>
-
getAttributeSetterBiConsumers
- Specified by:
getAttributeSetterBiConsumers
in interfaceBaseModel<Country>
-
getStagedModelType
- Specified by:
getStagedModelType
in interfaceStagedModel
-
wrap
- Specified by:
wrap
in classBaseModelWrapper<Country>
-