@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 FormModifier and Type | Field and Description |
---|---|
static long |
A2_COLUMN_BITMASK
Deprecated.
As of Athanasius (7.3.x), replaced by {@link #getColumnBitmask(String)
|
static long |
A3_COLUMN_BITMASK
Deprecated.
As of Athanasius (7.3.x), replaced by {@link #getColumnBitmask(String)
|
static long |
ACTIVE_COLUMN_BITMASK
Deprecated.
As of Athanasius (7.3.x), replaced by {@link #getColumnBitmask(String)
|
static boolean |
COLUMN_BITMASK_ENABLED
Deprecated.
As of Athanasius (7.3.x), with no direct replacement
|
static java.lang.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 {@link #getColumnBitmask(String)
|
static java.lang.String |
ORDER_BY_JPQL |
static java.lang.String |
ORDER_BY_SQL |
static java.lang.String |
SESSION_FACTORY |
static java.lang.Object[][] |
TABLE_COLUMNS |
static java.util.Map<java.lang.String,java.lang.Integer> |
TABLE_COLUMNS_MAP |
static java.lang.String |
TABLE_NAME |
static java.lang.String |
TABLE_SQL_CREATE |
static java.lang.String |
TABLE_SQL_DROP |
static java.lang.String |
TX_MANAGER |
Constructor and Description |
---|
CountryModelImpl() |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
clone() |
int |
compareTo(com.liferay.portal.kernel.model.Country country) |
boolean |
equals(java.lang.Object object) |
java.lang.String |
getA2() |
java.lang.String |
getA3() |
boolean |
getActive() |
java.util.Map<java.lang.String,java.util.function.Function<com.liferay.portal.kernel.model.Country,java.lang.Object>> |
getAttributeGetterFunctions() |
java.util.Map<java.lang.String,java.util.function.BiConsumer<com.liferay.portal.kernel.model.Country,java.lang.Object>> |
getAttributeSetterBiConsumers() |
long |
getColumnBitmask() |
static long |
getColumnBitmask(java.lang.String columnName) |
<T> T |
getColumnOriginalValue(java.lang.String columnName) |
<T> T |
getColumnValue(java.lang.String columnName) |
long |
getCountryId() |
com.liferay.expando.kernel.model.ExpandoBridge |
getExpandoBridge() |
java.lang.String |
getIdd() |
java.util.Map<java.lang.String,java.lang.Object> |
getModelAttributes() |
java.lang.Class<?> |
getModelClass() |
java.lang.String |
getModelClassName() |
long |
getMvccVersion() |
java.lang.String |
getName() |
java.lang.String |
getNumber() |
java.lang.String |
getOriginalA2()
Deprecated.
As of Athanasius (7.3.x), replaced by
getColumnOriginalValue(String) |
java.lang.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) |
java.lang.String |
getOriginalName()
Deprecated.
As of Athanasius (7.3.x), replaced by
getColumnOriginalValue(String) |
long |
getPrimaryKey() |
java.io.Serializable |
getPrimaryKeyObj() |
boolean |
getZipRequired() |
int |
hashCode() |
boolean |
isActive() |
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 |
isZipRequired() |
void |
resetOriginalValues() |
void |
setA2(java.lang.String a2) |
void |
setA3(java.lang.String a3) |
void |
setActive(boolean active) |
void |
setCountryId(long countryId) |
void |
setExpandoBridgeAttributes(com.liferay.portal.kernel.service.ServiceContext serviceContext) |
void |
setIdd(java.lang.String idd) |
void |
setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes) |
void |
setMvccVersion(long mvccVersion) |
void |
setName(java.lang.String name) |
void |
setNumber(java.lang.String number) |
void |
setPrimaryKey(long primaryKey) |
void |
setPrimaryKeyObj(java.io.Serializable primaryKeyObj) |
void |
setZipRequired(boolean zipRequired) |
com.liferay.portal.kernel.model.CacheModel<com.liferay.portal.kernel.model.Country> |
toCacheModel() |
com.liferay.portal.kernel.model.Country |
toEscapedModel() |
static com.liferay.portal.kernel.model.Country |
toModel(com.liferay.portal.kernel.model.CountrySoap soapModel)
Deprecated.
As of Athanasius (7.3.x), with no direct replacement
|
static java.util.List<com.liferay.portal.kernel.model.Country> |
toModels(com.liferay.portal.kernel.model.CountrySoap[] soapModels)
Deprecated.
As of Athanasius (7.3.x), with no direct replacement
|
java.lang.String |
toString() |
java.lang.String |
toXmlString() |
getLocale, isCachedModel, isEscapedModel, isNew, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, toUnescapedModel
public static final java.lang.String TABLE_NAME
public static final java.lang.Object[][] TABLE_COLUMNS
public static final java.util.Map<java.lang.String,java.lang.Integer> TABLE_COLUMNS_MAP
public static final java.lang.String TABLE_SQL_CREATE
public static final java.lang.String TABLE_SQL_DROP
public static final java.lang.String ORDER_BY_JPQL
public static final java.lang.String ORDER_BY_SQL
public static final java.lang.String DATA_SOURCE
public static final java.lang.String SESSION_FACTORY
public static final java.lang.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
@Deprecated public static final long A3_COLUMN_BITMASK
@Deprecated public static final long ACTIVE_COLUMN_BITMASK
@Deprecated public static final long NAME_COLUMN_BITMASK
public static final long LOCK_EXPIRATION_TIME
@Deprecated public static com.liferay.portal.kernel.model.Country toModel(com.liferay.portal.kernel.model.CountrySoap soapModel)
soapModel
- the soap model instance to convert@Deprecated public static java.util.List<com.liferay.portal.kernel.model.Country> toModels(com.liferay.portal.kernel.model.CountrySoap[] soapModels)
soapModels
- the soap model instances to convertpublic long getPrimaryKey()
getPrimaryKey
in interface com.liferay.portal.kernel.model.CountryModel
public void setPrimaryKey(long primaryKey)
setPrimaryKey
in interface com.liferay.portal.kernel.model.CountryModel
public java.io.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.ClassedModel
public void setPrimaryKeyObj(java.io.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.ClassedModel
public java.lang.Class<?> getModelClass()
getModelClass
in interface com.liferay.portal.kernel.model.ClassedModel
public java.lang.String getModelClassName()
getModelClassName
in interface com.liferay.portal.kernel.model.ClassedModel
public java.util.Map<java.lang.String,java.lang.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(java.util.Map<java.lang.String,java.lang.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 java.util.Map<java.lang.String,java.util.function.Function<com.liferay.portal.kernel.model.Country,java.lang.Object>> getAttributeGetterFunctions()
getAttributeGetterFunctions
in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.Country>
public java.util.Map<java.lang.String,java.util.function.BiConsumer<com.liferay.portal.kernel.model.Country,java.lang.Object>> getAttributeSetterBiConsumers()
getAttributeSetterBiConsumers
in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.Country>
@JSON public long getMvccVersion()
getMvccVersion
in interface com.liferay.portal.kernel.model.CountryModel
getMvccVersion
in interface com.liferay.portal.kernel.model.MVCCModel
public void setMvccVersion(long mvccVersion)
setMvccVersion
in interface com.liferay.portal.kernel.model.CountryModel
setMvccVersion
in interface com.liferay.portal.kernel.model.MVCCModel
@JSON public long getCountryId()
getCountryId
in interface com.liferay.portal.kernel.model.CountryModel
public void setCountryId(long countryId)
setCountryId
in interface com.liferay.portal.kernel.model.CountryModel
@JSON public java.lang.String getName()
getName
in interface com.liferay.portal.kernel.model.CountryModel
public void setName(java.lang.String name)
setName
in interface com.liferay.portal.kernel.model.CountryModel
@Deprecated public java.lang.String getOriginalName()
getColumnOriginalValue(String)
@JSON public java.lang.String getA2()
getA2
in interface com.liferay.portal.kernel.model.CountryModel
public void setA2(java.lang.String a2)
setA2
in interface com.liferay.portal.kernel.model.CountryModel
@Deprecated public java.lang.String getOriginalA2()
getColumnOriginalValue(String)
@JSON public java.lang.String getA3()
getA3
in interface com.liferay.portal.kernel.model.CountryModel
public void setA3(java.lang.String a3)
setA3
in interface com.liferay.portal.kernel.model.CountryModel
@Deprecated public java.lang.String getOriginalA3()
getColumnOriginalValue(String)
@JSON public java.lang.String getNumber()
getNumber
in interface com.liferay.portal.kernel.model.CountryModel
public void setNumber(java.lang.String number)
setNumber
in interface com.liferay.portal.kernel.model.CountryModel
@JSON public java.lang.String getIdd()
getIdd
in interface com.liferay.portal.kernel.model.CountryModel
public void setIdd(java.lang.String idd)
setIdd
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.CountryModel
public void setZipRequired(boolean zipRequired)
setZipRequired
in interface com.liferay.portal.kernel.model.CountryModel
@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.CountryModel
public void setActive(boolean active)
setActive
in interface com.liferay.portal.kernel.model.CountryModel
@Deprecated public boolean getOriginalActive()
getColumnOriginalValue(String)
public 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.ClassedModel
getExpandoBridge
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 java.lang.Object clone()
clone
in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.Country>
clone
in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.Country>
public int compareTo(com.liferay.portal.kernel.model.Country country)
compareTo
in interface java.lang.Comparable<com.liferay.portal.kernel.model.Country>
public boolean equals(java.lang.Object object)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.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 java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String toXmlString()
toXmlString
in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.Country>
public <T> T getColumnValue(java.lang.String columnName)
public <T> T getColumnOriginalValue(java.lang.String columnName)
public static long getColumnBitmask(java.lang.String columnName)