|
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<Region>
com.liferay.portal.model.impl.RegionModelImpl
public class RegionModelImpl
This interface is a model that represents the Region table in the database.
RegionImpl,
Region,
RegionModel,
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 | |
|---|---|
RegionModelImpl()
|
|
| Method Summary | |
|---|---|
Object |
clone()
Creates a shallow clone of this model instance. |
int |
compareTo(Region region)
|
boolean |
equals(Object obj)
|
boolean |
getActive()
|
long |
getCountryId()
|
ExpandoBridge |
getExpandoBridge()
Gets the expando bridge for this model instance. |
String |
getName()
|
long |
getPrimaryKey()
|
Serializable |
getPrimaryKeyObj()
Gets the primary key for this model instance. |
String |
getRegionCode()
|
long |
getRegionId()
|
int |
hashCode()
|
boolean |
isActive()
|
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 |
setName(String name)
|
void |
setPrimaryKey(long pk)
|
void |
setRegionCode(String regionCode)
|
void |
setRegionId(long regionId)
|
Region |
toEscapedModel()
|
static Region |
toModel(RegionSoap soapModel)
|
static List<Region> |
toModels(RegionSoap[] 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.RegionModel |
|---|
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 RegionModelImpl()
| Method Detail |
|---|
public static Region toModel(RegionSoap soapModel)
public static List<Region> toModels(RegionSoap[] soapModels)
public long getPrimaryKey()
getPrimaryKey in interface RegionModelpublic void setPrimaryKey(long pk)
setPrimaryKey in interface RegionModelpublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj in interface BaseModel<Region>getPrimaryKeyObj in interface RegionModelpublic long getRegionId()
getRegionId in interface RegionModelpublic void setRegionId(long regionId)
setRegionId in interface RegionModelpublic long getCountryId()
getCountryId in interface RegionModelpublic void setCountryId(long countryId)
setCountryId in interface RegionModelpublic String getRegionCode()
getRegionCode in interface RegionModelpublic void setRegionCode(String regionCode)
setRegionCode in interface RegionModelpublic String getName()
getName in interface RegionModelpublic void setName(String name)
setName in interface RegionModelpublic boolean getActive()
getActive in interface RegionModelpublic boolean isActive()
isActive in interface RegionModelpublic void setActive(boolean active)
setActive in interface RegionModelpublic Region toEscapedModel()
toEscapedModel in interface RegionModelpublic ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge in interface BaseModel<Region>getExpandoBridge in interface RegionModelgetExpandoBridge in class BaseModelImpl<Region>public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes in interface BaseModel<Region>setExpandoBridgeAttributes in interface RegionModelsetExpandoBridgeAttributes in class BaseModelImpl<Region>serviceContext - the service context to retrieve the expando bridge
attributes fromServiceContext.getExpandoBridgeAttributes(
)public Object clone()
BaseModel
clone in interface BaseModel<Region>clone in interface RegionModelclone in class BaseModelImpl<Region>public int compareTo(Region region)
compareTo in interface RegionModelcompareTo in interface Comparable<Region>public boolean equals(Object obj)
equals in class Objectpublic int hashCode()
hashCode in interface RegionModelhashCode in class Objectpublic String toString()
toString in interface RegionModeltoString in class Objectpublic String toXmlString()
BaseModel
toXmlString in interface BaseModel<Region>toXmlString in interface RegionModel
|
Liferay 6.0.3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||