|
Liferay 7.0-ce-b4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.liferay.portal.model.CountryWrapper
@ProviderType public class CountryWrapper
This class is a wrapper for Country.
Country,
Serialized Form| Field Summary |
|---|
| Fields inherited from interface com.liferay.portal.model.Country |
|---|
COUNTRY_ID_ACCESSOR |
| Constructor Summary | |
|---|---|
CountryWrapper(Country country)
|
|
| Method Summary | |
|---|---|
Object |
clone()
Creates a shallow clone of this model instance. |
int |
compareTo(Country country)
|
boolean |
equals(Object obj)
|
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()
|
long |
getMvccVersion()
Returns the mvcc version of this country. |
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 |
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 |
isEntityCacheEnabled()
Returns true if this model's entity cache is enabled. |
boolean |
isEscapedModel()
Returns true if this model instance is escaped. |
boolean |
isFinderCacheEnabled()
Returns true if this model's finder cache is enabled. |
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 |
setMvccVersion(long mvccVersion)
Sets the mvcc version of this country. |
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 |
|---|
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 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 String getA2()
getA2 in interface CountryModelpublic String getA3()
getA3 in interface CountryModelpublic boolean getActive()
getActive in interface CountryModelpublic long getCountryId()
getCountryId in interface CountryModelpublic ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge in interface BaseModel<Country>getExpandoBridge in interface ClassedModelgetExpandoBridge in interface CountryModelpublic String getIdd()
getIdd in interface CountryModelpublic long getMvccVersion()
getMvccVersion in interface CountryModelgetMvccVersion in interface MVCCModelpublic String getName()
getName in interface CountryModelpublic String getName(Locale locale)
getName in interface Countrypublic String getNameCurrentLanguageId()
getNameCurrentLanguageId in interface Countrypublic String getNameCurrentValue()
getNameCurrentValue in interface Countrypublic String getNumber()
getNumber in interface CountryModelpublic long getPrimaryKey()
getPrimaryKey in interface CountryModelpublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj in interface BaseModel<Country>getPrimaryKeyObj in interface ClassedModelgetPrimaryKeyObj in interface CountryModelpublic boolean getZipRequired()
getZipRequired in interface CountryModelpublic int hashCode()
hashCode in interface CountryModelhashCode in class Objectpublic boolean isActive()
true if this country is active.
isActive in interface CountryModeltrue if this country is active; false otherwisepublic 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 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 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 boolean isZipRequired()
true if this country is zip required.
isZipRequired in interface CountryModeltrue if this country is zip required; false otherwisepublic void setA2(String a2)
setA2 in interface CountryModela2 - the a2 of this countrypublic void setA3(String a3)
setA3 in interface CountryModela3 - the a3 of this countrypublic void setActive(boolean active)
setActive in interface CountryModelactive - the active of this countrypublic void setCachedModel(boolean cachedModel)
BaseModel
setCachedModel in interface BaseModel<Country>setCachedModel in interface CountryModelcachedModel - whether this model instance was retrieved from the
entity cacheEntityCachepublic void setCountryId(long countryId)
setCountryId in interface CountryModelcountryId - the country ID of this countrypublic 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 void setIdd(String idd)
setIdd in interface CountryModelidd - the idd of this countrypublic void setMvccVersion(long mvccVersion)
setMvccVersion in interface CountryModelsetMvccVersion in interface MVCCModelmvccVersion - the mvcc version of this countrypublic void setName(String name)
setName in interface CountryModelname - the name of this countrypublic void setNameCurrentLanguageId(String languageId)
setNameCurrentLanguageId in interface Countrypublic 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 void setNumber(String number)
setNumber in interface CountryModelnumber - the number of this countrypublic void setPrimaryKey(long primaryKey)
setPrimaryKey in interface CountryModelprimaryKey - the primary key of this countrypublic void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj in interface BaseModel<Country>setPrimaryKeyObj in interface ClassedModelsetPrimaryKeyObj in interface CountryModelprimaryKeyObj - the primary key of this model instancepublic void setZipRequired(boolean zipRequired)
setZipRequired in interface CountryModelzipRequired - the zip required of this countrypublic 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 String toString()
toString in interface CountryModeltoString in class Objectpublic Country toUnescapedModel()
toUnescapedModel in interface BaseModel<Country>toUnescapedModel in interface CountryModelpublic String toXmlString()
BaseModel
toXmlString in interface BaseModel<Country>toXmlString in interface CountryModelpublic boolean equals(Object obj)
equals in class Objectpublic Country getWrappedModel()
getWrappedModel in interface ModelWrapper<Country>public boolean isEntityCacheEnabled()
BaseModeltrue if this model's entity cache is enabled.
isEntityCacheEnabled in interface BaseModel<Country>true if this model's entity cache is enabled;
false otherwisepublic boolean isFinderCacheEnabled()
BaseModeltrue if this model's finder cache is enabled.
isFinderCacheEnabled in interface BaseModel<Country>true if this model's finder cache is enabled;
false otherwisepublic void resetOriginalValues()
BaseModel
resetOriginalValues in interface BaseModel<Country>
|
Liferay 7.0-ce-b4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||