|
Liferay 6.1.2-ce-ga3 | |||||||||
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
@JSON(strict=true) 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
.
ExpandoColumnImpl
,
ExpandoColumn
,
ExpandoColumnModel
,
Serialized FormField Summary | |
---|---|
static boolean |
COLUMN_BITMASK_ENABLED
|
static String |
DATA_SOURCE
|
static boolean |
ENTITY_CACHE_ENABLED
|
static boolean |
FINDER_CACHE_ENABLED
|
static long |
LOCK_EXPIRATION_TIME
|
static long |
NAME_COLUMN_BITMASK
|
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 long |
TABLEID_COLUMN_BITMASK
|
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 |
getColumnBitmask()
|
long |
getColumnId()
Returns the column ID of this expando column. |
long |
getCompanyId()
Returns the company ID of this expando column. |
String |
getDefaultData()
Returns the default data of this expando column. |
Map<String,Object> |
getModelAttributes()
|
Class<?> |
getModelClass()
|
String |
getModelClassName()
|
String |
getName()
Returns the name of this expando column. |
String |
getOriginalName()
|
long |
getOriginalTableId()
|
long |
getPrimaryKey()
Returns the primary key of this expando column. |
Serializable |
getPrimaryKeyObj()
Returns the primary key of this model instance. |
long |
getTableId()
Returns the table ID of this expando column. |
int |
getType()
Returns the type of this expando column. |
String |
getTypeSettings()
Returns the type settings of this expando column. |
int |
hashCode()
|
void |
resetOriginalValues()
Reset all original fields to current values. |
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 |
setModelAttributes(Map<String,Object> attributes)
|
void |
setName(String name)
Sets the name of this expando column. |
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this expando column. |
void |
setPrimaryKeyObj(Serializable primaryKeyObj)
Sets the primary key of this model instance. |
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. |
CacheModel<ExpandoColumn> |
toCacheModel()
Returns a cache model object for this entity used by entity cache. |
ExpandoColumn |
toEscapedModel()
Returns a copy of this entity 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()
|
ExpandoColumn |
toUnescapedModel()
|
String |
toXmlString()
Returns the XML representation of this model instance. |
Methods inherited from class com.liferay.portal.model.impl.BaseModelImpl |
---|
getExpandoBridge, getLocale, isCachedModel, isEscapedModel, isNew, setCachedModel, 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, 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 boolean COLUMN_BITMASK_ENABLED
public static long NAME_COLUMN_BITMASK
public static long TABLEID_COLUMN_BITMASK
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 primaryKey)
ExpandoColumnModel
setPrimaryKey
in interface ExpandoColumnModel
primaryKey
- the primary key of this expando columnpublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj
in interface BaseModel<ExpandoColumn>
getPrimaryKeyObj
in interface ClassedModel
getPrimaryKeyObj
in interface ExpandoColumnModel
public void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj
in interface BaseModel<ExpandoColumn>
setPrimaryKeyObj
in interface ClassedModel
setPrimaryKeyObj
in interface ExpandoColumnModel
primaryKeyObj
- the primary key of this model instancepublic Class<?> getModelClass()
getModelClass
in interface ClassedModel
public String getModelClassName()
getModelClassName
in interface ClassedModel
public Map<String,Object> getModelAttributes()
getModelAttributes
in interface BaseModel<ExpandoColumn>
getModelAttributes
in class BaseModelImpl<ExpandoColumn>
public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes
in interface BaseModel<ExpandoColumn>
setModelAttributes
in class BaseModelImpl<ExpandoColumn>
@JSON 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 column@JSON public long getCompanyId()
ExpandoColumnModel
getCompanyId
in interface ExpandoColumnModel
public void setCompanyId(long companyId)
ExpandoColumnModel
setCompanyId
in interface ExpandoColumnModel
companyId
- the company ID of this expando column@JSON public 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()
@JSON 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()
@JSON public int getType()
ExpandoColumnModel
getType
in interface ExpandoColumnModel
public void setType(int type)
ExpandoColumnModel
setType
in interface ExpandoColumnModel
type
- the type of this expando column@JSON public String getDefaultData()
ExpandoColumnModel
getDefaultData
in interface ExpandoColumnModel
public void setDefaultData(String defaultData)
ExpandoColumnModel
setDefaultData
in interface ExpandoColumnModel
defaultData
- the default data of this expando column@JSON public 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 long getColumnBitmask()
public ExpandoColumn toEscapedModel()
BaseModel
AutoEscapeBeanHandler
.
toEscapedModel
in interface BaseModel<ExpandoColumn>
toEscapedModel
in interface ExpandoColumnModel
toEscapedModel
in class BaseModelImpl<ExpandoColumn>
AutoEscapeBeanHandler
public ExpandoColumn toUnescapedModel()
toUnescapedModel
in interface BaseModel<ExpandoColumn>
toUnescapedModel
in interface ExpandoColumnModel
toUnescapedModel
in class BaseModelImpl<ExpandoColumn>
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 void resetOriginalValues()
BaseModel
resetOriginalValues
in interface BaseModel<ExpandoColumn>
resetOriginalValues
in class BaseModelImpl<ExpandoColumn>
public CacheModel<ExpandoColumn> toCacheModel()
BaseModel
toCacheModel
in interface BaseModel<ExpandoColumn>
toCacheModel
in interface ExpandoColumnModel
toCacheModel
in class BaseModelImpl<ExpandoColumn>
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.1.2-ce-ga3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |