|
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<ExpandoColumn>
com.liferay.portlet.expando.model.impl.ExpandoColumnModelImpl
public class ExpandoColumnModelImpl
The base model implementation for the ExpandoColumn service. Represents a row in the "ExpandoColumn" database table, with each column mapped to a property of this class.
This implementation and its corresponding interface ExpandoColumnModel exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in ExpandoColumnImpl.
Never modify or reference this class directly. All methods that expect a expando column model instance should use the ExpandoColumn interface instead.
ExpandoColumnImpl,
ExpandoColumn,
ExpandoColumnModel,
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 | |
|---|---|
ExpandoColumnModelImpl()
|
|
| Method Summary | |
|---|---|
Object |
clone()
Creates a shallow clone of this model instance. |
int |
compareTo(ExpandoColumn expandoColumn)
|
boolean |
equals(Object obj)
|
long |
getColumnId()
Gets the column id of this expando column. |
long |
getCompanyId()
Gets the company id of this expando column. |
String |
getDefaultData()
Gets the default data of this expando column. |
String |
getName()
Gets the name of this expando column. |
String |
getOriginalName()
|
long |
getOriginalTableId()
|
long |
getPrimaryKey()
Gets the primary key of this expando column. |
Serializable |
getPrimaryKeyObj()
Gets the primary key of this model instance. |
long |
getTableId()
Gets the table id of this expando column. |
int |
getType()
Gets the type of this expando column. |
String |
getTypeSettings()
Gets the type settings of this expando column. |
int |
hashCode()
|
void |
setColumnId(long columnId)
Sets the column id of this expando column. |
void |
setCompanyId(long companyId)
Sets the company id of this expando column. |
void |
setDefaultData(String defaultData)
Sets the default data of this expando column. |
void |
setName(String name)
Sets the name of this expando column. |
void |
setPrimaryKey(long pk)
Sets the primary key of this expando column |
void |
setTableId(long tableId)
Sets the table id of this expando column. |
void |
setType(int type)
Sets the type of this expando column. |
void |
setTypeSettings(String typeSettings)
Sets the type settings of this expando column. |
ExpandoColumn |
toEscapedModel()
Gets a copy of this expando column as an escaped model instance by wrapping it with an AutoEscapeBeanHandler. |
static ExpandoColumn |
toModel(ExpandoColumnSoap soapModel)
Converts the soap model instance into a normal model instance. |
static List<ExpandoColumn> |
toModels(ExpandoColumnSoap[] 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 |
|---|
getExpandoBridge, isCachedModel, isEscapedModel, isNew, setCachedModel, setEscapedModel, setExpandoBridgeAttributes, setNew |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface com.liferay.portlet.expando.model.ExpandoColumnModel |
|---|
getExpandoBridge, isCachedModel, isEscapedModel, isNew, setCachedModel, setEscapedModel, setExpandoBridgeAttributes, 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 ExpandoColumnModelImpl()
| Method Detail |
|---|
public static ExpandoColumn toModel(ExpandoColumnSoap soapModel)
soapModel - the soap model instance to convert
public static List<ExpandoColumn> toModels(ExpandoColumnSoap[] soapModels)
soapModels - the soap model instances to convert
public long getPrimaryKey()
ExpandoColumnModel
getPrimaryKey in interface ExpandoColumnModelpublic void setPrimaryKey(long pk)
ExpandoColumnModel
setPrimaryKey in interface ExpandoColumnModelpk - the primary key of this expando columnpublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj in interface BaseModel<ExpandoColumn>getPrimaryKeyObj in interface ExpandoColumnModelpublic long getColumnId()
ExpandoColumnModel
getColumnId in interface ExpandoColumnModelpublic void setColumnId(long columnId)
ExpandoColumnModel
setColumnId in interface ExpandoColumnModelcolumnId - the column id of this expando columnpublic long getCompanyId()
ExpandoColumnModel
getCompanyId in interface ExpandoColumnModelpublic void setCompanyId(long companyId)
ExpandoColumnModel
setCompanyId in interface ExpandoColumnModelcompanyId - the company id of this expando columnpublic long getTableId()
ExpandoColumnModel
getTableId in interface ExpandoColumnModelpublic void setTableId(long tableId)
ExpandoColumnModel
setTableId in interface ExpandoColumnModeltableId - the table id of this expando columnpublic long getOriginalTableId()
public String getName()
ExpandoColumnModel
getName in interface ExpandoColumnModelpublic void setName(String name)
ExpandoColumnModel
setName in interface ExpandoColumnModelname - the name of this expando columnpublic String getOriginalName()
public int getType()
ExpandoColumnModel
getType in interface ExpandoColumnModelpublic void setType(int type)
ExpandoColumnModel
setType in interface ExpandoColumnModeltype - the type of this expando columnpublic String getDefaultData()
ExpandoColumnModel
getDefaultData in interface ExpandoColumnModelpublic void setDefaultData(String defaultData)
ExpandoColumnModel
setDefaultData in interface ExpandoColumnModeldefaultData - the default data of this expando columnpublic String getTypeSettings()
ExpandoColumnModel
getTypeSettings in interface ExpandoColumnModelpublic void setTypeSettings(String typeSettings)
ExpandoColumnModel
setTypeSettings in interface ExpandoColumnModeltypeSettings - the type settings of this expando columnpublic ExpandoColumn toEscapedModel()
ExpandoColumnModelAutoEscapeBeanHandler.
toEscapedModel in interface ExpandoColumnModelAutoEscapeBeanHandlerpublic Object clone()
BaseModel
clone in interface BaseModel<ExpandoColumn>clone in interface ExpandoColumnModelclone in class BaseModelImpl<ExpandoColumn>public int compareTo(ExpandoColumn expandoColumn)
compareTo in interface ExpandoColumnModelcompareTo in interface Comparable<ExpandoColumn>public boolean equals(Object obj)
equals in class Objectpublic int hashCode()
hashCode in interface ExpandoColumnModelhashCode in class Objectpublic String toString()
toString in interface ExpandoColumnModeltoString in class Objectpublic String toXmlString()
BaseModel
toXmlString in interface BaseModel<ExpandoColumn>toXmlString in interface ExpandoColumnModel
|
Liferay 6.0.4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||