com.liferay.portal.model.impl
Class CountryModelImpl
java.lang.Object
com.liferay.portal.model.impl.BaseModelImpl
com.liferay.portal.model.impl.CountryModelImpl
- All Implemented Interfaces:
- com.liferay.portal.model.BaseModel, java.io.Serializable, java.lang.Cloneable, java.lang.Comparable
- Direct Known Subclasses:
- CountryImpl
public class CountryModelImpl
- extends BaseModelImpl
View Source
ServiceBuilder generated this class. Modifications in this class will be
overwritten the next time is generated.
This class is a model that represents the Country
table
in the database.
- Author:
- Brian Wing Shun Chan
- See Also:
com.liferay.portal.service.model.Country
,
com.liferay.portal.service.model.CountryModel
,
com.liferay.portal.service.model.impl.CountryImpl
,
Serialized Form
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
TABLE_NAME
public static final java.lang.String TABLE_NAME
- See Also:
- Constant Field Values
TABLE_COLUMNS
public static final java.lang.Object[][] TABLE_COLUMNS
TABLE_SQL_CREATE
public static final java.lang.String TABLE_SQL_CREATE
- See Also:
- Constant Field Values
TABLE_SQL_DROP
public static final java.lang.String TABLE_SQL_DROP
- See Also:
- Constant Field Values
CACHE_ENABLED
public static final boolean CACHE_ENABLED
LOCK_EXPIRATION_TIME
public static final long LOCK_EXPIRATION_TIME
CountryModelImpl
public CountryModelImpl()
toModel
public static com.liferay.portal.model.Country toModel(com.liferay.portal.model.CountrySoap soapModel)
toModels
public static java.util.List<com.liferay.portal.model.Country> toModels(com.liferay.portal.model.CountrySoap[] soapModels)
getPrimaryKey
public long getPrimaryKey()
setPrimaryKey
public void setPrimaryKey(long pk)
getPrimaryKeyObj
public java.io.Serializable getPrimaryKeyObj()
getCountryId
public long getCountryId()
setCountryId
public void setCountryId(long countryId)
getName
public java.lang.String getName()
setName
public void setName(java.lang.String name)
getA2
public java.lang.String getA2()
setA2
public void setA2(java.lang.String a2)
getA3
public java.lang.String getA3()
setA3
public void setA3(java.lang.String a3)
getNumber
public java.lang.String getNumber()
setNumber
public void setNumber(java.lang.String number)
getIdd
public java.lang.String getIdd()
setIdd
public void setIdd(java.lang.String idd)
getActive
public boolean getActive()
isActive
public boolean isActive()
setActive
public void setActive(boolean active)
toEscapedModel
public com.liferay.portal.model.Country toEscapedModel()
clone
public java.lang.Object clone()
- Specified by:
clone
in interface com.liferay.portal.model.BaseModel
- Specified by:
clone
in class BaseModelImpl
compareTo
public int compareTo(java.lang.Object obj)
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in class java.lang.Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object