Package com.liferay.expando.kernel.model
Class ExpandoColumnWrapper
Object
com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<ExpandoColumn>
com.liferay.expando.kernel.model.ExpandoColumnWrapper
- All Implemented Interfaces:
ExpandoColumn
,ExpandoColumnModel
,BaseModel<ExpandoColumn>
,CTModel<ExpandoColumn>
,ClassedModel
,ModelWrapper<ExpandoColumn>
,MVCCModel
,PersistedModel
,ShardedModel
,Serializable
,Cloneable
,Comparable<ExpandoColumn>
public class ExpandoColumnWrapper
extends BaseModelWrapper<ExpandoColumn>
implements ExpandoColumn, ModelWrapper<ExpandoColumn>
This class is a wrapper for ExpandoColumn
.
- Author:
- Brian Wing Shun Chan
- See Also:
- {$generated.description}
-
Field Summary
Fields inherited from class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper
model
Fields inherited from interface com.liferay.expando.kernel.model.ExpandoColumn
COLUMN_ID_ACCESSOR
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlong
Returns the column ID of this expando column.long
Returns the company ID of this expando column.long
Returns the ct collection ID of this expando column.Returns the default data of this expando column.getDisplayName
(Locale locale) Returns the modified date of this expando column.long
Returns the mvcc version of this expando column.getName()
Returns the name of this expando column.long
Returns the primary key of this expando column.long
Returns the table ID of this expando column.int
getType()
Returns the type of this expando column.Returns the type settings of this expando column.void
persist()
Updates this model instance in the database or adds it if it does not yet exist.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
setCtCollectionId
(long ctCollectionId) Sets the ct collection ID of this expando column.void
setDefaultData
(String defaultData) Sets the default data of this expando column.void
setModelAttributes
(Map<String, Object> attributes) void
setModifiedDate
(Date modifiedDate) Sets the modified date of this expando column.void
setMvccVersion
(long mvccVersion) Sets the mvcc version of this expando column.void
Sets the name of this expando column.void
setPrimaryKey
(long primaryKey) 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.void
setTypeSettingsProperties
(UnicodeProperties typeSettingsUnicodeProperties) protected ExpandoColumnWrapper
wrap
(ExpandoColumn expandoColumn) Methods inherited from class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper
clone, compareTo, equals, getExpandoBridge, getModelClass, getModelClassName, getPrimaryKeyObj, getWrappedModel, hashCode, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toString, toUnescapedModel
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.liferay.portal.kernel.model.BaseModel
clone, getExpandoBridge, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModel
Methods inherited from interface com.liferay.portal.kernel.model.ClassedModel
getModelClass, getModelClassName
Methods inherited from interface java.lang.Comparable
compareTo
Methods inherited from interface com.liferay.portal.kernel.model.ModelWrapper
getWrappedModel
-
Constructor Details
-
ExpandoColumnWrapper
-
-
Method Details
-
getModelAttributes
- Specified by:
getModelAttributes
in interfaceBaseModel<ExpandoColumn>
-
setModelAttributes
- Specified by:
setModelAttributes
in interfaceBaseModel<ExpandoColumn>
-
cloneWithOriginalValues
- Specified by:
cloneWithOriginalValues
in interfaceBaseModel<ExpandoColumn>
- Specified by:
cloneWithOriginalValues
in interfaceExpandoColumnModel
-
getColumnId
public long getColumnId()Returns the column ID of this expando column.- Specified by:
getColumnId
in interfaceExpandoColumnModel
- Returns:
- the column ID of this expando column
-
getCompanyId
public long getCompanyId()Returns the company ID of this expando column.- Specified by:
getCompanyId
in interfaceExpandoColumnModel
- Specified by:
getCompanyId
in interfaceShardedModel
- Returns:
- the company ID of this expando column
-
getCtCollectionId
public long getCtCollectionId()Returns the ct collection ID of this expando column.- Specified by:
getCtCollectionId
in interfaceCTModel<ExpandoColumn>
- Specified by:
getCtCollectionId
in interfaceExpandoColumnModel
- Returns:
- the ct collection ID of this expando column
-
getDefaultData
Returns the default data of this expando column.- Specified by:
getDefaultData
in interfaceExpandoColumnModel
- Returns:
- the default data of this expando column
-
getDefaultValue
- Specified by:
getDefaultValue
in interfaceExpandoColumn
-
getDisplayName
- Specified by:
getDisplayName
in interfaceExpandoColumn
-
getModifiedDate
Returns the modified date of this expando column.- Specified by:
getModifiedDate
in interfaceExpandoColumnModel
- Returns:
- the modified date of this expando column
-
getMvccVersion
public long getMvccVersion()Returns the mvcc version of this expando column.- Specified by:
getMvccVersion
in interfaceExpandoColumnModel
- Specified by:
getMvccVersion
in interfaceMVCCModel
- Returns:
- the mvcc version of this expando column
-
getName
Returns the name of this expando column.- Specified by:
getName
in interfaceExpandoColumnModel
- Returns:
- the name of this expando column
-
getPrimaryKey
public long getPrimaryKey()Returns the primary key of this expando column.- Specified by:
getPrimaryKey
in interfaceCTModel<ExpandoColumn>
- Specified by:
getPrimaryKey
in interfaceExpandoColumnModel
- Returns:
- the primary key of this expando column
-
getTableId
public long getTableId()Returns the table ID of this expando column.- Specified by:
getTableId
in interfaceExpandoColumnModel
- Returns:
- the table ID of this expando column
-
getType
public int getType()Returns the type of this expando column.- Specified by:
getType
in interfaceExpandoColumnModel
- Returns:
- the type of this expando column
-
getTypeSettings
Returns the type settings of this expando column.- Specified by:
getTypeSettings
in interfaceExpandoColumnModel
- Returns:
- the type settings of this expando column
-
getTypeSettingsProperties
- Specified by:
getTypeSettingsProperties
in interfaceExpandoColumn
-
persist
public void persist()Description copied from interface:PersistedModel
Updates this model instance in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.- Specified by:
persist
in interfacePersistedModel
-
setColumnId
public void setColumnId(long columnId) Sets the column ID of this expando column.- Specified by:
setColumnId
in interfaceExpandoColumnModel
- Parameters:
columnId
- the column ID of this expando column
-
setCompanyId
public void setCompanyId(long companyId) Sets the company ID of this expando column.- Specified by:
setCompanyId
in interfaceExpandoColumnModel
- Specified by:
setCompanyId
in interfaceShardedModel
- Parameters:
companyId
- the company ID of this expando column
-
setCtCollectionId
public void setCtCollectionId(long ctCollectionId) Sets the ct collection ID of this expando column.- Specified by:
setCtCollectionId
in interfaceCTModel<ExpandoColumn>
- Specified by:
setCtCollectionId
in interfaceExpandoColumnModel
- Parameters:
ctCollectionId
- the ct collection ID of this expando column
-
setDefaultData
Sets the default data of this expando column.- Specified by:
setDefaultData
in interfaceExpandoColumnModel
- Parameters:
defaultData
- the default data of this expando column
-
setModifiedDate
Sets the modified date of this expando column.- Specified by:
setModifiedDate
in interfaceExpandoColumnModel
- Parameters:
modifiedDate
- the modified date of this expando column
-
setMvccVersion
public void setMvccVersion(long mvccVersion) Sets the mvcc version of this expando column.- Specified by:
setMvccVersion
in interfaceExpandoColumnModel
- Specified by:
setMvccVersion
in interfaceMVCCModel
- Parameters:
mvccVersion
- the mvcc version of this expando column
-
setName
Sets the name of this expando column.- Specified by:
setName
in interfaceExpandoColumnModel
- Parameters:
name
- the name of this expando column
-
setPrimaryKey
public void setPrimaryKey(long primaryKey) Sets the primary key of this expando column.- Specified by:
setPrimaryKey
in interfaceCTModel<ExpandoColumn>
- Specified by:
setPrimaryKey
in interfaceExpandoColumnModel
- Parameters:
primaryKey
- the primary key of this expando column
-
setTableId
public void setTableId(long tableId) Sets the table ID of this expando column.- Specified by:
setTableId
in interfaceExpandoColumnModel
- Parameters:
tableId
- the table ID of this expando column
-
setType
public void setType(int type) Sets the type of this expando column.- Specified by:
setType
in interfaceExpandoColumnModel
- Parameters:
type
- the type of this expando column
-
setTypeSettings
Sets the type settings of this expando column.- Specified by:
setTypeSettings
in interfaceExpandoColumnModel
- Parameters:
typeSettings
- the type settings of this expando column
-
setTypeSettingsProperties
- Specified by:
setTypeSettingsProperties
in interfaceExpandoColumn
-
toXmlString
- Specified by:
toXmlString
in interfaceExpandoColumnModel
-
getAttributeGetterFunctions
- Specified by:
getAttributeGetterFunctions
in interfaceBaseModel<ExpandoColumn>
-
getAttributeSetterBiConsumers
- Specified by:
getAttributeSetterBiConsumers
in interfaceBaseModel<ExpandoColumn>
-
wrap
- Specified by:
wrap
in classBaseModelWrapper<ExpandoColumn>
-