|
Liferay 6.2.0-ce-m5 | |||||||||
| 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()
Returns the a2 of this country. |
String |
getA3()
Returns the a3 of this country. |
boolean |
getActive()
Returns the active of this country. |
long |
getCountryId()
Returns the country ID of this country. |
ExpandoBridge |
getExpandoBridge()
Returns the expando bridge for this model instance. |
String |
getIdd()
Returns the idd of this country. |
Map<String,Object> |
getModelAttributes()
|
Class<?> |
getModelClass()
|
String |
getModelClassName()
|
String |
getName()
Returns the name of this country. |
String |
getName(Locale locale)
|
String |
getNameCurrentLanguageId()
|
String |
getNameCurrentValue()
|
String |
getNumber()
Returns the number of this country. |
long |
getPrimaryKey()
Returns the primary key of this country. |
Serializable |
getPrimaryKeyObj()
Returns the primary key of this model instance. |
Country |
getWrappedCountry()
Deprecated. As of 6.1.0, replaced by getWrappedModel() |
Country |
getWrappedModel()
|
boolean |
getZipRequired()
Returns the zip required of this country. |
int |
hashCode()
|
boolean |
isActive()
Returns true if this country is active. |
boolean |
isCachedModel()
Returns true if this model instance was retrieved from the
entity cache. |
boolean |
isEscapedModel()
Returns true if this model instance is escaped. |
boolean |
isNew()
Returns true if this model instance does not yet exist in
the database. |
boolean |
isZipRequired()
Returns true if this country is zip required. |
void |
resetOriginalValues()
Reset all original fields to current values. |
void |
setA2(String a2)
Sets the a2 of this country. |
void |
setA3(String a3)
Sets the a3 of this country. |
void |
setActive(boolean active)
Sets whether this country is active. |
void |
setCachedModel(boolean cachedModel)
Sets whether this model instance was retrieved from the entity cache. |
void |
setCountryId(long countryId)
Sets the country ID of this country. |
void |
setExpandoBridgeAttributes(BaseModel<?> baseModel)
|
void |
setExpandoBridgeAttributes(ExpandoBridge expandoBridge)
|
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)
Sets the idd of this country. |
void |
setModelAttributes(Map<String,Object> attributes)
|
void |
setName(String name)
Sets the name of this country. |
void |
setNameCurrentLanguageId(String languageId)
|
void |
setNew(boolean n)
Sets whether this model instance does not yet exist in the database. |
void |
setNumber(String number)
Sets the number of this country. |
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this country. |
void |
setPrimaryKeyObj(Serializable primaryKeyObj)
Sets the primary key of this model instance. |
void |
setZipRequired(boolean zipRequired)
Sets whether this country is zip required. |
CacheModel<Country> |
toCacheModel()
Returns a cache model object for this entity used by entity cache. |
Country |
toEscapedModel()
Returns a copy of this entity as an escaped model instance by wrapping it with an AutoEscapeBeanHandler. |
String |
toString()
|
Country |
toUnescapedModel()
|
String |
toXmlString()
Returns 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 Class<?> getModelClass()
getModelClass in interface ClassedModelpublic String getModelClassName()
getModelClassName in interface ClassedModelpublic Map<String,Object> getModelAttributes()
getModelAttributes in interface BaseModel<Country>public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes in interface BaseModel<Country>public long getPrimaryKey()
getPrimaryKey in interface CountryModelpublic void setPrimaryKey(long primaryKey)
setPrimaryKey in interface CountryModelprimaryKey - the primary key of this countrypublic long getCountryId()
getCountryId in interface CountryModelpublic void setCountryId(long countryId)
setCountryId in interface CountryModelcountryId - the country ID of this countrypublic String getName()
getName in interface CountryModelpublic void setName(String name)
setName in interface CountryModelname - the name of this countrypublic String getA2()
getA2 in interface CountryModelpublic void setA2(String a2)
setA2 in interface CountryModela2 - the a2 of this countrypublic String getA3()
getA3 in interface CountryModelpublic void setA3(String a3)
setA3 in interface CountryModela3 - the a3 of this countrypublic String getNumber()
getNumber in interface CountryModelpublic void setNumber(String number)
setNumber in interface CountryModelnumber - the number of this countrypublic String getIdd()
getIdd in interface CountryModelpublic void setIdd(String idd)
setIdd in interface CountryModelidd - the idd of this countrypublic boolean getZipRequired()
getZipRequired in interface CountryModelpublic boolean isZipRequired()
true if this country is zip required.
isZipRequired in interface CountryModeltrue if this country is zip required; false otherwisepublic void setZipRequired(boolean zipRequired)
setZipRequired in interface CountryModelzipRequired - the zip required of this countrypublic boolean getActive()
getActive in interface CountryModelpublic boolean isActive()
true if this country is active.
isActive in interface CountryModeltrue if this country is active; false otherwisepublic void setActive(boolean active)
setActive in interface CountryModelactive - the active of this countrypublic boolean isNew()
BaseModeltrue if this model instance does not yet exist in
the database.
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()
BaseModeltrue if this model instance was retrieved from the
entity cache.
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()
BaseModeltrue if this model instance is escaped.
isEscapedModel in interface BaseModel<Country>isEscapedModel in interface CountryModeltrue if this model instance is escaped;
false otherwisepublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj in interface BaseModel<Country>getPrimaryKeyObj in interface ClassedModelgetPrimaryKeyObj in interface CountryModelpublic void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj in interface BaseModel<Country>setPrimaryKeyObj in interface ClassedModelsetPrimaryKeyObj in interface CountryModelprimaryKeyObj - the primary key of this model instancepublic ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge in interface BaseModel<Country>getExpandoBridge in interface ClassedModelgetExpandoBridge in interface CountryModelpublic void setExpandoBridgeAttributes(BaseModel<?> baseModel)
setExpandoBridgeAttributes in interface BaseModel<Country>setExpandoBridgeAttributes in interface CountryModelpublic void setExpandoBridgeAttributes(ExpandoBridge expandoBridge)
setExpandoBridgeAttributes in interface BaseModel<Country>setExpandoBridgeAttributes in interface CountryModelpublic void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes in interface BaseModel<Country>setExpandoBridgeAttributes in interface CountryModelserviceContext - the service context to be appliedServiceContext.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 CacheModel<Country> toCacheModel()
BaseModel
toCacheModel in interface BaseModel<Country>toCacheModel in interface CountryModelpublic Country toEscapedModel()
BaseModelAutoEscapeBeanHandler.
toEscapedModel in interface BaseModel<Country>toEscapedModel in interface CountryModelAutoEscapeBeanHandlerpublic Country toUnescapedModel()
toUnescapedModel in interface BaseModel<Country>toUnescapedModel in interface CountryModelpublic String toString()
toString in interface CountryModeltoString in class Objectpublic String toXmlString()
BaseModel
toXmlString in interface BaseModel<Country>toXmlString in interface CountryModelpublic String getName(Locale locale)
getName in interface Countrypublic String getNameCurrentLanguageId()
getNameCurrentLanguageId in interface Countrypublic String getNameCurrentValue()
getNameCurrentValue in interface Countrypublic void setNameCurrentLanguageId(String languageId)
setNameCurrentLanguageId in interface Countrypublic Country getWrappedCountry()
getWrappedModel()
public Country getWrappedModel()
getWrappedModel in interface ModelWrapper<Country>public void resetOriginalValues()
BaseModel
resetOriginalValues in interface BaseModel<Country>
|
Liferay 6.2.0-ce-m5 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||