public class ExpandoColumnWrapper extends BaseModelWrapper<ExpandoColumn> implements ExpandoColumn, ModelWrapper<ExpandoColumn>
This class is a wrapper for ExpandoColumn.
ExpandoColumn,
Serialized FormmodelCOLUMN_ID_ACCESSOR| Constructor and Description |
|---|
ExpandoColumnWrapper(ExpandoColumn expandoColumn) |
| Modifier and Type | Method and Description |
|---|---|
ExpandoColumn |
cloneWithOriginalValues() |
Map<String,Function<ExpandoColumn,Object>> |
getAttributeGetterFunctions() |
Map<String,BiConsumer<ExpandoColumn,Object>> |
getAttributeSetterBiConsumers() |
long |
getColumnId()
Returns the column ID of this expando column.
|
long |
getCompanyId()
Returns the company ID of this expando column.
|
long |
getCtCollectionId()
Returns the ct collection ID of this expando column.
|
String |
getDefaultData()
Returns the default data of this expando column.
|
Serializable |
getDefaultValue() |
String |
getDisplayName(Locale locale) |
Map<String,Object> |
getModelAttributes() |
long |
getMvccVersion()
Returns the mvcc version of this expando column.
|
String |
getName()
Returns the name of this expando column.
|
long |
getPrimaryKey()
Returns the primary key of this expando column.
|
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.
|
UnicodeProperties |
getTypeSettingsProperties() |
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 |
setMvccVersion(long mvccVersion)
Sets the mvcc version of this expando column.
|
void |
setName(String name)
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) |
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, toXmlStringclone, getExpandoBridge, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModel, toXmlStringgetModelClass, getModelClassNamegetWrappedModelpublic ExpandoColumnWrapper(ExpandoColumn expandoColumn)
public Map<String,Object> getModelAttributes()
getModelAttributes in interface BaseModel<ExpandoColumn>public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes in interface BaseModel<ExpandoColumn>public ExpandoColumn cloneWithOriginalValues()
cloneWithOriginalValues in interface ExpandoColumnModelcloneWithOriginalValues in interface BaseModel<ExpandoColumn>public long getColumnId()
getColumnId in interface ExpandoColumnModelpublic long getCompanyId()
getCompanyId in interface ExpandoColumnModelgetCompanyId in interface ShardedModelpublic long getCtCollectionId()
getCtCollectionId in interface ExpandoColumnModelgetCtCollectionId in interface CTModel<ExpandoColumn>public String getDefaultData()
getDefaultData in interface ExpandoColumnModelpublic Serializable getDefaultValue()
getDefaultValue in interface ExpandoColumnpublic String getDisplayName(Locale locale)
getDisplayName in interface ExpandoColumnpublic long getMvccVersion()
getMvccVersion in interface ExpandoColumnModelgetMvccVersion in interface MVCCModelpublic String getName()
getName in interface ExpandoColumnModelpublic long getPrimaryKey()
getPrimaryKey in interface ExpandoColumnModelgetPrimaryKey in interface CTModel<ExpandoColumn>public long getTableId()
getTableId in interface ExpandoColumnModelpublic int getType()
getType in interface ExpandoColumnModelpublic String getTypeSettings()
getTypeSettings in interface ExpandoColumnModelpublic UnicodeProperties getTypeSettingsProperties()
getTypeSettingsProperties in interface ExpandoColumnpublic void persist()
PersistedModelpersist in interface PersistedModelpublic void setColumnId(long columnId)
setColumnId in interface ExpandoColumnModelcolumnId - the column ID of this expando columnpublic void setCompanyId(long companyId)
setCompanyId in interface ExpandoColumnModelsetCompanyId in interface ShardedModelcompanyId - the company ID of this expando columnpublic void setCtCollectionId(long ctCollectionId)
setCtCollectionId in interface ExpandoColumnModelsetCtCollectionId in interface CTModel<ExpandoColumn>ctCollectionId - the ct collection ID of this expando columnpublic void setDefaultData(String defaultData)
setDefaultData in interface ExpandoColumnModeldefaultData - the default data of this expando columnpublic void setMvccVersion(long mvccVersion)
setMvccVersion in interface ExpandoColumnModelsetMvccVersion in interface MVCCModelmvccVersion - the mvcc version of this expando columnpublic void setName(String name)
setName in interface ExpandoColumnModelname - the name of this expando columnpublic void setPrimaryKey(long primaryKey)
setPrimaryKey in interface ExpandoColumnModelsetPrimaryKey in interface CTModel<ExpandoColumn>primaryKey - the primary key of this expando columnpublic void setTableId(long tableId)
setTableId in interface ExpandoColumnModeltableId - the table ID of this expando columnpublic void setType(int type)
setType in interface ExpandoColumnModeltype - the type of this expando columnpublic void setTypeSettings(String typeSettings)
setTypeSettings in interface ExpandoColumnModeltypeSettings - the type settings of this expando columnpublic void setTypeSettingsProperties(UnicodeProperties typeSettingsUnicodeProperties)
setTypeSettingsProperties in interface ExpandoColumnpublic Map<String,Function<ExpandoColumn,Object>> getAttributeGetterFunctions()
getAttributeGetterFunctions in interface BaseModel<ExpandoColumn>public Map<String,BiConsumer<ExpandoColumn,Object>> getAttributeSetterBiConsumers()
getAttributeSetterBiConsumers in interface BaseModel<ExpandoColumn>protected ExpandoColumnWrapper wrap(ExpandoColumn expandoColumn)
wrap in class BaseModelWrapper<ExpandoColumn>