@JSON(strict=true)
@ProviderType
public class RegionModelImpl
extends com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.Region>
implements com.liferay.portal.kernel.model.RegionModel
This implementation and its corresponding interface RegionModel
exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in RegionImpl
.
RegionImpl
,
Region
,
RegionModel
,
Serialized FormModifier and Type | Field and Description |
---|---|
static long |
ACTIVE_COLUMN_BITMASK |
static boolean |
COLUMN_BITMASK_ENABLED |
static long |
COUNTRYID_COLUMN_BITMASK |
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 long |
REGIONCODE_COLUMN_BITMASK |
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 |
---|
RegionModelImpl() |
Modifier and Type | Method and Description |
---|---|
Object |
clone() |
int |
compareTo(com.liferay.portal.kernel.model.Region region) |
boolean |
equals(Object obj) |
boolean |
getActive() |
long |
getColumnBitmask() |
long |
getCountryId() |
com.liferay.expando.kernel.model.ExpandoBridge |
getExpandoBridge() |
Map<String,Object> |
getModelAttributes() |
Class<?> |
getModelClass() |
String |
getModelClassName() |
long |
getMvccVersion() |
String |
getName() |
boolean |
getOriginalActive() |
long |
getOriginalCountryId() |
String |
getOriginalRegionCode() |
long |
getPrimaryKey() |
Serializable |
getPrimaryKeyObj() |
String |
getRegionCode() |
long |
getRegionId() |
int |
hashCode() |
boolean |
isActive() |
boolean |
isEntityCacheEnabled() |
boolean |
isFinderCacheEnabled() |
void |
resetOriginalValues() |
void |
setActive(boolean active) |
void |
setCountryId(long countryId) |
void |
setExpandoBridgeAttributes(com.liferay.portal.kernel.service.ServiceContext serviceContext) |
void |
setModelAttributes(Map<String,Object> attributes) |
void |
setMvccVersion(long mvccVersion) |
void |
setName(String name) |
void |
setPrimaryKey(long primaryKey) |
void |
setPrimaryKeyObj(Serializable primaryKeyObj) |
void |
setRegionCode(String regionCode) |
void |
setRegionId(long regionId) |
com.liferay.portal.kernel.model.CacheModel<com.liferay.portal.kernel.model.Region> |
toCacheModel() |
com.liferay.portal.kernel.model.Region |
toEscapedModel() |
static com.liferay.portal.kernel.model.Region |
toModel(com.liferay.portal.kernel.model.RegionSoap soapModel)
Converts the soap model instance into a normal model instance.
|
static List<com.liferay.portal.kernel.model.Region> |
toModels(com.liferay.portal.kernel.model.RegionSoap[] 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 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
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 ACTIVE_COLUMN_BITMASK
public static final long COUNTRYID_COLUMN_BITMASK
public static final long REGIONCODE_COLUMN_BITMASK
public static final long NAME_COLUMN_BITMASK
public static final long LOCK_EXPIRATION_TIME
public static com.liferay.portal.kernel.model.Region toModel(com.liferay.portal.kernel.model.RegionSoap soapModel)
soapModel
- the soap model instance to convertpublic static List<com.liferay.portal.kernel.model.Region> toModels(com.liferay.portal.kernel.model.RegionSoap[] soapModels)
soapModels
- the soap model instances to convertpublic long getPrimaryKey()
getPrimaryKey
in interface com.liferay.portal.kernel.model.RegionModel
public void setPrimaryKey(long primaryKey)
setPrimaryKey
in interface com.liferay.portal.kernel.model.RegionModel
public Serializable getPrimaryKeyObj()
getPrimaryKeyObj
in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.Region>
getPrimaryKeyObj
in interface com.liferay.portal.kernel.model.ClassedModel
getPrimaryKeyObj
in interface com.liferay.portal.kernel.model.RegionModel
public void setPrimaryKeyObj(Serializable primaryKeyObj)
setPrimaryKeyObj
in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.Region>
setPrimaryKeyObj
in interface com.liferay.portal.kernel.model.ClassedModel
setPrimaryKeyObj
in interface com.liferay.portal.kernel.model.RegionModel
public Class<?> getModelClass()
getModelClass
in interface com.liferay.portal.kernel.model.ClassedModel
public String getModelClassName()
getModelClassName
in interface com.liferay.portal.kernel.model.ClassedModel
public Map<String,Object> getModelAttributes()
getModelAttributes
in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.Region>
getModelAttributes
in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.Region>
public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes
in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.Region>
setModelAttributes
in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.Region>
@JSON public long getMvccVersion()
getMvccVersion
in interface com.liferay.portal.kernel.model.MVCCModel
getMvccVersion
in interface com.liferay.portal.kernel.model.RegionModel
public void setMvccVersion(long mvccVersion)
setMvccVersion
in interface com.liferay.portal.kernel.model.MVCCModel
setMvccVersion
in interface com.liferay.portal.kernel.model.RegionModel
@JSON public long getRegionId()
getRegionId
in interface com.liferay.portal.kernel.model.RegionModel
public void setRegionId(long regionId)
setRegionId
in interface com.liferay.portal.kernel.model.RegionModel
@JSON public long getCountryId()
getCountryId
in interface com.liferay.portal.kernel.model.RegionModel
public void setCountryId(long countryId)
setCountryId
in interface com.liferay.portal.kernel.model.RegionModel
public long getOriginalCountryId()
@JSON public String getRegionCode()
getRegionCode
in interface com.liferay.portal.kernel.model.RegionModel
public void setRegionCode(String regionCode)
setRegionCode
in interface com.liferay.portal.kernel.model.RegionModel
public String getOriginalRegionCode()
@JSON public String getName()
getName
in interface com.liferay.portal.kernel.model.RegionModel
public void setName(String name)
setName
in interface com.liferay.portal.kernel.model.RegionModel
@JSON public boolean getActive()
getActive
in interface com.liferay.portal.kernel.model.RegionModel
@JSON public boolean isActive()
isActive
in interface com.liferay.portal.kernel.model.RegionModel
public void setActive(boolean active)
setActive
in interface com.liferay.portal.kernel.model.RegionModel
public 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.Region>
getExpandoBridge
in interface com.liferay.portal.kernel.model.ClassedModel
getExpandoBridge
in interface com.liferay.portal.kernel.model.RegionModel
getExpandoBridge
in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.Region>
public void setExpandoBridgeAttributes(com.liferay.portal.kernel.service.ServiceContext serviceContext)
setExpandoBridgeAttributes
in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.Region>
setExpandoBridgeAttributes
in interface com.liferay.portal.kernel.model.RegionModel
setExpandoBridgeAttributes
in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.Region>
public com.liferay.portal.kernel.model.Region toEscapedModel()
toEscapedModel
in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.Region>
toEscapedModel
in interface com.liferay.portal.kernel.model.RegionModel
toEscapedModel
in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.Region>
public Object clone()
clone
in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.Region>
clone
in interface com.liferay.portal.kernel.model.RegionModel
clone
in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.Region>
public int compareTo(com.liferay.portal.kernel.model.Region region)
compareTo
in interface com.liferay.portal.kernel.model.RegionModel
compareTo
in interface Comparable<com.liferay.portal.kernel.model.Region>
public boolean equals(Object obj)
equals
in class Object
public int hashCode()
hashCode
in interface com.liferay.portal.kernel.model.RegionModel
hashCode
in class Object
public boolean isEntityCacheEnabled()
isEntityCacheEnabled
in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.Region>
public boolean isFinderCacheEnabled()
isFinderCacheEnabled
in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.Region>
public void resetOriginalValues()
resetOriginalValues
in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.Region>
resetOriginalValues
in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.Region>
public com.liferay.portal.kernel.model.CacheModel<com.liferay.portal.kernel.model.Region> toCacheModel()
toCacheModel
in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.Region>
toCacheModel
in interface com.liferay.portal.kernel.model.RegionModel
toCacheModel
in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.Region>
public String toString()
toString
in interface com.liferay.portal.kernel.model.RegionModel
toString
in class Object
public String toXmlString()
toXmlString
in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.Region>
toXmlString
in interface com.liferay.portal.kernel.model.RegionModel