|
Liferay 6.0.3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.liferay.portal.model.impl.BaseModelImpl<Country>
com.liferay.portal.model.impl.CountryModelImpl
public class CountryModelImpl
This interface is a model that represents the Country table in the database.
CountryImpl,
Country,
CountryModel,
Serialized Form| Field Summary | |
|---|---|
static String |
DATA_SOURCE
|
static boolean |
ENTITY_CACHE_ENABLED
|
static boolean |
FINDER_CACHE_ENABLED
|
static long |
LOCK_EXPIRATION_TIME
|
static String |
ORDER_BY_JPQL
|
static String |
ORDER_BY_SQL
|
static String |
SESSION_FACTORY
|
static Object[][] |
TABLE_COLUMNS
|
static String |
TABLE_NAME
|
static String |
TABLE_SQL_CREATE
|
static String |
TABLE_SQL_DROP
|
static String |
TX_MANAGER
|
| Constructor Summary | |
|---|---|
CountryModelImpl()
|
|
| Method Summary | |
|---|---|
Object |
clone()
Creates a shallow clone of this model instance. |
int |
compareTo(Country country)
|
boolean |
equals(Object obj)
|
String |
getA2()
|
String |
getA3()
|
boolean |
getActive()
|
long |
getCountryId()
|
ExpandoBridge |
getExpandoBridge()
Gets the expando bridge for this model instance. |
String |
getIdd()
|
String |
getName()
|
String |
getNumber()
|
String |
getOriginalA2()
|
String |
getOriginalA3()
|
String |
getOriginalName()
|
long |
getPrimaryKey()
|
Serializable |
getPrimaryKeyObj()
Gets the primary key for this model instance. |
int |
hashCode()
|
boolean |
isActive()
|
void |
setA2(String a2)
|
void |
setA3(String a3)
|
void |
setActive(boolean active)
|
void |
setCountryId(long countryId)
|
void |
setExpandoBridgeAttributes(ServiceContext serviceContext)
Sets the expando bridge attributes for this model instance to the attributes stored in the service context. |
void |
setIdd(String idd)
|
void |
setName(String name)
|
void |
setNumber(String number)
|
void |
setPrimaryKey(long pk)
|
Country |
toEscapedModel()
|
static Country |
toModel(CountrySoap soapModel)
|
static List<Country> |
toModels(CountrySoap[] soapModels)
|
String |
toString()
|
String |
toXmlString()
Gets the XML representation of this model instance. |
| Methods inherited from class com.liferay.portal.model.impl.BaseModelImpl |
|---|
isCachedModel, isEscapedModel, isNew, setCachedModel, setEscapedModel, setNew |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface com.liferay.portal.model.CountryModel |
|---|
isCachedModel, isEscapedModel, isNew, setCachedModel, setEscapedModel, setNew |
| Field Detail |
|---|
public static final String TABLE_NAME
public static final Object[][] TABLE_COLUMNS
public static final String TABLE_SQL_CREATE
public static final String TABLE_SQL_DROP
public static final String ORDER_BY_JPQL
public static final String ORDER_BY_SQL
public static final String DATA_SOURCE
public static final String SESSION_FACTORY
public static final String TX_MANAGER
public static final boolean ENTITY_CACHE_ENABLED
public static final boolean FINDER_CACHE_ENABLED
public static final long LOCK_EXPIRATION_TIME
| Constructor Detail |
|---|
public CountryModelImpl()
| Method Detail |
|---|
public static Country toModel(CountrySoap soapModel)
public static List<Country> toModels(CountrySoap[] soapModels)
public long getPrimaryKey()
getPrimaryKey in interface CountryModelpublic void setPrimaryKey(long pk)
setPrimaryKey in interface CountryModelpublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj in interface BaseModel<Country>getPrimaryKeyObj in interface CountryModelpublic long getCountryId()
getCountryId in interface CountryModelpublic void setCountryId(long countryId)
setCountryId in interface CountryModelpublic String getName()
getName in interface CountryModelpublic void setName(String name)
setName in interface CountryModelpublic String getOriginalName()
public String getA2()
getA2 in interface CountryModelpublic void setA2(String a2)
setA2 in interface CountryModelpublic String getOriginalA2()
public String getA3()
getA3 in interface CountryModelpublic void setA3(String a3)
setA3 in interface CountryModelpublic String getOriginalA3()
public String getNumber()
getNumber in interface CountryModelpublic void setNumber(String number)
setNumber in interface CountryModelpublic String getIdd()
getIdd in interface CountryModelpublic void setIdd(String idd)
setIdd in interface CountryModelpublic boolean getActive()
getActive in interface CountryModelpublic boolean isActive()
isActive in interface CountryModelpublic void setActive(boolean active)
setActive in interface CountryModelpublic Country toEscapedModel()
toEscapedModel in interface CountryModelpublic ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge in interface BaseModel<Country>getExpandoBridge in interface CountryModelgetExpandoBridge in class BaseModelImpl<Country>public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes in interface BaseModel<Country>setExpandoBridgeAttributes in interface CountryModelsetExpandoBridgeAttributes in class BaseModelImpl<Country>serviceContext - the service context to retrieve the expando bridge
attributes fromServiceContext.getExpandoBridgeAttributes(
)public Object clone()
BaseModel
clone in interface BaseModel<Country>clone in interface CountryModelclone in class BaseModelImpl<Country>public int compareTo(Country country)
compareTo in interface CountryModelcompareTo in interface Comparable<Country>public boolean equals(Object obj)
equals in class Objectpublic int hashCode()
hashCode in interface CountryModelhashCode in class Objectpublic String toString()
toString in interface CountryModeltoString in class Objectpublic String toXmlString()
BaseModel
toXmlString in interface BaseModel<Country>toXmlString in interface CountryModel
|
Liferay 6.0.3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||