|
Liferay 6.0.5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.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 FormField 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 ExpandoColumnModel
public void setPrimaryKey(long pk)
ExpandoColumnModel
setPrimaryKey
in interface ExpandoColumnModel
pk
- the primary key of this expando columnpublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj
in interface BaseModel<ExpandoColumn>
getPrimaryKeyObj
in interface ExpandoColumnModel
public long getColumnId()
ExpandoColumnModel
getColumnId
in interface ExpandoColumnModel
public void setColumnId(long columnId)
ExpandoColumnModel
setColumnId
in interface ExpandoColumnModel
columnId
- the column id of this expando columnpublic long getCompanyId()
ExpandoColumnModel
getCompanyId
in interface ExpandoColumnModel
public void setCompanyId(long companyId)
ExpandoColumnModel
setCompanyId
in interface ExpandoColumnModel
companyId
- the company id of this expando columnpublic long getTableId()
ExpandoColumnModel
getTableId
in interface ExpandoColumnModel
public void setTableId(long tableId)
ExpandoColumnModel
setTableId
in interface ExpandoColumnModel
tableId
- the table id of this expando columnpublic long getOriginalTableId()
public String getName()
ExpandoColumnModel
getName
in interface ExpandoColumnModel
public void setName(String name)
ExpandoColumnModel
setName
in interface ExpandoColumnModel
name
- the name of this expando columnpublic String getOriginalName()
public int getType()
ExpandoColumnModel
getType
in interface ExpandoColumnModel
public void setType(int type)
ExpandoColumnModel
setType
in interface ExpandoColumnModel
type
- the type of this expando columnpublic String getDefaultData()
ExpandoColumnModel
getDefaultData
in interface ExpandoColumnModel
public void setDefaultData(String defaultData)
ExpandoColumnModel
setDefaultData
in interface ExpandoColumnModel
defaultData
- the default data of this expando columnpublic String getTypeSettings()
ExpandoColumnModel
getTypeSettings
in interface ExpandoColumnModel
public void setTypeSettings(String typeSettings)
ExpandoColumnModel
setTypeSettings
in interface ExpandoColumnModel
typeSettings
- the type settings of this expando columnpublic ExpandoColumn toEscapedModel()
ExpandoColumnModel
AutoEscapeBeanHandler
.
toEscapedModel
in interface ExpandoColumnModel
AutoEscapeBeanHandler
public Object clone()
BaseModel
clone
in interface BaseModel<ExpandoColumn>
clone
in interface ExpandoColumnModel
clone
in class BaseModelImpl<ExpandoColumn>
public int compareTo(ExpandoColumn expandoColumn)
compareTo
in interface ExpandoColumnModel
compareTo
in interface Comparable<ExpandoColumn>
public boolean equals(Object obj)
equals
in class Object
public int hashCode()
hashCode
in interface ExpandoColumnModel
hashCode
in class Object
public String toString()
toString
in interface ExpandoColumnModel
toString
in class Object
public String toXmlString()
BaseModel
toXmlString
in interface BaseModel<ExpandoColumn>
toXmlString
in interface ExpandoColumnModel
|
Liferay 6.0.5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |