public class RegionWrapper extends BaseModelWrapper<Region> implements ModelWrapper<Region>, Region
This class is a wrapper for Region
.
Region
,
Serialized Formmodel
REGION_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, toXmlString
getWrappedModel
clone, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getExpandoBridge, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModel, toXmlString
getModelClass, getModelClassName
public 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 RegionModel
public long getCountryId()
getCountryId
in interface RegionModel
public long getMvccVersion()
getMvccVersion
in interface MVCCModel
getMvccVersion
in interface RegionModel
public String getName()
getName
in interface RegionModel
public long getPrimaryKey()
getPrimaryKey
in interface RegionModel
public String getRegionCode()
getRegionCode
in interface RegionModel
public long getRegionId()
getRegionId
in interface RegionModel
public boolean isActive()
true
if this region is active.isActive
in interface RegionModel
true
if this region is active; false
otherwisepublic void setActive(boolean active)
setActive
in interface RegionModel
active
- the active of this regionpublic void setCountryId(long countryId)
setCountryId
in interface RegionModel
countryId
- the country ID of this regionpublic void setMvccVersion(long mvccVersion)
setMvccVersion
in interface MVCCModel
setMvccVersion
in interface RegionModel
mvccVersion
- the mvcc version of this regionpublic void setName(String name)
setName
in interface RegionModel
name
- the name of this regionpublic void setPrimaryKey(long primaryKey)
setPrimaryKey
in interface RegionModel
primaryKey
- the primary key of this regionpublic void setRegionCode(String regionCode)
setRegionCode
in interface RegionModel
regionCode
- the region code of this regionpublic void setRegionId(long regionId)
setRegionId
in interface RegionModel
regionId
- the region ID of this regionprotected RegionWrapper wrap(Region region)
wrap
in class BaseModelWrapper<Region>