public class CountryWrapper extends BaseModelWrapper<Country> implements Country, ModelWrapper<Country>
This class is a wrapper for Country
.
Country
,
Serialized Formmodel
COUNTRY_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, toXmlString
clone, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getExpandoBridge, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModel, toXmlString
getModelClass, getModelClassName
getWrappedModel
public 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 CountryModel
public String getA3()
getA3
in interface CountryModel
public boolean getActive()
getActive
in interface CountryModel
public long getCountryId()
getCountryId
in interface CountryModel
public String getIdd()
getIdd
in interface CountryModel
public long getMvccVersion()
getMvccVersion
in interface CountryModel
getMvccVersion
in interface MVCCModel
public String getName()
getName
in interface CountryModel
public String getNameCurrentLanguageId()
getNameCurrentLanguageId
in interface Country
public String getNameCurrentValue()
getNameCurrentValue
in interface Country
public String getNumber()
getNumber
in interface CountryModel
public long getPrimaryKey()
getPrimaryKey
in interface CountryModel
public boolean getZipRequired()
getZipRequired
in interface CountryModel
public boolean isActive()
true
if this country is active.isActive
in interface CountryModel
true
if this country is active; false
otherwisepublic boolean isZipRequired()
true
if this country is zip required.isZipRequired
in interface CountryModel
true
if this country is zip required; false
otherwisepublic void setA2(String a2)
setA2
in interface CountryModel
a2
- the a2 of this countrypublic void setA3(String a3)
setA3
in interface CountryModel
a3
- the a3 of this countrypublic void setActive(boolean active)
setActive
in interface CountryModel
active
- the active of this countrypublic void setCountryId(long countryId)
setCountryId
in interface CountryModel
countryId
- the country ID of this countrypublic void setIdd(String idd)
setIdd
in interface CountryModel
idd
- the idd of this countrypublic void setMvccVersion(long mvccVersion)
setMvccVersion
in interface CountryModel
setMvccVersion
in interface MVCCModel
mvccVersion
- the mvcc version of this countrypublic void setName(String name)
setName
in interface CountryModel
name
- the name of this countrypublic void setNameCurrentLanguageId(String languageId)
setNameCurrentLanguageId
in interface Country
public void setNumber(String number)
setNumber
in interface CountryModel
number
- the number of this countrypublic void setPrimaryKey(long primaryKey)
setPrimaryKey
in interface CountryModel
primaryKey
- the primary key of this countrypublic void setZipRequired(boolean zipRequired)
setZipRequired
in interface CountryModel
zipRequired
- the zip required of this countryprotected CountryWrapper wrap(Country country)
wrap
in class BaseModelWrapper<Country>