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
modelFields inherited from interface com.liferay.expando.kernel.model.ExpandoColumn
COLUMN_ID_ACCESSOR -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlongReturns the column ID of this expando column.longReturns the company ID of this expando column.longReturns 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.longReturns the mvcc version of this expando column.getName()Returns the name of this expando column.longReturns the primary key of this expando column.longReturns the table ID of this expando column.intgetType()Returns the type of this expando column.Returns the type settings of this expando column.voidpersist()Updates this model instance in the database or adds it if it does not yet exist.voidsetColumnId(long columnId) Sets the column ID of this expando column.voidsetCompanyId(long companyId) Sets the company ID of this expando column.voidsetCtCollectionId(long ctCollectionId) Sets the ct collection ID of this expando column.voidsetDefaultData(String defaultData) Sets the default data of this expando column.voidsetModelAttributes(Map<String, Object> attributes) voidsetModifiedDate(Date modifiedDate) Sets the modified date of this expando column.voidsetMvccVersion(long mvccVersion) Sets the mvcc version of this expando column.voidSets the name of this expando column.voidsetPrimaryKey(long primaryKey) Sets the primary key of this expando column.voidsetTableId(long tableId) Sets the table ID of this expando column.voidsetType(int type) Sets the type of this expando column.voidsetTypeSettings(String typeSettings) Sets the type settings of this expando column.voidsetTypeSettingsProperties(UnicodeProperties typeSettingsUnicodeProperties) protected ExpandoColumnWrapperwrap(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, toUnescapedModelMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods 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, toUnescapedModelMethods inherited from interface com.liferay.portal.kernel.model.ClassedModel
getModelClass, getModelClassNameMethods inherited from interface java.lang.Comparable
compareToMethods inherited from interface com.liferay.portal.kernel.model.ModelWrapper
getWrappedModel
-
Constructor Details
-
ExpandoColumnWrapper
-
-
Method Details
-
getModelAttributes
- Specified by:
getModelAttributesin interfaceBaseModel<ExpandoColumn>
-
setModelAttributes
- Specified by:
setModelAttributesin interfaceBaseModel<ExpandoColumn>
-
cloneWithOriginalValues
- Specified by:
cloneWithOriginalValuesin interfaceBaseModel<ExpandoColumn>- Specified by:
cloneWithOriginalValuesin interfaceExpandoColumnModel
-
getColumnId
public long getColumnId()Returns the column ID of this expando column.- Specified by:
getColumnIdin interfaceExpandoColumnModel- Returns:
- the column ID of this expando column
-
getCompanyId
public long getCompanyId()Returns the company ID of this expando column.- Specified by:
getCompanyIdin interfaceExpandoColumnModel- Specified by:
getCompanyIdin interfaceShardedModel- Returns:
- the company ID of this expando column
-
getCtCollectionId
public long getCtCollectionId()Returns the ct collection ID of this expando column.- Specified by:
getCtCollectionIdin interfaceCTModel<ExpandoColumn>- Specified by:
getCtCollectionIdin interfaceExpandoColumnModel- Returns:
- the ct collection ID of this expando column
-
getDefaultData
Returns the default data of this expando column.- Specified by:
getDefaultDatain interfaceExpandoColumnModel- Returns:
- the default data of this expando column
-
getDefaultValue
- Specified by:
getDefaultValuein interfaceExpandoColumn
-
getDisplayName
- Specified by:
getDisplayNamein interfaceExpandoColumn
-
getModifiedDate
Returns the modified date of this expando column.- Specified by:
getModifiedDatein interfaceExpandoColumnModel- Returns:
- the modified date of this expando column
-
getMvccVersion
public long getMvccVersion()Returns the mvcc version of this expando column.- Specified by:
getMvccVersionin interfaceExpandoColumnModel- Specified by:
getMvccVersionin interfaceMVCCModel- Returns:
- the mvcc version of this expando column
-
getName
Returns the name of this expando column.- Specified by:
getNamein interfaceExpandoColumnModel- Returns:
- the name of this expando column
-
getPrimaryKey
public long getPrimaryKey()Returns the primary key of this expando column.- Specified by:
getPrimaryKeyin interfaceCTModel<ExpandoColumn>- Specified by:
getPrimaryKeyin interfaceExpandoColumnModel- Returns:
- the primary key of this expando column
-
getTableId
public long getTableId()Returns the table ID of this expando column.- Specified by:
getTableIdin interfaceExpandoColumnModel- Returns:
- the table ID of this expando column
-
getType
public int getType()Returns the type of this expando column.- Specified by:
getTypein interfaceExpandoColumnModel- Returns:
- the type of this expando column
-
getTypeSettings
Returns the type settings of this expando column.- Specified by:
getTypeSettingsin interfaceExpandoColumnModel- Returns:
- the type settings of this expando column
-
getTypeSettingsProperties
- Specified by:
getTypeSettingsPropertiesin interfaceExpandoColumn
-
persist
public void persist()Description copied from interface:PersistedModelUpdates this model instance in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.- Specified by:
persistin interfacePersistedModel
-
setColumnId
public void setColumnId(long columnId) Sets the column ID of this expando column.- Specified by:
setColumnIdin 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:
setCompanyIdin interfaceExpandoColumnModel- Specified by:
setCompanyIdin 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:
setCtCollectionIdin interfaceCTModel<ExpandoColumn>- Specified by:
setCtCollectionIdin interfaceExpandoColumnModel- Parameters:
ctCollectionId- the ct collection ID of this expando column
-
setDefaultData
Sets the default data of this expando column.- Specified by:
setDefaultDatain interfaceExpandoColumnModel- Parameters:
defaultData- the default data of this expando column
-
setModifiedDate
Sets the modified date of this expando column.- Specified by:
setModifiedDatein 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:
setMvccVersionin interfaceExpandoColumnModel- Specified by:
setMvccVersionin interfaceMVCCModel- Parameters:
mvccVersion- the mvcc version of this expando column
-
setName
Sets the name of this expando column.- Specified by:
setNamein 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:
setPrimaryKeyin interfaceCTModel<ExpandoColumn>- Specified by:
setPrimaryKeyin 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:
setTableIdin 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:
setTypein interfaceExpandoColumnModel- Parameters:
type- the type of this expando column
-
setTypeSettings
Sets the type settings of this expando column.- Specified by:
setTypeSettingsin interfaceExpandoColumnModel- Parameters:
typeSettings- the type settings of this expando column
-
setTypeSettingsProperties
- Specified by:
setTypeSettingsPropertiesin interfaceExpandoColumn
-
toXmlString
- Specified by:
toXmlStringin interfaceExpandoColumnModel
-
getAttributeGetterFunctions
- Specified by:
getAttributeGetterFunctionsin interfaceBaseModel<ExpandoColumn>
-
getAttributeSetterBiConsumers
- Specified by:
getAttributeSetterBiConsumersin interfaceBaseModel<ExpandoColumn>
-
wrap
- Specified by:
wrapin classBaseModelWrapper<ExpandoColumn>
-