com.liferay.portal.model
Class RegionWrapper
java.lang.Object
com.liferay.portal.model.RegionWrapper
- All Implemented Interfaces:
- BaseModel<Region>, Region, RegionModel, java.io.Serializable, java.lang.Cloneable, java.lang.Comparable<Region>
public class RegionWrapper
- extends java.lang.Object
- implements Region
View Source
ServiceBuilder generated this class. Modifications in this class will be
overwritten the next time is generated.
This class is a wrapper for Region
.
- Author:
- Brian Wing Shun Chan
- See Also:
Region
,
Serialized Form- Generated:
Methods inherited from class java.lang.Object |
equals, finalize, getClass, notify, notifyAll, wait, wait, wait |
RegionWrapper
public RegionWrapper(Region region)
getPrimaryKey
public long getPrimaryKey()
- Specified by:
getPrimaryKey
in interface RegionModel
setPrimaryKey
public void setPrimaryKey(long pk)
- Specified by:
setPrimaryKey
in interface RegionModel
getRegionId
public long getRegionId()
- Specified by:
getRegionId
in interface RegionModel
setRegionId
public void setRegionId(long regionId)
- Specified by:
setRegionId
in interface RegionModel
getCountryId
public long getCountryId()
- Specified by:
getCountryId
in interface RegionModel
setCountryId
public void setCountryId(long countryId)
- Specified by:
setCountryId
in interface RegionModel
getRegionCode
public java.lang.String getRegionCode()
- Specified by:
getRegionCode
in interface RegionModel
setRegionCode
public void setRegionCode(java.lang.String regionCode)
- Specified by:
setRegionCode
in interface RegionModel
getName
public java.lang.String getName()
- Specified by:
getName
in interface RegionModel
setName
public void setName(java.lang.String name)
- Specified by:
setName
in interface RegionModel
getActive
public boolean getActive()
- Specified by:
getActive
in interface RegionModel
isActive
public boolean isActive()
- Specified by:
isActive
in interface RegionModel
setActive
public void setActive(boolean active)
- Specified by:
setActive
in interface RegionModel
toEscapedModel
public Region toEscapedModel()
- Specified by:
toEscapedModel
in interface RegionModel
isNew
public boolean isNew()
- Specified by:
isNew
in interface BaseModel<Region>
- Specified by:
isNew
in interface RegionModel
setNew
public boolean setNew(boolean n)
- Specified by:
setNew
in interface BaseModel<Region>
- Specified by:
setNew
in interface RegionModel
isCachedModel
public boolean isCachedModel()
- Specified by:
isCachedModel
in interface BaseModel<Region>
- Specified by:
isCachedModel
in interface RegionModel
setCachedModel
public void setCachedModel(boolean cachedModel)
- Specified by:
setCachedModel
in interface BaseModel<Region>
- Specified by:
setCachedModel
in interface RegionModel
isEscapedModel
public boolean isEscapedModel()
- Specified by:
isEscapedModel
in interface BaseModel<Region>
- Specified by:
isEscapedModel
in interface RegionModel
setEscapedModel
public void setEscapedModel(boolean escapedModel)
- Specified by:
setEscapedModel
in interface BaseModel<Region>
- Specified by:
setEscapedModel
in interface RegionModel
getPrimaryKeyObj
public java.io.Serializable getPrimaryKeyObj()
- Specified by:
getPrimaryKeyObj
in interface BaseModel<Region>
- Specified by:
getPrimaryKeyObj
in interface RegionModel
getExpandoBridge
public ExpandoBridge getExpandoBridge()
- Specified by:
getExpandoBridge
in interface BaseModel<Region>
- Specified by:
getExpandoBridge
in interface RegionModel
setExpandoBridgeAttributes
public void setExpandoBridgeAttributes(ServiceContext serviceContext)
- Specified by:
setExpandoBridgeAttributes
in interface BaseModel<Region>
- Specified by:
setExpandoBridgeAttributes
in interface RegionModel
clone
public java.lang.Object clone()
- Specified by:
clone
in interface BaseModel<Region>
- Specified by:
clone
in interface RegionModel
- Overrides:
clone
in class java.lang.Object
compareTo
public int compareTo(Region region)
- Specified by:
compareTo
in interface RegionModel
- Specified by:
compareTo
in interface java.lang.Comparable<Region>
hashCode
public int hashCode()
- Specified by:
hashCode
in interface RegionModel
- Overrides:
hashCode
in class java.lang.Object
toString
public java.lang.String toString()
- Specified by:
toString
in interface RegionModel
- Overrides:
toString
in class java.lang.Object
toXmlString
public java.lang.String toXmlString()
- Specified by:
toXmlString
in interface BaseModel<Region>
- Specified by:
toXmlString
in interface RegionModel
getWrappedRegion
public Region getWrappedRegion()