@ProviderType public interface RegionModel extends BaseModel<Region>, MVCCModel
This interface and its corresponding implementation com.liferay.portal.model.impl.RegionModelImpl
exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in com.liferay.portal.model.impl.RegionImpl
.
Region
Modifier and Type | Method and Description |
---|---|
boolean |
getActive()
Returns the active of this region.
|
long |
getCountryId()
Returns the country ID of this region.
|
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 |
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.
|
clone, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getExpandoBridge, getModelAttributes, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setModelAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModel, toXmlString
getModelClass, getModelClassName
long getPrimaryKey()
void setPrimaryKey(long primaryKey)
primaryKey
- the primary key of this regionlong getMvccVersion()
getMvccVersion
in interface MVCCModel
void setMvccVersion(long mvccVersion)
setMvccVersion
in interface MVCCModel
mvccVersion
- the mvcc version of this regionlong getRegionId()
void setRegionId(long regionId)
regionId
- the region ID of this regionlong getCountryId()
void setCountryId(long countryId)
countryId
- the country ID of this region@AutoEscape String getRegionCode()
void setRegionCode(String regionCode)
regionCode
- the region code of this region@AutoEscape String getName()
void setName(String name)
name
- the name of this regionboolean getActive()
boolean isActive()
true
if this region is active.true
if this region is active; false
otherwisevoid setActive(boolean active)
active
- the active of this region