@JSON(strict=true)
@ProviderType
public class CountryModelImpl
extends com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portal.model.Country>
implements com.liferay.portal.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,
Country,
CountryModel,
Serialized Form| Modifier and Type | Field and Description |
|---|---|
static long |
A2_COLUMN_BITMASK |
static long |
A3_COLUMN_BITMASK |
static long |
ACTIVE_COLUMN_BITMASK |
static boolean |
COLUMN_BITMASK_ENABLED |
static java.lang.String |
DATA_SOURCE |
static boolean |
ENTITY_CACHE_ENABLED |
static boolean |
FINDER_CACHE_ENABLED |
static long |
LOCK_EXPIRATION_TIME |
static long |
NAME_COLUMN_BITMASK |
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.model.Country country) |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getA2() |
java.lang.String |
getA3() |
boolean |
getActive() |
long |
getColumnBitmask() |
long |
getCountryId() |
com.liferay.portlet.expando.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() |
java.lang.String |
getOriginalA3() |
boolean |
getOriginalActive() |
java.lang.String |
getOriginalName() |
long |
getPrimaryKey() |
java.io.Serializable |
getPrimaryKeyObj() |
boolean |
getZipRequired() |
int |
hashCode() |
boolean |
isActive() |
boolean |
isEntityCacheEnabled() |
boolean |
isFinderCacheEnabled() |
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.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.model.CacheModel<com.liferay.portal.model.Country> |
toCacheModel() |
com.liferay.portal.model.Country |
toEscapedModel() |
static com.liferay.portal.model.Country |
toModel(com.liferay.portal.model.CountrySoap soapModel)
Converts the soap model instance into a normal model instance.
|
static java.util.List<com.liferay.portal.model.Country> |
toModels(com.liferay.portal.model.CountrySoap[] soapModels)
Converts the soap model instances into normal model instances.
|
java.lang.String |
toString() |
java.lang.String |
toXmlString() |
getLocale, isCachedModel, isEscapedModel, isNew, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, toUnescapedModelpublic 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
public static final boolean ENTITY_CACHE_ENABLED
public static final boolean FINDER_CACHE_ENABLED
public static final boolean COLUMN_BITMASK_ENABLED
public static final long A2_COLUMN_BITMASK
public static final long A3_COLUMN_BITMASK
public static final long ACTIVE_COLUMN_BITMASK
public static final long NAME_COLUMN_BITMASK
public static final long LOCK_EXPIRATION_TIME
public static com.liferay.portal.model.Country toModel(com.liferay.portal.model.CountrySoap soapModel)
soapModel - the soap model instance to convertpublic static java.util.List<com.liferay.portal.model.Country> toModels(com.liferay.portal.model.CountrySoap[] soapModels)
soapModels - the soap model instances to convertpublic long getPrimaryKey()
getPrimaryKey in interface com.liferay.portal.model.CountryModelpublic void setPrimaryKey(long primaryKey)
setPrimaryKey in interface com.liferay.portal.model.CountryModelpublic java.io.Serializable getPrimaryKeyObj()
getPrimaryKeyObj in interface com.liferay.portal.model.BaseModel<com.liferay.portal.model.Country>getPrimaryKeyObj in interface com.liferay.portal.model.ClassedModelgetPrimaryKeyObj in interface com.liferay.portal.model.CountryModelpublic void setPrimaryKeyObj(java.io.Serializable primaryKeyObj)
setPrimaryKeyObj in interface com.liferay.portal.model.BaseModel<com.liferay.portal.model.Country>setPrimaryKeyObj in interface com.liferay.portal.model.ClassedModelsetPrimaryKeyObj in interface com.liferay.portal.model.CountryModelpublic java.lang.Class<?> getModelClass()
getModelClass in interface com.liferay.portal.model.ClassedModelpublic java.lang.String getModelClassName()
getModelClassName in interface com.liferay.portal.model.ClassedModelpublic java.util.Map<java.lang.String,java.lang.Object> getModelAttributes()
getModelAttributes in interface com.liferay.portal.model.BaseModel<com.liferay.portal.model.Country>getModelAttributes in class com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portal.model.Country>public void setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes)
setModelAttributes in interface com.liferay.portal.model.BaseModel<com.liferay.portal.model.Country>setModelAttributes in class com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portal.model.Country>@JSON public long getMvccVersion()
getMvccVersion in interface com.liferay.portal.model.CountryModelgetMvccVersion in interface com.liferay.portal.model.MVCCModelpublic void setMvccVersion(long mvccVersion)
setMvccVersion in interface com.liferay.portal.model.CountryModelsetMvccVersion in interface com.liferay.portal.model.MVCCModel@JSON public long getCountryId()
getCountryId in interface com.liferay.portal.model.CountryModelpublic void setCountryId(long countryId)
setCountryId in interface com.liferay.portal.model.CountryModel@JSON public java.lang.String getName()
getName in interface com.liferay.portal.model.CountryModelpublic void setName(java.lang.String name)
setName in interface com.liferay.portal.model.CountryModelpublic java.lang.String getOriginalName()
@JSON public java.lang.String getA2()
getA2 in interface com.liferay.portal.model.CountryModelpublic void setA2(java.lang.String a2)
setA2 in interface com.liferay.portal.model.CountryModelpublic java.lang.String getOriginalA2()
@JSON public java.lang.String getA3()
getA3 in interface com.liferay.portal.model.CountryModelpublic void setA3(java.lang.String a3)
setA3 in interface com.liferay.portal.model.CountryModelpublic java.lang.String getOriginalA3()
@JSON public java.lang.String getNumber()
getNumber in interface com.liferay.portal.model.CountryModelpublic void setNumber(java.lang.String number)
setNumber in interface com.liferay.portal.model.CountryModel@JSON public java.lang.String getIdd()
getIdd in interface com.liferay.portal.model.CountryModelpublic void setIdd(java.lang.String idd)
setIdd in interface com.liferay.portal.model.CountryModel@JSON public boolean getZipRequired()
getZipRequired in interface com.liferay.portal.model.CountryModelpublic boolean isZipRequired()
isZipRequired in interface com.liferay.portal.model.CountryModelpublic void setZipRequired(boolean zipRequired)
setZipRequired in interface com.liferay.portal.model.CountryModel@JSON public boolean getActive()
getActive in interface com.liferay.portal.model.CountryModelpublic boolean isActive()
isActive in interface com.liferay.portal.model.CountryModelpublic void setActive(boolean active)
setActive in interface com.liferay.portal.model.CountryModelpublic boolean getOriginalActive()
public long getColumnBitmask()
public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge()
getExpandoBridge in interface com.liferay.portal.model.BaseModel<com.liferay.portal.model.Country>getExpandoBridge in interface com.liferay.portal.model.ClassedModelgetExpandoBridge in interface com.liferay.portal.model.CountryModelgetExpandoBridge in class com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portal.model.Country>public void setExpandoBridgeAttributes(com.liferay.portal.service.ServiceContext serviceContext)
setExpandoBridgeAttributes in interface com.liferay.portal.model.BaseModel<com.liferay.portal.model.Country>setExpandoBridgeAttributes in interface com.liferay.portal.model.CountryModelsetExpandoBridgeAttributes in class com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portal.model.Country>public com.liferay.portal.model.Country toEscapedModel()
toEscapedModel in interface com.liferay.portal.model.BaseModel<com.liferay.portal.model.Country>toEscapedModel in interface com.liferay.portal.model.CountryModeltoEscapedModel in class com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portal.model.Country>public java.lang.Object clone()
clone in interface com.liferay.portal.model.BaseModel<com.liferay.portal.model.Country>clone in interface com.liferay.portal.model.CountryModelclone in class com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portal.model.Country>public int compareTo(com.liferay.portal.model.Country country)
compareTo in interface com.liferay.portal.model.CountryModelcompareTo in interface java.lang.Comparable<com.liferay.portal.model.Country>public boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int hashCode()
hashCode in interface com.liferay.portal.model.CountryModelhashCode in class java.lang.Objectpublic boolean isEntityCacheEnabled()
isEntityCacheEnabled in interface com.liferay.portal.model.BaseModel<com.liferay.portal.model.Country>public boolean isFinderCacheEnabled()
isFinderCacheEnabled in interface com.liferay.portal.model.BaseModel<com.liferay.portal.model.Country>public void resetOriginalValues()
resetOriginalValues in interface com.liferay.portal.model.BaseModel<com.liferay.portal.model.Country>resetOriginalValues in class com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portal.model.Country>public com.liferay.portal.model.CacheModel<com.liferay.portal.model.Country> toCacheModel()
toCacheModel in interface com.liferay.portal.model.BaseModel<com.liferay.portal.model.Country>toCacheModel in interface com.liferay.portal.model.CountryModeltoCacheModel in class com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portal.model.Country>public java.lang.String toString()
toString in interface com.liferay.portal.model.CountryModeltoString in class java.lang.Objectpublic java.lang.String toXmlString()
toXmlString in interface com.liferay.portal.model.BaseModel<com.liferay.portal.model.Country>toXmlString in interface com.liferay.portal.model.CountryModel