com.liferay.portlet.expando.model.impl
Class ExpandoColumnModelImpl
java.lang.Object
com.liferay.portal.model.impl.BaseModelImpl<ExpandoColumn>
com.liferay.portlet.expando.model.impl.ExpandoColumnModelImpl
- All Implemented Interfaces:
- BaseModel<ExpandoColumn>, ExpandoColumnModel, Serializable, Cloneable, Comparable<ExpandoColumn>
- Direct Known Subclasses:
- ExpandoColumnImpl
public class ExpandoColumnModelImpl
- extends BaseModelImpl<ExpandoColumn>
- implements ExpandoColumnModel
This interface is a model that represents the ExpandoColumn table in the
database.
- See Also:
ExpandoColumnImpl,
ExpandoColumn,
ExpandoColumnModel,
Serialized Form- ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.
TABLE_NAME
public static final String TABLE_NAME
- See Also:
- Constant Field Values
TABLE_COLUMNS
public static final Object[][] TABLE_COLUMNS
TABLE_SQL_CREATE
public static final String TABLE_SQL_CREATE
- See Also:
- Constant Field Values
TABLE_SQL_DROP
public static final String TABLE_SQL_DROP
- See Also:
- Constant Field Values
ORDER_BY_JPQL
public static final String ORDER_BY_JPQL
- See Also:
- Constant Field Values
ORDER_BY_SQL
public static final String ORDER_BY_SQL
- See Also:
- Constant Field Values
DATA_SOURCE
public static final String DATA_SOURCE
- See Also:
- Constant Field Values
SESSION_FACTORY
public static final String SESSION_FACTORY
- See Also:
- Constant Field Values
TX_MANAGER
public static final String TX_MANAGER
- See Also:
- Constant Field Values
ENTITY_CACHE_ENABLED
public static final boolean ENTITY_CACHE_ENABLED
FINDER_CACHE_ENABLED
public static final boolean FINDER_CACHE_ENABLED
LOCK_EXPIRATION_TIME
public static final long LOCK_EXPIRATION_TIME
ExpandoColumnModelImpl
public ExpandoColumnModelImpl()
toModel
public static ExpandoColumn toModel(ExpandoColumnSoap soapModel)
toModels
public static List<ExpandoColumn> toModels(ExpandoColumnSoap[] soapModels)
getPrimaryKey
public long getPrimaryKey()
- Specified by:
getPrimaryKey in interface ExpandoColumnModel
setPrimaryKey
public void setPrimaryKey(long pk)
- Specified by:
setPrimaryKey in interface ExpandoColumnModel
getPrimaryKeyObj
public Serializable getPrimaryKeyObj()
- Description copied from interface:
BaseModel
- Gets the primary key for this model instance.
- Specified by:
getPrimaryKeyObj in interface BaseModel<ExpandoColumn>- Specified by:
getPrimaryKeyObj in interface ExpandoColumnModel
- Returns:
- the primary key
getColumnId
public long getColumnId()
- Specified by:
getColumnId in interface ExpandoColumnModel
setColumnId
public void setColumnId(long columnId)
- Specified by:
setColumnId in interface ExpandoColumnModel
getCompanyId
public long getCompanyId()
- Specified by:
getCompanyId in interface ExpandoColumnModel
setCompanyId
public void setCompanyId(long companyId)
- Specified by:
setCompanyId in interface ExpandoColumnModel
getTableId
public long getTableId()
- Specified by:
getTableId in interface ExpandoColumnModel
setTableId
public void setTableId(long tableId)
- Specified by:
setTableId in interface ExpandoColumnModel
getOriginalTableId
public long getOriginalTableId()
getName
public String getName()
- Specified by:
getName in interface ExpandoColumnModel
setName
public void setName(String name)
- Specified by:
setName in interface ExpandoColumnModel
getOriginalName
public String getOriginalName()
getType
public int getType()
- Specified by:
getType in interface ExpandoColumnModel
setType
public void setType(int type)
- Specified by:
setType in interface ExpandoColumnModel
getDefaultData
public String getDefaultData()
- Specified by:
getDefaultData in interface ExpandoColumnModel
setDefaultData
public void setDefaultData(String defaultData)
- Specified by:
setDefaultData in interface ExpandoColumnModel
getTypeSettings
public String getTypeSettings()
- Specified by:
getTypeSettings in interface ExpandoColumnModel
setTypeSettings
public void setTypeSettings(String typeSettings)
- Specified by:
setTypeSettings in interface ExpandoColumnModel
toEscapedModel
public ExpandoColumn toEscapedModel()
- Specified by:
toEscapedModel in interface ExpandoColumnModel
clone
public Object clone()
- Description copied from interface:
BaseModel
- Creates a shallow clone of this model instance.
- Specified by:
clone in interface BaseModel<ExpandoColumn>- Specified by:
clone in interface ExpandoColumnModel- Specified by:
clone in class BaseModelImpl<ExpandoColumn>
- Returns:
- the clone
compareTo
public int compareTo(ExpandoColumn expandoColumn)
- Specified by:
compareTo in interface ExpandoColumnModel- Specified by:
compareTo in interface Comparable<ExpandoColumn>
equals
public boolean equals(Object obj)
- Overrides:
equals in class Object
hashCode
public int hashCode()
- Specified by:
hashCode in interface ExpandoColumnModel- Overrides:
hashCode in class Object
toString
public String toString()
- Specified by:
toString in interface ExpandoColumnModel- Overrides:
toString in class Object
toXmlString
public String toXmlString()
- Description copied from interface:
BaseModel
- Gets the XML representation of this model instance.
- Specified by:
toXmlString in interface BaseModel<ExpandoColumn>- Specified by:
toXmlString in interface ExpandoColumnModel
- Returns:
- the XML representation of this model instance