public class RegionWrapper extends BaseModelWrapper<Region> implements ModelWrapper<Region>, Region
This class is a wrapper for Region.
Region,
Serialized FormmodelREGION_ID_ACCESSOR| Constructor and Description |
|---|
RegionWrapper(Region region) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
getActive()
Returns the active of this region.
|
long |
getCountryId()
Returns the country ID of this region.
|
Map<String,Object> |
getModelAttributes() |
long |
getMvccVersion()
Returns the mvcc version of this region.
|
String |
getName()
Returns the name of this region.
|
long |
getPrimaryKey()
Returns the primary key of this region.
|
String |
getRegionCode()
Returns the region code of this region.
|
long |
getRegionId()
Returns the region ID of this region.
|
boolean |
isActive()
Returns
true if this region is active. |
void |
setActive(boolean active)
Sets whether this region is active.
|
void |
setCountryId(long countryId)
Sets the country ID of this region.
|
void |
setModelAttributes(Map<String,Object> attributes) |
void |
setMvccVersion(long mvccVersion)
Sets the mvcc version of this region.
|
void |
setName(String name)
Sets the name of this region.
|
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this region.
|
void |
setRegionCode(String regionCode)
Sets the region code of this region.
|
void |
setRegionId(long regionId)
Sets the region ID of this region.
|
protected RegionWrapper |
wrap(Region region) |
clone, compareTo, equals, getExpandoBridge, getModelClass, getModelClassName, getPrimaryKeyObj, getWrappedModel, hashCode, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toString, toUnescapedModel, toXmlStringgetWrappedModelclone, getExpandoBridge, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModel, toXmlStringgetModelClass, getModelClassNamepublic RegionWrapper(Region region)
public Map<String,Object> getModelAttributes()
getModelAttributes in interface BaseModel<Region>public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes in interface BaseModel<Region>public boolean getActive()
getActive in interface RegionModelpublic long getCountryId()
getCountryId in interface RegionModelpublic long getMvccVersion()
getMvccVersion in interface MVCCModelgetMvccVersion in interface RegionModelpublic String getName()
getName in interface RegionModelpublic long getPrimaryKey()
getPrimaryKey in interface RegionModelpublic String getRegionCode()
getRegionCode in interface RegionModelpublic long getRegionId()
getRegionId in interface RegionModelpublic boolean isActive()
true if this region is active.isActive in interface RegionModeltrue if this region is active; false otherwisepublic void setActive(boolean active)
setActive in interface RegionModelactive - the active of this regionpublic void setCountryId(long countryId)
setCountryId in interface RegionModelcountryId - the country ID of this regionpublic void setMvccVersion(long mvccVersion)
setMvccVersion in interface MVCCModelsetMvccVersion in interface RegionModelmvccVersion - the mvcc version of this regionpublic void setName(String name)
setName in interface RegionModelname - the name of this regionpublic void setPrimaryKey(long primaryKey)
setPrimaryKey in interface RegionModelprimaryKey - the primary key of this regionpublic void setRegionCode(String regionCode)
setRegionCode in interface RegionModelregionCode - the region code of this regionpublic void setRegionId(long regionId)
setRegionId in interface RegionModelregionId - the region ID of this regionprotected RegionWrapper wrap(Region region)
wrap in class BaseModelWrapper<Region>