@JSON(strict=true)
public class CountryModelImpl
extends com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.Country>
implements com.liferay.portal.kernel.model.CountryModel
This implementation and its corresponding interface CountryModel exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in CountryImpl.
CountryImpl,
Serialized Form| Modifier and Type | Field and Description |
|---|---|
static long |
A2_COLUMN_BITMASK
Deprecated.
As of Athanasius (7.3.x), replaced by
getColumnBitmask(String) |
static long |
A3_COLUMN_BITMASK
Deprecated.
As of Athanasius (7.3.x), replaced by
getColumnBitmask(String) |
static long |
ACTIVE_COLUMN_BITMASK
Deprecated.
As of Athanasius (7.3.x), replaced by
getColumnBitmask(String) |
static long |
BILLINGALLOWED_COLUMN_BITMASK
Deprecated.
As of Athanasius (7.3.x), replaced by
getColumnBitmask(String) |
static boolean |
COLUMN_BITMASK_ENABLED
Deprecated.
As of Athanasius (7.3.x), with no direct replacement
|
static long |
COMPANYID_COLUMN_BITMASK
Deprecated.
As of Athanasius (7.3.x), replaced by
getColumnBitmask(String) |
static String |
DATA_SOURCE |
static boolean |
ENTITY_CACHE_ENABLED
Deprecated.
As of Athanasius (7.3.x), with no direct replacement
|
static boolean |
FINDER_CACHE_ENABLED
Deprecated.
As of Athanasius (7.3.x), with no direct replacement
|
static long |
LOCK_EXPIRATION_TIME |
static long |
NAME_COLUMN_BITMASK
Deprecated.
As of Athanasius (7.3.x), replaced by
getColumnBitmask(String) |
static long |
NUMBER_COLUMN_BITMASK
Deprecated.
As of Athanasius (7.3.x), replaced by
getColumnBitmask(String) |
static String |
ORDER_BY_JPQL |
static String |
ORDER_BY_SQL |
static String |
SESSION_FACTORY |
static long |
SHIPPINGALLOWED_COLUMN_BITMASK
Deprecated.
As of Athanasius (7.3.x), replaced by
getColumnBitmask(String) |
static Object[][] |
TABLE_COLUMNS |
static Map<String,Integer> |
TABLE_COLUMNS_MAP |
static String |
TABLE_NAME |
static String |
TABLE_SQL_CREATE |
static String |
TABLE_SQL_DROP |
static String |
TX_MANAGER |
static long |
UUID_COLUMN_BITMASK
Deprecated.
As of Athanasius (7.3.x), replaced by
getColumnBitmask(String) |
| Constructor and Description |
|---|
CountryModelImpl() |
| Modifier and Type | Method and Description |
|---|---|
Object |
clone() |
com.liferay.portal.kernel.model.Country |
cloneWithOriginalValues() |
int |
compareTo(com.liferay.portal.kernel.model.Country country) |
boolean |
equals(Object object) |
String |
getA2() |
String |
getA3() |
boolean |
getActive() |
Map<String,Function<com.liferay.portal.kernel.model.Country,Object>> |
getAttributeGetterFunctions() |
Map<String,BiConsumer<com.liferay.portal.kernel.model.Country,Object>> |
getAttributeSetterBiConsumers() |
String[] |
getAvailableLanguageIds() |
boolean |
getBillingAllowed() |
long |
getColumnBitmask() |
static long |
getColumnBitmask(String columnName) |
<T> T |
getColumnOriginalValue(String columnName) |
<T> T |
getColumnValue(String columnName) |
long |
getCompanyId() |
long |
getCountryId() |
Date |
getCreateDate() |
String |
getDefaultLanguageId() |
com.liferay.expando.kernel.model.ExpandoBridge |
getExpandoBridge() |
boolean |
getGroupFilterEnabled() |
String |
getIdd() |
Map<String,String> |
getLanguageIdToTitleMap() |
Date |
getLastPublishDate() |
Map<String,Object> |
getModelAttributes() |
Class<?> |
getModelClass() |
String |
getModelClassName() |
Date |
getModifiedDate() |
long |
getMvccVersion() |
String |
getName() |
String |
getNumber() |
String |
getOriginalA2()
Deprecated.
As of Athanasius (7.3.x), replaced by
getColumnOriginalValue(String) |
String |
getOriginalA3()
Deprecated.
As of Athanasius (7.3.x), replaced by
getColumnOriginalValue(String) |
boolean |
getOriginalActive()
Deprecated.
As of Athanasius (7.3.x), replaced by
getColumnOriginalValue(String) |
boolean |
getOriginalBillingAllowed()
Deprecated.
As of Athanasius (7.3.x), replaced by
getColumnOriginalValue(String) |
long |
getOriginalCompanyId()
Deprecated.
As of Athanasius (7.3.x), replaced by
getColumnOriginalValue(String) |
String |
getOriginalName()
Deprecated.
As of Athanasius (7.3.x), replaced by
getColumnOriginalValue(String) |
String |
getOriginalNumber()
Deprecated.
As of Athanasius (7.3.x), replaced by
getColumnOriginalValue(String) |
boolean |
getOriginalShippingAllowed()
Deprecated.
As of Athanasius (7.3.x), replaced by
getColumnOriginalValue(String) |
String |
getOriginalUuid()
Deprecated.
As of Athanasius (7.3.x), replaced by
getColumnOriginalValue(String) |
double |
getPosition() |
long |
getPrimaryKey() |
Serializable |
getPrimaryKeyObj() |
boolean |
getShippingAllowed() |
com.liferay.exportimport.kernel.lar.StagedModelType |
getStagedModelType() |
boolean |
getSubjectToVAT() |
String |
getTitle() |
String |
getTitle(String languageId) |
String |
getTitle(String languageId,
boolean useDefault) |
String |
getTitleMapAsXML() |
long |
getUserId() |
String |
getUserName() |
String |
getUserUuid() |
String |
getUuid() |
boolean |
getZipRequired() |
int |
hashCode() |
boolean |
hasSetModifiedDate() |
boolean |
isActive() |
boolean |
isBillingAllowed() |
boolean |
isEntityCacheEnabled()
Deprecated.
As of Athanasius (7.3.x), with no direct replacement
|
boolean |
isFinderCacheEnabled()
Deprecated.
As of Athanasius (7.3.x), with no direct replacement
|
boolean |
isGroupFilterEnabled() |
boolean |
isShippingAllowed() |
boolean |
isSubjectToVAT() |
boolean |
isZipRequired() |
void |
resetOriginalValues() |
void |
setA2(String a2) |
void |
setA3(String a3) |
void |
setActive(boolean active) |
void |
setBillingAllowed(boolean billingAllowed) |
void |
setCompanyId(long companyId) |
void |
setCountryId(long countryId) |
void |
setCreateDate(Date createDate) |
void |
setDefaultLanguageId(String defaultLanguageId) |
void |
setExpandoBridgeAttributes(com.liferay.portal.kernel.service.ServiceContext serviceContext) |
void |
setGroupFilterEnabled(boolean groupFilterEnabled) |
void |
setIdd(String idd) |
void |
setLastPublishDate(Date lastPublishDate) |
void |
setModelAttributes(Map<String,Object> attributes) |
void |
setModifiedDate(Date modifiedDate) |
void |
setMvccVersion(long mvccVersion) |
void |
setName(String name) |
void |
setNumber(String number) |
void |
setPosition(double position) |
void |
setPrimaryKey(long primaryKey) |
void |
setPrimaryKeyObj(Serializable primaryKeyObj) |
void |
setShippingAllowed(boolean shippingAllowed) |
void |
setSubjectToVAT(boolean subjectToVAT) |
void |
setUserId(long userId) |
void |
setUserName(String userName) |
void |
setUserUuid(String userUuid) |
void |
setUuid(String uuid) |
void |
setZipRequired(boolean zipRequired) |
com.liferay.portal.kernel.model.CacheModel<com.liferay.portal.kernel.model.Country> |
toCacheModel() |
com.liferay.portal.kernel.model.Country |
toEscapedModel() |
String |
toString() |
String |
toXmlString() |
public static final String TABLE_NAME
public static final Object[][] TABLE_COLUMNS
public static final Map<String,Integer> TABLE_COLUMNS_MAP
public static final String TABLE_SQL_CREATE
public static final String TABLE_SQL_DROP
public static final String ORDER_BY_JPQL
public static final String ORDER_BY_SQL
public static final String DATA_SOURCE
public static final String SESSION_FACTORY
public static final String TX_MANAGER
@Deprecated public static final boolean ENTITY_CACHE_ENABLED
@Deprecated public static final boolean FINDER_CACHE_ENABLED
@Deprecated public static final boolean COLUMN_BITMASK_ENABLED
@Deprecated public static final long A2_COLUMN_BITMASK
getColumnBitmask(String)@Deprecated public static final long A3_COLUMN_BITMASK
getColumnBitmask(String)@Deprecated public static final long ACTIVE_COLUMN_BITMASK
getColumnBitmask(String)@Deprecated public static final long BILLINGALLOWED_COLUMN_BITMASK
getColumnBitmask(String)@Deprecated public static final long COMPANYID_COLUMN_BITMASK
getColumnBitmask(String)@Deprecated public static final long NAME_COLUMN_BITMASK
getColumnBitmask(String)@Deprecated public static final long NUMBER_COLUMN_BITMASK
getColumnBitmask(String)@Deprecated public static final long SHIPPINGALLOWED_COLUMN_BITMASK
getColumnBitmask(String)@Deprecated public static final long UUID_COLUMN_BITMASK
getColumnBitmask(String)public static final long LOCK_EXPIRATION_TIME
public long getPrimaryKey()
getPrimaryKey in interface com.liferay.portal.kernel.model.CountryModelpublic void setPrimaryKey(long primaryKey)
setPrimaryKey in interface com.liferay.portal.kernel.model.CountryModelpublic Serializable getPrimaryKeyObj()
getPrimaryKeyObj in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.Country>getPrimaryKeyObj in interface com.liferay.portal.kernel.model.ClassedModelpublic void setPrimaryKeyObj(Serializable primaryKeyObj)
setPrimaryKeyObj in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.Country>setPrimaryKeyObj in interface com.liferay.portal.kernel.model.ClassedModelpublic Class<?> getModelClass()
getModelClass in interface com.liferay.portal.kernel.model.ClassedModelpublic String getModelClassName()
getModelClassName in interface com.liferay.portal.kernel.model.ClassedModelpublic Map<String,Object> getModelAttributes()
getModelAttributes in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.Country>getModelAttributes in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.Country>public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.Country>setModelAttributes in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.Country>public Map<String,Function<com.liferay.portal.kernel.model.Country,Object>> getAttributeGetterFunctions()
getAttributeGetterFunctions in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.Country>public Map<String,BiConsumer<com.liferay.portal.kernel.model.Country,Object>> getAttributeSetterBiConsumers()
getAttributeSetterBiConsumers in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.Country>public String[] getAvailableLanguageIds()
getAvailableLanguageIds in interface com.liferay.portal.kernel.model.CountryModelpublic String getTitle()
getTitle in interface com.liferay.portal.kernel.model.CountryModelpublic String getTitle(String languageId)
getTitle in interface com.liferay.portal.kernel.model.CountryModelpublic String getTitle(String languageId,
boolean useDefault)
getTitle in interface com.liferay.portal.kernel.model.CountryModelpublic String getTitleMapAsXML()
getTitleMapAsXML in interface com.liferay.portal.kernel.model.CountryModelpublic Map<String,String> getLanguageIdToTitleMap()
getLanguageIdToTitleMap in interface com.liferay.portal.kernel.model.CountryModel@JSON public long getMvccVersion()
getMvccVersion in interface com.liferay.portal.kernel.model.CountryModelgetMvccVersion in interface com.liferay.portal.kernel.model.MVCCModelpublic void setMvccVersion(long mvccVersion)
setMvccVersion in interface com.liferay.portal.kernel.model.CountryModelsetMvccVersion in interface com.liferay.portal.kernel.model.MVCCModel@JSON public String getUuid()
getUuid in interface com.liferay.portal.kernel.model.CountryModelgetUuid in interface com.liferay.portal.kernel.model.StagedModelpublic void setUuid(String uuid)
setUuid in interface com.liferay.portal.kernel.model.CountryModelsetUuid in interface com.liferay.portal.kernel.model.StagedModel@Deprecated public String getOriginalUuid()
getColumnOriginalValue(String)@JSON public String getDefaultLanguageId()
getDefaultLanguageId in interface com.liferay.portal.kernel.model.CountryModelpublic void setDefaultLanguageId(String defaultLanguageId)
setDefaultLanguageId in interface com.liferay.portal.kernel.model.CountryModel@JSON public long getCountryId()
getCountryId in interface com.liferay.portal.kernel.model.CountryModelpublic void setCountryId(long countryId)
setCountryId in interface com.liferay.portal.kernel.model.CountryModel@JSON public long getCompanyId()
getCompanyId in interface com.liferay.portal.kernel.model.AuditedModelgetCompanyId in interface com.liferay.portal.kernel.model.CountryModelgetCompanyId in interface com.liferay.portal.kernel.model.ShardedModelgetCompanyId in interface com.liferay.portal.kernel.model.StagedModelpublic void setCompanyId(long companyId)
setCompanyId in interface com.liferay.portal.kernel.model.AuditedModelsetCompanyId in interface com.liferay.portal.kernel.model.CountryModelsetCompanyId in interface com.liferay.portal.kernel.model.ShardedModelsetCompanyId in interface com.liferay.portal.kernel.model.StagedModel@Deprecated public long getOriginalCompanyId()
getColumnOriginalValue(String)@JSON public long getUserId()
getUserId in interface com.liferay.portal.kernel.model.AuditedModelgetUserId in interface com.liferay.portal.kernel.model.CountryModelpublic void setUserId(long userId)
setUserId in interface com.liferay.portal.kernel.model.AuditedModelsetUserId in interface com.liferay.portal.kernel.model.CountryModelpublic String getUserUuid()
getUserUuid in interface com.liferay.portal.kernel.model.AuditedModelgetUserUuid in interface com.liferay.portal.kernel.model.CountryModelpublic void setUserUuid(String userUuid)
setUserUuid in interface com.liferay.portal.kernel.model.AuditedModelsetUserUuid in interface com.liferay.portal.kernel.model.CountryModel@JSON public String getUserName()
getUserName in interface com.liferay.portal.kernel.model.AuditedModelgetUserName in interface com.liferay.portal.kernel.model.CountryModelpublic void setUserName(String userName)
setUserName in interface com.liferay.portal.kernel.model.AuditedModelsetUserName in interface com.liferay.portal.kernel.model.CountryModel@JSON public Date getCreateDate()
getCreateDate in interface com.liferay.portal.kernel.model.AuditedModelgetCreateDate in interface com.liferay.portal.kernel.model.CountryModelgetCreateDate in interface com.liferay.portal.kernel.model.StagedModelpublic void setCreateDate(Date createDate)
setCreateDate in interface com.liferay.portal.kernel.model.AuditedModelsetCreateDate in interface com.liferay.portal.kernel.model.CountryModelsetCreateDate in interface com.liferay.portal.kernel.model.StagedModel@JSON public Date getModifiedDate()
getModifiedDate in interface com.liferay.portal.kernel.model.AuditedModelgetModifiedDate in interface com.liferay.portal.kernel.model.CountryModelgetModifiedDate in interface com.liferay.portal.kernel.model.StagedModelpublic boolean hasSetModifiedDate()
public void setModifiedDate(Date modifiedDate)
setModifiedDate in interface com.liferay.portal.kernel.model.AuditedModelsetModifiedDate in interface com.liferay.portal.kernel.model.CountryModelsetModifiedDate in interface com.liferay.portal.kernel.model.StagedModel@JSON public String getA2()
getA2 in interface com.liferay.portal.kernel.model.CountryModelpublic void setA2(String a2)
setA2 in interface com.liferay.portal.kernel.model.CountryModel@Deprecated public String getOriginalA2()
getColumnOriginalValue(String)@JSON public String getA3()
getA3 in interface com.liferay.portal.kernel.model.CountryModelpublic void setA3(String a3)
setA3 in interface com.liferay.portal.kernel.model.CountryModel@Deprecated public String getOriginalA3()
getColumnOriginalValue(String)@JSON public boolean getActive()
getActive in interface com.liferay.portal.kernel.model.CountryModel@JSON public boolean isActive()
isActive in interface com.liferay.portal.kernel.model.CountryModelpublic void setActive(boolean active)
setActive in interface com.liferay.portal.kernel.model.CountryModel@Deprecated public boolean getOriginalActive()
getColumnOriginalValue(String)@JSON public boolean getBillingAllowed()
getBillingAllowed in interface com.liferay.portal.kernel.model.CountryModel@JSON public boolean isBillingAllowed()
isBillingAllowed in interface com.liferay.portal.kernel.model.CountryModelpublic void setBillingAllowed(boolean billingAllowed)
setBillingAllowed in interface com.liferay.portal.kernel.model.CountryModel@Deprecated public boolean getOriginalBillingAllowed()
getColumnOriginalValue(String)@JSON public boolean getGroupFilterEnabled()
getGroupFilterEnabled in interface com.liferay.portal.kernel.model.CountryModel@JSON public boolean isGroupFilterEnabled()
isGroupFilterEnabled in interface com.liferay.portal.kernel.model.CountryModelpublic void setGroupFilterEnabled(boolean groupFilterEnabled)
setGroupFilterEnabled in interface com.liferay.portal.kernel.model.CountryModel@JSON public String getIdd()
getIdd in interface com.liferay.portal.kernel.model.CountryModelpublic void setIdd(String idd)
setIdd in interface com.liferay.portal.kernel.model.CountryModel@JSON public String getName()
getName in interface com.liferay.portal.kernel.model.CountryModelpublic void setName(String name)
setName in interface com.liferay.portal.kernel.model.CountryModel@Deprecated public String getOriginalName()
getColumnOriginalValue(String)@JSON public String getNumber()
getNumber in interface com.liferay.portal.kernel.model.CountryModelpublic void setNumber(String number)
setNumber in interface com.liferay.portal.kernel.model.CountryModel@Deprecated public String getOriginalNumber()
getColumnOriginalValue(String)@JSON public double getPosition()
getPosition in interface com.liferay.portal.kernel.model.CountryModelpublic void setPosition(double position)
setPosition in interface com.liferay.portal.kernel.model.CountryModel@JSON public boolean getShippingAllowed()
getShippingAllowed in interface com.liferay.portal.kernel.model.CountryModel@JSON public boolean isShippingAllowed()
isShippingAllowed in interface com.liferay.portal.kernel.model.CountryModelpublic void setShippingAllowed(boolean shippingAllowed)
setShippingAllowed in interface com.liferay.portal.kernel.model.CountryModel@Deprecated public boolean getOriginalShippingAllowed()
getColumnOriginalValue(String)@JSON public boolean getSubjectToVAT()
getSubjectToVAT in interface com.liferay.portal.kernel.model.CountryModel@JSON public boolean isSubjectToVAT()
isSubjectToVAT in interface com.liferay.portal.kernel.model.CountryModelpublic void setSubjectToVAT(boolean subjectToVAT)
setSubjectToVAT in interface com.liferay.portal.kernel.model.CountryModel@JSON public boolean getZipRequired()
getZipRequired in interface com.liferay.portal.kernel.model.CountryModel@JSON public boolean isZipRequired()
isZipRequired in interface com.liferay.portal.kernel.model.CountryModelpublic void setZipRequired(boolean zipRequired)
setZipRequired in interface com.liferay.portal.kernel.model.CountryModel@JSON public Date getLastPublishDate()
getLastPublishDate in interface com.liferay.portal.kernel.model.CountryModelpublic void setLastPublishDate(Date lastPublishDate)
setLastPublishDate in interface com.liferay.portal.kernel.model.CountryModelpublic com.liferay.exportimport.kernel.lar.StagedModelType getStagedModelType()
getStagedModelType in interface com.liferay.portal.kernel.model.StagedModelpublic long getColumnBitmask()
public com.liferay.expando.kernel.model.ExpandoBridge getExpandoBridge()
getExpandoBridge in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.Country>getExpandoBridge in interface com.liferay.portal.kernel.model.ClassedModelgetExpandoBridge in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.Country>public void setExpandoBridgeAttributes(com.liferay.portal.kernel.service.ServiceContext serviceContext)
setExpandoBridgeAttributes in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.Country>setExpandoBridgeAttributes in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.Country>public com.liferay.portal.kernel.model.Country toEscapedModel()
toEscapedModel in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.Country>toEscapedModel in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.Country>public Object clone()
clone in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.Country>clone in interface com.liferay.portal.kernel.model.StagedModelclone in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.Country>public com.liferay.portal.kernel.model.Country cloneWithOriginalValues()
cloneWithOriginalValues in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.Country>cloneWithOriginalValues in interface com.liferay.portal.kernel.model.CountryModelpublic int compareTo(com.liferay.portal.kernel.model.Country country)
compareTo in interface Comparable<com.liferay.portal.kernel.model.Country>public boolean equals(Object object)
equals in class Objectpublic int hashCode()
hashCode in class Object@Deprecated public boolean isEntityCacheEnabled()
isEntityCacheEnabled in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.Country>@Deprecated public boolean isFinderCacheEnabled()
isFinderCacheEnabled in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.Country>public void resetOriginalValues()
resetOriginalValues in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.Country>resetOriginalValues in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.Country>public com.liferay.portal.kernel.model.CacheModel<com.liferay.portal.kernel.model.Country> toCacheModel()
toCacheModel in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.Country>toCacheModel in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.Country>public String toString()
toString in class Objectpublic String toXmlString()
toXmlString in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.Country>public <T> T getColumnValue(String columnName)
public <T> T getColumnOriginalValue(String columnName)
public static long getColumnBitmask(String columnName)