|
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.CountryWrapper
public class CountryWrapper
This class is a wrapper for Country.
Country,
Serialized Form| Constructor Summary | |
|---|---|
CountryWrapper(Country country)
|
|
| Method Summary | |
|---|---|
Object |
clone()
Creates a shallow clone of this model instance. |
int |
compareTo(Country country)
|
String |
getA2()
|
String |
getA3()
|
boolean |
getActive()
|
long |
getCountryId()
|
ExpandoBridge |
getExpandoBridge()
Gets the expando bridge for this model instance. |
String |
getIdd()
|
String |
getName()
|
String |
getNumber()
|
long |
getPrimaryKey()
|
Serializable |
getPrimaryKeyObj()
Gets the primary key for this model instance. |
Country |
getWrappedCountry()
|
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 |
setA2(String a2)
|
void |
setA3(String a3)
|
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 |
setIdd(String idd)
|
void |
setName(String name)
|
void |
setNew(boolean n)
Sets whether this model instance does not yet exist in the database. |
void |
setNumber(String number)
|
void |
setPrimaryKey(long pk)
|
Country |
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 CountryWrapper(Country country)
| Method Detail |
|---|
public long getPrimaryKey()
getPrimaryKey in interface CountryModelpublic void setPrimaryKey(long pk)
setPrimaryKey in interface CountryModelpublic long getCountryId()
getCountryId in interface CountryModelpublic void setCountryId(long countryId)
setCountryId in interface CountryModelpublic String getName()
getName in interface CountryModelpublic void setName(String name)
setName in interface CountryModelpublic String getA2()
getA2 in interface CountryModelpublic void setA2(String a2)
setA2 in interface CountryModelpublic String getA3()
getA3 in interface CountryModelpublic void setA3(String a3)
setA3 in interface CountryModelpublic String getNumber()
getNumber in interface CountryModelpublic void setNumber(String number)
setNumber in interface CountryModelpublic String getIdd()
getIdd in interface CountryModelpublic void setIdd(String idd)
setIdd in interface CountryModelpublic boolean getActive()
getActive in interface CountryModelpublic boolean isActive()
isActive in interface CountryModelpublic void setActive(boolean active)
setActive in interface CountryModelpublic Country toEscapedModel()
toEscapedModel in interface CountryModelpublic boolean isNew()
BaseModel
isNew in interface BaseModel<Country>isNew in interface CountryModeltrue if this model instance does not yet exist in
the database; false otherwisepublic void setNew(boolean n)
BaseModel
setNew in interface BaseModel<Country>setNew in interface CountryModeln - whether this model instance does not yet exist in the databasepublic boolean isCachedModel()
BaseModel
isCachedModel in interface BaseModel<Country>isCachedModel in interface CountryModeltrue if this model instance was retrieved from the
entity cache; false otherwiseBaseModel.setCachedModel(boolean)public void setCachedModel(boolean cachedModel)
BaseModel
setCachedModel in interface BaseModel<Country>setCachedModel in interface CountryModelcachedModel - whether this model instance was retrieved from the
entity cacheEntityCachepublic boolean isEscapedModel()
BaseModel
isEscapedModel in interface BaseModel<Country>isEscapedModel in interface CountryModeltrue 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<Country>setEscapedModel in interface CountryModelescapedModel - whether this model instance has been wrapped with an
HTML auto escape handlerAutoEscapeBeanHandlerpublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj in interface BaseModel<Country>getPrimaryKeyObj in interface CountryModelpublic ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge in interface BaseModel<Country>getExpandoBridge in interface CountryModelpublic void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes in interface BaseModel<Country>setExpandoBridgeAttributes in interface CountryModelserviceContext - the service context to retrieve the expando bridge
attributes fromServiceContext.getExpandoBridgeAttributes(
)public Object clone()
BaseModel
clone in interface BaseModel<Country>clone in interface CountryModelclone in class Objectpublic int compareTo(Country country)
compareTo in interface CountryModelcompareTo in interface Comparable<Country>public int hashCode()
hashCode in interface CountryModelhashCode in class Objectpublic String toString()
toString in interface CountryModeltoString in class Objectpublic String toXmlString()
BaseModel
toXmlString in interface BaseModel<Country>toXmlString in interface CountryModelpublic Country getWrappedCountry()
|
Liferay 6.0.3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||