@ProviderType public class ExpandoColumnWrapper extends java.lang.Object implements ExpandoColumn, ModelWrapper<ExpandoColumn>
This class is a wrapper for ExpandoColumn.
ExpandoColumn,
Serialized FormCOLUMN_ID_ACCESSOR| Constructor and Description |
|---|
ExpandoColumnWrapper(ExpandoColumn expandoColumn) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
clone()
Creates a shallow clone of this model instance.
|
int |
compareTo(ExpandoColumn expandoColumn) |
boolean |
equals(java.lang.Object obj) |
long |
getColumnId()
Returns the column ID of this expando column.
|
long |
getCompanyId()
Returns the company ID of this expando column.
|
java.lang.String |
getDefaultData()
Returns the default data of this expando column.
|
java.io.Serializable |
getDefaultValue() |
java.lang.String |
getDisplayName(java.util.Locale locale) |
ExpandoBridge |
getExpandoBridge()
Returns the expando bridge for this model instance.
|
java.util.Map<java.lang.String,java.lang.Object> |
getModelAttributes() |
java.lang.Class<?> |
getModelClass() |
java.lang.String |
getModelClassName() |
java.lang.String |
getName()
Returns the name of this expando column.
|
long |
getPrimaryKey()
Returns the primary key of this expando column.
|
java.io.Serializable |
getPrimaryKeyObj()
Returns the primary key of this model instance.
|
long |
getTableId()
Returns the table ID of this expando column.
|
int |
getType()
Returns the type of this expando column.
|
java.lang.String |
getTypeSettings()
Returns the type settings of this expando column.
|
UnicodeProperties |
getTypeSettingsProperties() |
ExpandoColumn |
getWrappedExpandoColumn()
Deprecated.
As of 6.1.0, replaced by
getWrappedModel() |
ExpandoColumn |
getWrappedModel() |
int |
hashCode() |
boolean |
isCachedModel()
Returns
true if this model instance was retrieved from the
entity cache. |
boolean |
isEntityCacheEnabled()
Returns
true if this model's entity cache is enabled. |
boolean |
isEscapedModel()
Returns
true if this model instance is escaped. |
boolean |
isFinderCacheEnabled()
Returns
true if this model's finder cache is enabled. |
boolean |
isNew()
Returns
true if this model instance does not yet exist in
the database. |
void |
persist()
Updates this model instance in the database or adds it if it does not yet
exist.
|
void |
resetOriginalValues()
Reset all original fields to current values.
|
void |
setCachedModel(boolean cachedModel)
Sets whether this model instance was retrieved from the entity cache.
|
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(java.lang.String defaultData)
Sets the default data of this expando column.
|
void |
setExpandoBridgeAttributes(BaseModel<?> baseModel) |
void |
setExpandoBridgeAttributes(ExpandoBridge expandoBridge) |
void |
setExpandoBridgeAttributes(ServiceContext serviceContext)
Sets the expando bridge attributes for this model instance to the
attributes stored in the service context.
|
void |
setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes) |
void |
setName(java.lang.String name)
Sets the name of this expando column.
|
void |
setNew(boolean n)
Sets whether this model instance does not yet exist in the database.
|
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this expando column.
|
void |
setPrimaryKeyObj(java.io.Serializable primaryKeyObj)
Sets the primary key of this model instance.
|
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(java.lang.String typeSettings)
Sets the type settings of this expando column.
|
void |
setTypeSettingsProperties(UnicodeProperties typeSettingsProperties) |
CacheModel<ExpandoColumn> |
toCacheModel()
Returns a cache model object for this entity used by entity cache.
|
ExpandoColumn |
toEscapedModel()
Returns a copy of this entity as an escaped model instance by wrapping it
with an
AutoEscapeBeanHandler. |
java.lang.String |
toString() |
ExpandoColumn |
toUnescapedModel() |
java.lang.String |
toXmlString()
Returns the XML representation of this model instance.
|
public ExpandoColumnWrapper(ExpandoColumn expandoColumn)
public java.lang.Class<?> getModelClass()
getModelClass in interface ClassedModelpublic java.lang.String getModelClassName()
getModelClassName in interface ClassedModelpublic java.util.Map<java.lang.String,java.lang.Object> getModelAttributes()
getModelAttributes in interface BaseModel<ExpandoColumn>public void setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes)
setModelAttributes in interface BaseModel<ExpandoColumn>public java.lang.Object clone()
BaseModelclone in interface BaseModel<ExpandoColumn>clone in interface ExpandoColumnModelclone in class java.lang.Objectpublic int compareTo(ExpandoColumn expandoColumn)
compareTo in interface ExpandoColumnModelcompareTo in interface java.lang.Comparable<ExpandoColumn>public long getColumnId()
getColumnId in interface ExpandoColumnModelpublic long getCompanyId()
getCompanyId in interface ExpandoColumnModelpublic java.lang.String getDefaultData()
getDefaultData in interface ExpandoColumnModelpublic java.io.Serializable getDefaultValue()
getDefaultValue in interface ExpandoColumnpublic java.lang.String getDisplayName(java.util.Locale locale)
getDisplayName in interface ExpandoColumnpublic ExpandoBridge getExpandoBridge()
BaseModelgetExpandoBridge in interface BaseModel<ExpandoColumn>getExpandoBridge in interface ClassedModelgetExpandoBridge in interface ExpandoColumnModelpublic java.lang.String getName()
getName in interface ExpandoColumnModelpublic long getPrimaryKey()
getPrimaryKey in interface ExpandoColumnModelpublic java.io.Serializable getPrimaryKeyObj()
BaseModelgetPrimaryKeyObj in interface BaseModel<ExpandoColumn>getPrimaryKeyObj in interface ClassedModelgetPrimaryKeyObj in interface ExpandoColumnModelpublic long getTableId()
getTableId in interface ExpandoColumnModelpublic int getType()
getType in interface ExpandoColumnModelpublic java.lang.String getTypeSettings()
getTypeSettings in interface ExpandoColumnModelpublic UnicodeProperties getTypeSettingsProperties()
getTypeSettingsProperties in interface ExpandoColumnpublic int hashCode()
hashCode in interface ExpandoColumnModelhashCode in class java.lang.Objectpublic boolean isCachedModel()
BaseModeltrue if this model instance was retrieved from the
entity cache.isCachedModel in interface BaseModel<ExpandoColumn>isCachedModel in interface ExpandoColumnModeltrue if this model instance was retrieved from the
entity cache; false otherwiseBaseModel.setCachedModel(boolean)public boolean isEscapedModel()
BaseModeltrue if this model instance is escaped.isEscapedModel in interface BaseModel<ExpandoColumn>isEscapedModel in interface ExpandoColumnModeltrue if this model instance is escaped;
false otherwisepublic boolean isNew()
BaseModeltrue if this model instance does not yet exist in
the database.isNew in interface BaseModel<ExpandoColumn>isNew in interface ExpandoColumnModeltrue if this model instance does not yet exist in
the database; false otherwisepublic void persist()
PersistedModelpersist in interface PersistedModelpublic void setCachedModel(boolean cachedModel)
BaseModelsetCachedModel in interface BaseModel<ExpandoColumn>setCachedModel in interface ExpandoColumnModelcachedModel - whether this model instance was retrieved from the
entity cacheEntityCachepublic void setColumnId(long columnId)
setColumnId in interface ExpandoColumnModelcolumnId - the column ID of this expando columnpublic void setCompanyId(long companyId)
setCompanyId in interface ExpandoColumnModelcompanyId - the company ID of this expando columnpublic void setDefaultData(java.lang.String defaultData)
setDefaultData in interface ExpandoColumnModeldefaultData - the default data of this expando columnpublic void setExpandoBridgeAttributes(BaseModel<?> baseModel)
setExpandoBridgeAttributes in interface BaseModel<ExpandoColumn>setExpandoBridgeAttributes in interface ExpandoColumnModelpublic void setExpandoBridgeAttributes(ExpandoBridge expandoBridge)
setExpandoBridgeAttributes in interface BaseModel<ExpandoColumn>setExpandoBridgeAttributes in interface ExpandoColumnModelpublic void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModelsetExpandoBridgeAttributes in interface BaseModel<ExpandoColumn>setExpandoBridgeAttributes in interface ExpandoColumnModelserviceContext - the service context to be appliedServiceContext.getExpandoBridgeAttributes(
)public void setName(java.lang.String name)
setName in interface ExpandoColumnModelname - the name of this expando columnpublic void setNew(boolean n)
BaseModelsetNew in interface BaseModel<ExpandoColumn>setNew in interface ExpandoColumnModeln - whether this model instance does not yet exist in the databasepublic void setPrimaryKey(long primaryKey)
setPrimaryKey in interface ExpandoColumnModelprimaryKey - the primary key of this expando columnpublic void setPrimaryKeyObj(java.io.Serializable primaryKeyObj)
BaseModelsetPrimaryKeyObj in interface BaseModel<ExpandoColumn>setPrimaryKeyObj in interface ClassedModelsetPrimaryKeyObj in interface ExpandoColumnModelprimaryKeyObj - the primary key of this model instancepublic 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(java.lang.String typeSettings)
setTypeSettings in interface ExpandoColumnModeltypeSettings - the type settings of this expando columnpublic void setTypeSettingsProperties(UnicodeProperties typeSettingsProperties)
setTypeSettingsProperties in interface ExpandoColumnpublic CacheModel<ExpandoColumn> toCacheModel()
BaseModeltoCacheModel in interface BaseModel<ExpandoColumn>toCacheModel in interface ExpandoColumnModelpublic ExpandoColumn toEscapedModel()
BaseModelAutoEscapeBeanHandler.toEscapedModel in interface BaseModel<ExpandoColumn>toEscapedModel in interface ExpandoColumnModelAutoEscapeBeanHandlerpublic java.lang.String toString()
toString in interface ExpandoColumnModeltoString in class java.lang.Objectpublic ExpandoColumn toUnescapedModel()
toUnescapedModel in interface BaseModel<ExpandoColumn>toUnescapedModel in interface ExpandoColumnModelpublic java.lang.String toXmlString()
BaseModeltoXmlString in interface BaseModel<ExpandoColumn>toXmlString in interface ExpandoColumnModelpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Object@Deprecated public ExpandoColumn getWrappedExpandoColumn()
getWrappedModel()public ExpandoColumn getWrappedModel()
getWrappedModel in interface ModelWrapper<ExpandoColumn>public boolean isEntityCacheEnabled()
BaseModeltrue if this model's entity cache is enabled.isEntityCacheEnabled in interface BaseModel<ExpandoColumn>true if this model's entity cache is enabled;
false otherwisepublic boolean isFinderCacheEnabled()
BaseModeltrue if this model's finder cache is enabled.isFinderCacheEnabled in interface BaseModel<ExpandoColumn>true if this model's finder cache is enabled;
false otherwisepublic void resetOriginalValues()
BaseModelresetOriginalValues in interface BaseModel<ExpandoColumn>