|
Liferay 6.0.4 | |||||||||
| 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
The base model implementation for the Country service. Represents a row in the "Country" database table, with each column mapped to a property of this class.
This implementation and its corresponding interface CountryModel exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in CountryImpl.
Never modify or reference this class directly. All methods that expect a country model instance should use the Country interface instead.
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()
Gets the a2 of this country. |
String |
getA3()
Gets the a3 of this country. |
boolean |
getActive()
Gets the active of this country. |
long |
getCountryId()
Gets the country id of this country. |
ExpandoBridge |
getExpandoBridge()
Gets the expando bridge for this model instance. |
String |
getIdd()
Gets the idd of this country. |
String |
getName()
Gets the name of this country. |
String |
getNumber()
Gets the number of this country. |
String |
getOriginalA2()
|
String |
getOriginalA3()
|
String |
getOriginalName()
|
long |
getPrimaryKey()
Gets the primary key of this country. |
Serializable |
getPrimaryKeyObj()
Gets the primary key of this model instance. |
int |
hashCode()
|
boolean |
isActive()
Determines whether this country is active. |
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 {$entity.humanName} is active. |
void |
setCountryId(long countryId)
Sets the country id of this country. |
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)
Sets the idd of this country. |
void |
setName(String name)
Sets the name of this country. |
void |
setNumber(String number)
Sets the number of this country. |
void |
setPrimaryKey(long pk)
Sets the primary key of this country |
Country |
toEscapedModel()
Gets a copy of this country as an escaped model instance by wrapping it with an AutoEscapeBeanHandler. |
static Country |
toModel(CountrySoap soapModel)
Converts the soap model instance into a normal model instance. |
static List<Country> |
toModels(CountrySoap[] soapModels)
Converts the soap model instances into normal model instances. |
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)
soapModel - the soap model instance to convert
public static List<Country> toModels(CountrySoap[] soapModels)
soapModels - the soap model instances to convert
public long getPrimaryKey()
CountryModel
getPrimaryKey in interface CountryModelpublic void setPrimaryKey(long pk)
CountryModel
setPrimaryKey in interface CountryModelpk - the primary key of this countrypublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj in interface BaseModel<Country>getPrimaryKeyObj in interface CountryModelpublic long getCountryId()
CountryModel
getCountryId in interface CountryModelpublic void setCountryId(long countryId)
CountryModel
setCountryId in interface CountryModelcountryId - the country id of this countrypublic String getName()
CountryModel
getName in interface CountryModelpublic void setName(String name)
CountryModel
setName in interface CountryModelname - the name of this countrypublic String getOriginalName()
public String getA2()
CountryModel
getA2 in interface CountryModelpublic void setA2(String a2)
CountryModel
setA2 in interface CountryModela2 - the a2 of this countrypublic String getOriginalA2()
public String getA3()
CountryModel
getA3 in interface CountryModelpublic void setA3(String a3)
CountryModel
setA3 in interface CountryModela3 - the a3 of this countrypublic String getOriginalA3()
public String getNumber()
CountryModel
getNumber in interface CountryModelpublic void setNumber(String number)
CountryModel
setNumber in interface CountryModelnumber - the number of this countrypublic String getIdd()
CountryModel
getIdd in interface CountryModelpublic void setIdd(String idd)
CountryModel
setIdd in interface CountryModelidd - the idd of this countrypublic boolean getActive()
CountryModel
getActive in interface CountryModelpublic boolean isActive()
CountryModel
isActive in interface CountryModelpublic void setActive(boolean active)
CountryModel
setActive in interface CountryModelactive - the active of this countrypublic Country toEscapedModel()
CountryModelAutoEscapeBeanHandler.
toEscapedModel in interface CountryModelAutoEscapeBeanHandlerpublic 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.4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||