@JSON(strict=true)
@ProviderType
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,
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 String |
DATA_SOURCE |
static boolean |
ENTITY_CACHE_ENABLED |
static boolean |
FINDER_CACHE_ENABLED |
static long |
LOCK_EXPIRATION_TIME |
static long |
NAME_COLUMN_BITMASK |
static String |
ORDER_BY_JPQL |
static String |
ORDER_BY_SQL |
static String |
SESSION_FACTORY |
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 |
| Constructor and Description |
|---|
CountryModelImpl() |
| Modifier and Type | Method and Description |
|---|---|
Object |
clone() |
int |
compareTo(com.liferay.portal.kernel.model.Country country) |
boolean |
equals(Object obj) |
String |
getA2() |
String |
getA3() |
boolean |
getActive() |
long |
getColumnBitmask() |
long |
getCountryId() |
com.liferay.expando.kernel.model.ExpandoBridge |
getExpandoBridge() |
String |
getIdd() |
Map<String,Object> |
getModelAttributes() |
Class<?> |
getModelClass() |
String |
getModelClassName() |
long |
getMvccVersion() |
String |
getName() |
String |
getNumber() |
String |
getOriginalA2() |
String |
getOriginalA3() |
boolean |
getOriginalActive() |
String |
getOriginalName() |
long |
getPrimaryKey() |
Serializable |
getPrimaryKeyObj() |
boolean |
getZipRequired() |
int |
hashCode() |
boolean |
isActive() |
boolean |
isEntityCacheEnabled() |
boolean |
isFinderCacheEnabled() |
boolean |
isZipRequired() |
void |
resetOriginalValues() |
void |
setA2(String a2) |
void |
setA3(String a3) |
void |
setActive(boolean active) |
void |
setCountryId(long countryId) |
void |
setExpandoBridgeAttributes(com.liferay.portal.kernel.service.ServiceContext serviceContext) |
void |
setIdd(String idd) |
void |
setModelAttributes(Map<String,Object> attributes) |
void |
setMvccVersion(long mvccVersion) |
void |
setName(String name) |
void |
setNumber(String number) |
void |
setPrimaryKey(long primaryKey) |
void |
setPrimaryKeyObj(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)
Converts the soap model instance into a normal model instance.
|
static List<com.liferay.portal.kernel.model.Country> |
toModels(com.liferay.portal.kernel.model.CountrySoap[] soapModels)
Converts the soap model instances into normal model instances.
|
String |
toString() |
String |
toXmlString() |
public static final String TABLE_NAME
public static final Object[][] TABLE_COLUMNS
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
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.kernel.model.Country toModel(com.liferay.portal.kernel.model.CountrySoap soapModel)
soapModel - the soap model instance to convertpublic static 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.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.ClassedModelgetPrimaryKeyObj in interface com.liferay.portal.kernel.model.CountryModelpublic 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.ClassedModelsetPrimaryKeyObj in interface com.liferay.portal.kernel.model.CountryModelpublic 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>@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 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 String getName()
getName in interface com.liferay.portal.kernel.model.CountryModelpublic void setName(String name)
setName in interface com.liferay.portal.kernel.model.CountryModelpublic String getOriginalName()
@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.CountryModelpublic String getOriginalA2()
@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.CountryModelpublic String getOriginalA3()
@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@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 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 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.CountryModelpublic boolean getOriginalActive()
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.ClassedModelgetExpandoBridge in interface com.liferay.portal.kernel.model.CountryModelgetExpandoBridge 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 interface com.liferay.portal.kernel.model.CountryModelsetExpandoBridgeAttributes 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 interface com.liferay.portal.kernel.model.CountryModeltoEscapedModel 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.CountryModelclone 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 com.liferay.portal.kernel.model.CountryModelcompareTo in interface Comparable<com.liferay.portal.kernel.model.Country>public int hashCode()
public boolean isEntityCacheEnabled()
isEntityCacheEnabled in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.Country>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 interface com.liferay.portal.kernel.model.CountryModeltoCacheModel in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.Country>public String toString()
public String toXmlString()
toXmlString in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.Country>toXmlString in interface com.liferay.portal.kernel.model.CountryModel