public class ExpandoColumnWrapper extends BaseModelWrapper<ExpandoColumn> implements ExpandoColumn, ModelWrapper<ExpandoColumn>
This class is a wrapper for ExpandoColumn
.
ExpandoColumn
,
Serialized Formmodel
COLUMN_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, toXmlString
clone, getExpandoBridge, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModel, toXmlString
getModelClass, getModelClassName
getWrappedModel
public 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 ExpandoColumnModel
public long getCompanyId()
getCompanyId
in interface ExpandoColumnModel
getCompanyId
in interface ShardedModel
public String getDefaultData()
getDefaultData
in interface ExpandoColumnModel
public Serializable getDefaultValue()
getDefaultValue
in interface ExpandoColumn
public String getDisplayName(Locale locale)
getDisplayName
in interface ExpandoColumn
public String getName()
getName
in interface ExpandoColumnModel
public long getPrimaryKey()
getPrimaryKey
in interface ExpandoColumnModel
public long getTableId()
getTableId
in interface ExpandoColumnModel
public int getType()
getType
in interface ExpandoColumnModel
public String getTypeSettings()
getTypeSettings
in interface ExpandoColumnModel
public UnicodeProperties getTypeSettingsProperties()
getTypeSettingsProperties
in interface ExpandoColumn
public void persist()
ExpandoColumn
interface instead.persist
in interface PersistedModel
public void setColumnId(long columnId)
setColumnId
in interface ExpandoColumnModel
columnId
- the column ID of this expando columnpublic void setCompanyId(long companyId)
setCompanyId
in interface ExpandoColumnModel
setCompanyId
in interface ShardedModel
companyId
- the company ID of this expando columnpublic void setDefaultData(String defaultData)
setDefaultData
in interface ExpandoColumnModel
defaultData
- the default data of this expando columnpublic void setName(String name)
setName
in interface ExpandoColumnModel
name
- the name of this expando columnpublic void setPrimaryKey(long primaryKey)
setPrimaryKey
in interface ExpandoColumnModel
primaryKey
- the primary key of this expando columnpublic void setTableId(long tableId)
setTableId
in interface ExpandoColumnModel
tableId
- the table ID of this expando columnpublic void setType(int type)
setType
in interface ExpandoColumnModel
type
- the type of this expando columnpublic void setTypeSettings(String typeSettings)
setTypeSettings
in interface ExpandoColumnModel
typeSettings
- the type settings of this expando columnpublic void setTypeSettingsProperties(UnicodeProperties typeSettingsProperties)
setTypeSettingsProperties
in interface ExpandoColumn
protected ExpandoColumnWrapper wrap(ExpandoColumn expandoColumn)
wrap
in class BaseModelWrapper<ExpandoColumn>