com.liferay.portal.model
Class CountryWrapper

java.lang.Object
  extended by com.liferay.portal.model.CountryWrapper
All Implemented Interfaces:
BaseModel<Country>, Country, CountryModel, java.io.Serializable, java.lang.Cloneable, java.lang.Comparable<Country>

public class CountryWrapper
extends java.lang.Object
implements Country

View Source

ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.

This class is a wrapper for Country.

Author:
Brian Wing Shun Chan
See Also:
Country, Serialized Form
Generated:

Constructor Summary
CountryWrapper(Country country)
           
 
Method Summary
 java.lang.Object clone()
           
 int compareTo(Country country)
           
 java.lang.String getA2()
           
 java.lang.String getA3()
           
 boolean getActive()
           
 long getCountryId()
           
 ExpandoBridge getExpandoBridge()
           
 java.lang.String getIdd()
           
 java.lang.String getName()
           
 java.lang.String getNumber()
           
 long getPrimaryKey()
           
 java.io.Serializable getPrimaryKeyObj()
           
 Country getWrappedCountry()
           
 int hashCode()
           
 boolean isActive()
           
 boolean isCachedModel()
           
 boolean isEscapedModel()
           
 boolean isNew()
           
 void setA2(java.lang.String a2)
           
 void setA3(java.lang.String a3)
           
 void setActive(boolean active)
           
 void setCachedModel(boolean cachedModel)
           
 void setCountryId(long countryId)
           
 void setEscapedModel(boolean escapedModel)
           
 void setExpandoBridgeAttributes(ServiceContext serviceContext)
           
 void setIdd(java.lang.String idd)
           
 void setName(java.lang.String name)
           
 boolean setNew(boolean n)
           
 void setNumber(java.lang.String number)
           
 void setPrimaryKey(long pk)
           
 Country toEscapedModel()
           
 java.lang.String toString()
           
 java.lang.String toXmlString()
           
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CountryWrapper

public CountryWrapper(Country country)
Method Detail

getPrimaryKey

public long getPrimaryKey()
Specified by:
getPrimaryKey in interface CountryModel

setPrimaryKey

public void setPrimaryKey(long pk)
Specified by:
setPrimaryKey in interface CountryModel

getCountryId

public long getCountryId()
Specified by:
getCountryId in interface CountryModel

setCountryId

public void setCountryId(long countryId)
Specified by:
setCountryId in interface CountryModel

getName

public java.lang.String getName()
Specified by:
getName in interface CountryModel

setName

public void setName(java.lang.String name)
Specified by:
setName in interface CountryModel

getA2

public java.lang.String getA2()
Specified by:
getA2 in interface CountryModel

setA2

public void setA2(java.lang.String a2)
Specified by:
setA2 in interface CountryModel

getA3

public java.lang.String getA3()
Specified by:
getA3 in interface CountryModel

setA3

public void setA3(java.lang.String a3)
Specified by:
setA3 in interface CountryModel

getNumber

public java.lang.String getNumber()
Specified by:
getNumber in interface CountryModel

setNumber

public void setNumber(java.lang.String number)
Specified by:
setNumber in interface CountryModel

getIdd

public java.lang.String getIdd()
Specified by:
getIdd in interface CountryModel

setIdd

public void setIdd(java.lang.String idd)
Specified by:
setIdd in interface CountryModel

getActive

public boolean getActive()
Specified by:
getActive in interface CountryModel

isActive

public boolean isActive()
Specified by:
isActive in interface CountryModel

setActive

public void setActive(boolean active)
Specified by:
setActive in interface CountryModel

toEscapedModel

public Country toEscapedModel()
Specified by:
toEscapedModel in interface CountryModel

isNew

public boolean isNew()
Specified by:
isNew in interface BaseModel<Country>
Specified by:
isNew in interface CountryModel

setNew

public boolean setNew(boolean n)
Specified by:
setNew in interface BaseModel<Country>
Specified by:
setNew in interface CountryModel

isCachedModel

public boolean isCachedModel()
Specified by:
isCachedModel in interface BaseModel<Country>
Specified by:
isCachedModel in interface CountryModel

setCachedModel

public void setCachedModel(boolean cachedModel)
Specified by:
setCachedModel in interface BaseModel<Country>
Specified by:
setCachedModel in interface CountryModel

isEscapedModel

public boolean isEscapedModel()
Specified by:
isEscapedModel in interface BaseModel<Country>
Specified by:
isEscapedModel in interface CountryModel

setEscapedModel

public void setEscapedModel(boolean escapedModel)
Specified by:
setEscapedModel in interface BaseModel<Country>
Specified by:
setEscapedModel in interface CountryModel

getPrimaryKeyObj

public java.io.Serializable getPrimaryKeyObj()
Specified by:
getPrimaryKeyObj in interface BaseModel<Country>
Specified by:
getPrimaryKeyObj in interface CountryModel

getExpandoBridge

public ExpandoBridge getExpandoBridge()
Specified by:
getExpandoBridge in interface BaseModel<Country>
Specified by:
getExpandoBridge in interface CountryModel

setExpandoBridgeAttributes

public void setExpandoBridgeAttributes(ServiceContext serviceContext)
Specified by:
setExpandoBridgeAttributes in interface BaseModel<Country>
Specified by:
setExpandoBridgeAttributes in interface CountryModel

clone

public java.lang.Object clone()
Specified by:
clone in interface BaseModel<Country>
Specified by:
clone in interface CountryModel
Overrides:
clone in class java.lang.Object

compareTo

public int compareTo(Country country)
Specified by:
compareTo in interface CountryModel
Specified by:
compareTo in interface java.lang.Comparable<Country>

hashCode

public int hashCode()
Specified by:
hashCode in interface CountryModel
Overrides:
hashCode in class java.lang.Object

toString

public java.lang.String toString()
Specified by:
toString in interface CountryModel
Overrides:
toString in class java.lang.Object

toXmlString

public java.lang.String toXmlString()
Specified by:
toXmlString in interface BaseModel<Country>
Specified by:
toXmlString in interface CountryModel

getWrappedCountry

public Country getWrappedCountry()