|
Liferay 6.0.3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.liferay.portal.model.RegionWrapper
public class RegionWrapper
This class is a wrapper for Region.
Region,
Serialized Form| Constructor Summary | |
|---|---|
RegionWrapper(Region region)
|
|
| Method Summary | |
|---|---|
Object |
clone()
Creates a shallow clone of this model instance. |
int |
compareTo(Region region)
|
boolean |
getActive()
|
long |
getCountryId()
|
ExpandoBridge |
getExpandoBridge()
Gets the expando bridge for this model instance. |
String |
getName()
|
long |
getPrimaryKey()
|
Serializable |
getPrimaryKeyObj()
Gets the primary key for this model instance. |
String |
getRegionCode()
|
long |
getRegionId()
|
Region |
getWrappedRegion()
|
int |
hashCode()
|
boolean |
isActive()
|
boolean |
isCachedModel()
Determines if this model instance was retrieved from the entity cache. |
boolean |
isEscapedModel()
Determines if this model instance has been wrapped with an HTML auto escape handler. |
boolean |
isNew()
Determines if this model instance does not yet exist in the database. |
void |
setActive(boolean active)
|
void |
setCachedModel(boolean cachedModel)
Sets whether this model instance was retrieved from the entity cache. |
void |
setCountryId(long countryId)
|
void |
setEscapedModel(boolean escapedModel)
Sets whether this model instance has been wrapped with an HTML auto escape handler. |
void |
setExpandoBridgeAttributes(ServiceContext serviceContext)
Sets the expando bridge attributes for this model instance to the attributes stored in the service context. |
void |
setName(String name)
|
void |
setNew(boolean n)
Sets whether this model instance does not yet exist in the database. |
void |
setPrimaryKey(long pk)
|
void |
setRegionCode(String regionCode)
|
void |
setRegionId(long regionId)
|
Region |
toEscapedModel()
|
String |
toString()
|
String |
toXmlString()
Gets the XML representation of this model instance. |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public RegionWrapper(Region region)
| Method Detail |
|---|
public long getPrimaryKey()
getPrimaryKey in interface RegionModelpublic void setPrimaryKey(long pk)
setPrimaryKey in interface RegionModelpublic long getRegionId()
getRegionId in interface RegionModelpublic void setRegionId(long regionId)
setRegionId in interface RegionModelpublic long getCountryId()
getCountryId in interface RegionModelpublic void setCountryId(long countryId)
setCountryId in interface RegionModelpublic String getRegionCode()
getRegionCode in interface RegionModelpublic void setRegionCode(String regionCode)
setRegionCode in interface RegionModelpublic String getName()
getName in interface RegionModelpublic void setName(String name)
setName in interface RegionModelpublic boolean getActive()
getActive in interface RegionModelpublic boolean isActive()
isActive in interface RegionModelpublic void setActive(boolean active)
setActive in interface RegionModelpublic Region toEscapedModel()
toEscapedModel in interface RegionModelpublic boolean isNew()
BaseModel
isNew in interface BaseModel<Region>isNew in interface RegionModeltrue if this model instance does not yet exist in
the database; false otherwisepublic void setNew(boolean n)
BaseModel
setNew in interface BaseModel<Region>setNew in interface RegionModeln - whether this model instance does not yet exist in the databasepublic boolean isCachedModel()
BaseModel
isCachedModel in interface BaseModel<Region>isCachedModel in interface RegionModeltrue if this model instance was retrieved from the
entity cache; false otherwiseBaseModel.setCachedModel(boolean)public void setCachedModel(boolean cachedModel)
BaseModel
setCachedModel in interface BaseModel<Region>setCachedModel in interface RegionModelcachedModel - whether this model instance was retrieved from the
entity cacheEntityCachepublic boolean isEscapedModel()
BaseModel
isEscapedModel in interface BaseModel<Region>isEscapedModel in interface RegionModeltrue if this model instance has been wrapped with an
HTML auto escape handler; false otherwiseBaseModel.setEscapedModel(boolean)public void setEscapedModel(boolean escapedModel)
BaseModel
A model instance can be wrapped with an HTML auto escape handler using
its toEscapedModel method. For example, UserModel.toEscapedModel().
setEscapedModel in interface BaseModel<Region>setEscapedModel in interface RegionModelescapedModel - whether this model instance has been wrapped with an
HTML auto escape handlerAutoEscapeBeanHandlerpublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj in interface BaseModel<Region>getPrimaryKeyObj in interface RegionModelpublic ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge in interface BaseModel<Region>getExpandoBridge in interface RegionModelpublic void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes in interface BaseModel<Region>setExpandoBridgeAttributes in interface RegionModelserviceContext - the service context to retrieve the expando bridge
attributes fromServiceContext.getExpandoBridgeAttributes(
)public Object clone()
BaseModel
clone in interface BaseModel<Region>clone in interface RegionModelclone in class Objectpublic int compareTo(Region region)
compareTo in interface RegionModelcompareTo in interface Comparable<Region>public int hashCode()
hashCode in interface RegionModelhashCode in class Objectpublic String toString()
toString in interface RegionModeltoString in class Objectpublic String toXmlString()
BaseModel
toXmlString in interface BaseModel<Region>toXmlString in interface RegionModelpublic Region getWrappedRegion()
|
Liferay 6.0.3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||