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 |
|---|---|
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.
|
Serializable |
getDefaultValue() |
String |
getDisplayName(Locale locale) |
Map<String,Object> |
getModelAttributes() |
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()
NOTE FOR DEVELOPERS:
Never modify or reference this class directly.
|
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 |
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 typeSettingsProperties) |
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 long getColumnId()
getColumnId in interface ExpandoColumnModelpublic long getCompanyId()
getCompanyId in interface ExpandoColumnModelgetCompanyId in interface ShardedModelpublic String getDefaultData()
getDefaultData in interface ExpandoColumnModelpublic Serializable getDefaultValue()
getDefaultValue in interface ExpandoColumnpublic String getDisplayName(Locale locale)
getDisplayName in interface ExpandoColumnpublic String getName()
getName in interface ExpandoColumnModelpublic long getPrimaryKey()
getPrimaryKey in interface ExpandoColumnModelpublic 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()
ExpandoColumn interface instead.persist 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 setDefaultData(String defaultData)
setDefaultData in interface ExpandoColumnModeldefaultData - the default data 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 ExpandoColumnModelprimaryKey - 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 typeSettingsProperties)
setTypeSettingsProperties in interface ExpandoColumnprotected ExpandoColumnWrapper wrap(ExpandoColumn expandoColumn)
wrap in class BaseModelWrapper<ExpandoColumn>