public class CountryWrapper extends BaseModelWrapper<Country> implements Country, ModelWrapper<Country>
This class is a wrapper for Country.
Country,
Serialized FormmodelCOUNTRY_ID_ACCESSOR| Constructor and Description |
|---|
CountryWrapper(Country country) |
| Modifier and Type | Method and Description |
|---|---|
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.
|
String |
getIdd()
Returns the idd of this country.
|
Map<String,Object> |
getModelAttributes() |
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.
|
boolean |
getZipRequired()
Returns the zip required of this country.
|
boolean |
isActive()
Returns
true if this country is active. |
boolean |
isZipRequired()
Returns
true if this country is zip required. |
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 |
setCountryId(long countryId)
Sets the country ID of this country.
|
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 |
setNumber(String number)
Sets the number of this country.
|
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this country.
|
void |
setZipRequired(boolean zipRequired)
Sets whether this country is zip required.
|
protected CountryWrapper |
wrap(Country country) |
clone, compareTo, equals, getExpandoBridge, getModelClass, getModelClassName, getPrimaryKeyObj, getWrappedModel, hashCode, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toString, toUnescapedModel, toXmlStringclone, getExpandoBridge, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModel, toXmlStringgetModelClass, getModelClassNamegetWrappedModelpublic CountryWrapper(Country country)
public Map<String,Object> getModelAttributes()
getModelAttributes in interface BaseModel<Country>public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes in interface BaseModel<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 String getIdd()
getIdd in interface CountryModelpublic long getMvccVersion()
getMvccVersion in interface CountryModelgetMvccVersion in interface MVCCModelpublic String getName()
getName in interface CountryModelpublic String getNameCurrentLanguageId()
getNameCurrentLanguageId in interface Countrypublic String getNameCurrentValue()
getNameCurrentValue in interface Countrypublic String getNumber()
getNumber in interface CountryModelpublic long getPrimaryKey()
getPrimaryKey in interface CountryModelpublic boolean getZipRequired()
getZipRequired in interface CountryModelpublic boolean isActive()
true if this country is active.isActive in interface CountryModeltrue if this country is active; 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 setCountryId(long countryId)
setCountryId in interface CountryModelcountryId - the country ID of this countrypublic 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 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 setZipRequired(boolean zipRequired)
setZipRequired in interface CountryModelzipRequired - the zip required of this countryprotected CountryWrapper wrap(Country country)
wrap in class BaseModelWrapper<Country>