Package com.liferay.portal.kernel.model
Interface CountryModel
- All Superinterfaces:
AuditedModel
,BaseModel<Country>
,ClassedModel
,Cloneable
,Comparable<Country>
,CTModel<Country>
,MVCCModel
,Serializable
,ShardedModel
,StagedAuditedModel
,StagedModel
- All Known Subinterfaces:
Country
- All Known Implementing Classes:
CountryWrapper
@ProviderType
public interface CountryModel
extends BaseModel<Country>, CTModel<Country>, MVCCModel, ShardedModel, StagedAuditedModel
The base model interface for the Country service. Represents a row in the "Country" database table, with each column mapped to a property of this class.
This interface and its corresponding implementation com.liferay.portal.model.impl.CountryModelImpl
exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in com.liferay.portal.model.impl.CountryImpl
.
- Author:
- Brian Wing Shun Chan
- See Also:
- {$generated.description}
-
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
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
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
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.default String
Methods inherited from interface com.liferay.portal.kernel.model.BaseModel
clone, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getExpandoBridge, getModelAttributes, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setModelAttributes, 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.StagedModel
clone, getStagedModelType
-
Method Details
-
getPrimaryKey
long getPrimaryKey()Returns the primary key of this country.- Specified by:
getPrimaryKey
in interfaceCTModel<Country>
- Returns:
- the primary key of this country
-
setPrimaryKey
void setPrimaryKey(long primaryKey) Sets the primary key of this country.- Specified by:
setPrimaryKey
in interfaceCTModel<Country>
- Parameters:
primaryKey
- the primary key of this country
-
getMvccVersion
long getMvccVersion()Returns the mvcc version of this country.- Specified by:
getMvccVersion
in interfaceMVCCModel
- Returns:
- the mvcc version of this country
-
setMvccVersion
void setMvccVersion(long mvccVersion) Sets the mvcc version of this country.- Specified by:
setMvccVersion
in interfaceMVCCModel
- Parameters:
mvccVersion
- the mvcc version of this country
-
getCtCollectionId
long getCtCollectionId()Returns the ct collection ID of this country.- Specified by:
getCtCollectionId
in interfaceCTModel<Country>
- Returns:
- the ct collection ID of this country
-
setCtCollectionId
void setCtCollectionId(long ctCollectionId) Sets the ct collection ID of this country.- Specified by:
setCtCollectionId
in interfaceCTModel<Country>
- Parameters:
ctCollectionId
- the ct collection ID of this country
-
getUuid
Returns the uuid of this country.- Specified by:
getUuid
in interfaceStagedModel
- Returns:
- the uuid of this country
-
setUuid
Sets the uuid of this country.- Specified by:
setUuid
in interfaceStagedModel
- Parameters:
uuid
- the uuid of this country
-
getDefaultLanguageId
Returns the default language ID of this country.- Returns:
- the default language ID of this country
-
setDefaultLanguageId
Sets the default language ID of this country.- Parameters:
defaultLanguageId
- the default language ID of this country
-
getCountryId
long getCountryId()Returns the country ID of this country.- Returns:
- the country ID of this country
-
setCountryId
void setCountryId(long countryId) Sets the country ID of this country.- Parameters:
countryId
- the country ID of this country
-
getCompanyId
long getCompanyId()Returns the company ID of this country.- Specified by:
getCompanyId
in interfaceAuditedModel
- Specified by:
getCompanyId
in interfaceShardedModel
- Specified by:
getCompanyId
in interfaceStagedModel
- Returns:
- the company ID of this country
-
setCompanyId
void setCompanyId(long companyId) Sets the company ID of this country.- Specified by:
setCompanyId
in interfaceAuditedModel
- Specified by:
setCompanyId
in interfaceShardedModel
- Specified by:
setCompanyId
in interfaceStagedModel
- Parameters:
companyId
- the company ID of this country
-
getUserId
long getUserId()Returns the user ID of this country.- Specified by:
getUserId
in interfaceAuditedModel
- Returns:
- the user ID of this country
-
setUserId
void setUserId(long userId) Sets the user ID of this country.- Specified by:
setUserId
in interfaceAuditedModel
- Parameters:
userId
- the user ID of this country
-
getUserUuid
String getUserUuid()Returns the user uuid of this country.- Specified by:
getUserUuid
in interfaceAuditedModel
- Returns:
- the user uuid of this country
-
setUserUuid
Sets the user uuid of this country.- Specified by:
setUserUuid
in interfaceAuditedModel
- Parameters:
userUuid
- the user uuid of this country
-
getUserName
Returns the user name of this country.- Specified by:
getUserName
in interfaceAuditedModel
- Returns:
- the user name of this country
-
setUserName
Sets the user name of this country.- Specified by:
setUserName
in interfaceAuditedModel
- Parameters:
userName
- the user name of this country
-
getCreateDate
Date getCreateDate()Returns the create date of this country.- Specified by:
getCreateDate
in interfaceAuditedModel
- Specified by:
getCreateDate
in interfaceStagedModel
- Returns:
- the create date of this country
-
setCreateDate
Sets the create date of this country.- Specified by:
setCreateDate
in interfaceAuditedModel
- Specified by:
setCreateDate
in interfaceStagedModel
- Parameters:
createDate
- the create date of this country
-
getModifiedDate
Date getModifiedDate()Returns the modified date of this country.- Specified by:
getModifiedDate
in interfaceAuditedModel
- Specified by:
getModifiedDate
in interfaceStagedModel
- Returns:
- the modified date of this country
-
setModifiedDate
Sets the modified date of this country.- Specified by:
setModifiedDate
in interfaceAuditedModel
- Specified by:
setModifiedDate
in interfaceStagedModel
- Parameters:
modifiedDate
- the modified date of this country
-
getA2
Returns the a2 of this country.- Returns:
- the a2 of this country
-
setA2
Sets the a2 of this country.- Parameters:
a2
- the a2 of this country
-
getA3
Returns the a3 of this country.- Returns:
- the a3 of this country
-
setA3
Sets the a3 of this country.- Parameters:
a3
- the a3 of this country
-
getActive
boolean getActive()Returns the active of this country.- Returns:
- the active of this country
-
isActive
boolean isActive()Returnstrue
if this country is active.- Returns:
true
if this country is active;false
otherwise
-
setActive
void setActive(boolean active) Sets whether this country is active.- Parameters:
active
- the active of this country
-
getBillingAllowed
boolean getBillingAllowed()Returns the billing allowed of this country.- Returns:
- the billing allowed of this country
-
isBillingAllowed
boolean isBillingAllowed()Returnstrue
if this country is billing allowed.- Returns:
true
if this country is billing allowed;false
otherwise
-
setBillingAllowed
void setBillingAllowed(boolean billingAllowed) Sets whether this country is billing allowed.- Parameters:
billingAllowed
- the billing allowed of this country
-
getGroupFilterEnabled
boolean getGroupFilterEnabled()Returns the group filter enabled of this country.- Returns:
- the group filter enabled of this country
-
isGroupFilterEnabled
boolean isGroupFilterEnabled()Returnstrue
if this country is group filter enabled.- Returns:
true
if this country is group filter enabled;false
otherwise
-
setGroupFilterEnabled
void setGroupFilterEnabled(boolean groupFilterEnabled) Sets whether this country is group filter enabled.- Parameters:
groupFilterEnabled
- the group filter enabled of this country
-
getIdd
Returns the idd of this country.- Returns:
- the idd of this country
-
setIdd
Sets the idd of this country.- Parameters:
idd
- the idd of this country
-
getName
Returns the name of this country.- Returns:
- the name of this country
-
setName
Sets the name of this country.- Parameters:
name
- the name of this country
-
getNumber
Returns the number of this country.- Returns:
- the number of this country
-
setNumber
Sets the number of this country.- Parameters:
number
- the number of this country
-
getPosition
double getPosition()Returns the position of this country.- Returns:
- the position of this country
-
setPosition
void setPosition(double position) Sets the position of this country.- Parameters:
position
- the position of this country
-
getShippingAllowed
boolean getShippingAllowed()Returns the shipping allowed of this country.- Returns:
- the shipping allowed of this country
-
isShippingAllowed
boolean isShippingAllowed()Returnstrue
if this country is shipping allowed.- Returns:
true
if this country is shipping allowed;false
otherwise
-
setShippingAllowed
void setShippingAllowed(boolean shippingAllowed) Sets whether this country is shipping allowed.- Parameters:
shippingAllowed
- the shipping allowed of this country
-
getSubjectToVAT
boolean getSubjectToVAT()Returns the subject to vat of this country.- Returns:
- the subject to vat of this country
-
isSubjectToVAT
boolean isSubjectToVAT()Returnstrue
if this country is subject to vat.- Returns:
true
if this country is subject to vat;false
otherwise
-
setSubjectToVAT
void setSubjectToVAT(boolean subjectToVAT) Sets whether this country is subject to vat.- Parameters:
subjectToVAT
- the subject to vat of this country
-
getZipRequired
boolean getZipRequired()Returns the zip required of this country.- Returns:
- the zip required of this country
-
isZipRequired
boolean isZipRequired()Returnstrue
if this country is zip required.- Returns:
true
if this country is zip required;false
otherwise
-
setZipRequired
void setZipRequired(boolean zipRequired) Sets whether this country is zip required.- Parameters:
zipRequired
- the zip required of this country
-
getLastPublishDate
Date getLastPublishDate()Returns the last publish date of this country.- Returns:
- the last publish date of this country
-
setLastPublishDate
Sets the last publish date of this country.- Parameters:
lastPublishDate
- the last publish date of this country
-
getAvailableLanguageIds
String[] getAvailableLanguageIds() -
getTitle
String getTitle() -
getTitle
-
getTitle
-
getTitleMapAsXML
String getTitleMapAsXML() -
getLanguageIdToTitleMap
-
cloneWithOriginalValues
Country cloneWithOriginalValues()- Specified by:
cloneWithOriginalValues
in interfaceBaseModel<Country>
-
toXmlString
-