com.liferay.portal.model
Interface CountryModel

All Superinterfaces:
BaseModel<Country>, java.lang.Cloneable, java.lang.Comparable<Country>, java.io.Serializable
All Known Subinterfaces:
Country
All Known Implementing Classes:
CountryWrapper

public interface CountryModel
extends BaseModel<Country>

View Source

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

This interface is a model that represents the Country table in the database.

Author:
Brian Wing Shun Chan
See Also:
Country, CountryImpl, CountryModelImpl
Generated:

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()
           
 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()
           
 

Method Detail

getPrimaryKey

long getPrimaryKey()

setPrimaryKey

void setPrimaryKey(long pk)

getCountryId

long getCountryId()

setCountryId

void setCountryId(long countryId)

getName

@AutoEscape
java.lang.String getName()

setName

void setName(java.lang.String name)

getA2

@AutoEscape
java.lang.String getA2()

setA2

void setA2(java.lang.String a2)

getA3

@AutoEscape
java.lang.String getA3()

setA3

void setA3(java.lang.String a3)

getNumber

@AutoEscape
java.lang.String getNumber()

setNumber

void setNumber(java.lang.String number)

getIdd

@AutoEscape
java.lang.String getIdd()

setIdd

void setIdd(java.lang.String idd)

getActive

boolean getActive()

isActive

boolean isActive()

setActive

void setActive(boolean active)

isNew

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

setNew

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

isCachedModel

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

setCachedModel

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

isEscapedModel

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

setEscapedModel

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

getPrimaryKeyObj

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

getExpandoBridge

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

setExpandoBridgeAttributes

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

clone

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

compareTo

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

hashCode

int hashCode()
Overrides:
hashCode in class java.lang.Object

toEscapedModel

Country toEscapedModel()
Specified by:
toEscapedModel in interface BaseModel<Country>

toString

java.lang.String toString()
Overrides:
toString in class java.lang.Object

toXmlString

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