@ProviderType public class ExpandoValueWrapper extends java.lang.Object implements ExpandoValue, ModelWrapper<ExpandoValue>
This class is a wrapper for ExpandoValue.
ExpandoValue,
Serialized Form| Constructor and Description |
|---|
ExpandoValueWrapper(ExpandoValue expandoValue) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
clone()
Creates a shallow clone of this model instance.
|
int |
compareTo(ExpandoValue expandoValue) |
boolean |
equals(java.lang.Object obj) |
java.util.List<java.util.Locale> |
getAvailableLocales() |
boolean |
getBoolean() |
boolean[] |
getBooleanArray() |
java.lang.String |
getClassName()
Returns the fully qualified class name of this expando value.
|
long |
getClassNameId()
Returns the class name ID of this expando value.
|
long |
getClassPK()
Returns the class p k of this expando value.
|
ExpandoColumn |
getColumn() |
long |
getColumnId()
Returns the column ID of this expando value.
|
long |
getCompanyId()
Returns the company ID of this expando value.
|
java.lang.String |
getData()
Returns the data of this expando value.
|
java.util.Date |
getDate() |
java.util.Date[] |
getDateArray() |
java.util.Locale |
getDefaultLocale() |
double |
getDouble() |
double[] |
getDoubleArray() |
ExpandoBridge |
getExpandoBridge()
Returns the expando bridge for this model instance.
|
float |
getFloat() |
float[] |
getFloatArray() |
int |
getInteger() |
int[] |
getIntegerArray() |
long |
getLong() |
long[] |
getLongArray() |
java.util.Map<java.lang.String,java.lang.Object> |
getModelAttributes() |
java.lang.Class<?> |
getModelClass() |
java.lang.String |
getModelClassName() |
java.lang.Number |
getNumber() |
java.lang.Number[] |
getNumberArray() |
long |
getPrimaryKey()
Returns the primary key of this expando value.
|
java.io.Serializable |
getPrimaryKeyObj()
Returns the primary key of this model instance.
|
long |
getRowId()
Returns the row ID of this expando value.
|
java.io.Serializable |
getSerializable() |
short |
getShort() |
short[] |
getShortArray() |
java.lang.String |
getString() |
java.lang.String |
getString(java.util.Locale locale) |
java.lang.String[] |
getStringArray() |
java.lang.String[] |
getStringArray(java.util.Locale locale) |
java.util.Map<java.util.Locale,java.lang.String[]> |
getStringArrayMap() |
java.util.Map<java.util.Locale,java.lang.String> |
getStringMap() |
long |
getTableId()
Returns the table ID of this expando value.
|
long |
getValueId()
Returns the value ID of this expando value.
|
ExpandoValue |
getWrappedExpandoValue()
Deprecated.
As of 6.1.0, replaced by
getWrappedModel() |
ExpandoValue |
getWrappedModel() |
int |
hashCode() |
boolean |
isCachedModel()
Returns
true if this model instance was retrieved from the
entity cache. |
boolean |
isEscapedModel()
Returns
true if this model instance is escaped. |
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 |
setBoolean(boolean data) |
void |
setBooleanArray(boolean[] data) |
void |
setCachedModel(boolean cachedModel)
Sets whether this model instance was retrieved from the entity cache.
|
void |
setClassName(java.lang.String className) |
void |
setClassNameId(long classNameId)
Sets the class name ID of this expando value.
|
void |
setClassPK(long classPK)
Sets the class p k of this expando value.
|
void |
setColumn(ExpandoColumn column) |
void |
setColumnId(long columnId)
Sets the column ID of this expando value.
|
void |
setCompanyId(long companyId)
Sets the company ID of this expando value.
|
void |
setData(java.lang.String data)
Sets the data of this expando value.
|
void |
setDate(java.util.Date data) |
void |
setDateArray(java.util.Date[] data) |
void |
setDouble(double data) |
void |
setDoubleArray(double[] data) |
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 |
setFloat(float data) |
void |
setFloatArray(float[] data) |
void |
setInteger(int data) |
void |
setIntegerArray(int[] data) |
void |
setLong(long data) |
void |
setLongArray(long[] data) |
void |
setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes) |
void |
setNew(boolean n)
Sets whether this model instance does not yet exist in the database.
|
void |
setNumber(java.lang.Number data) |
void |
setNumberArray(java.lang.Number[] data) |
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this expando value.
|
void |
setPrimaryKeyObj(java.io.Serializable primaryKeyObj)
Sets the primary key of this model instance.
|
void |
setRowId(long rowId)
Sets the row ID of this expando value.
|
void |
setShort(short data) |
void |
setShortArray(short[] data) |
void |
setString(java.lang.String data) |
void |
setString(java.lang.String data,
java.util.Locale locale,
java.util.Locale defaultLocale) |
void |
setStringArray(java.lang.String[] data) |
void |
setStringArray(java.lang.String[] data,
java.util.Locale locale,
java.util.Locale defaultLocale) |
void |
setStringArrayMap(java.util.Map<java.util.Locale,java.lang.String[]> dataMap,
java.util.Locale defaultLocale) |
void |
setStringMap(java.util.Map<java.util.Locale,java.lang.String> dataMap,
java.util.Locale defaultLocale) |
void |
setTableId(long tableId)
Sets the table ID of this expando value.
|
void |
setValueId(long valueId)
Sets the value ID of this expando value.
|
CacheModel<ExpandoValue> |
toCacheModel()
Returns a cache model object for this entity used by entity cache.
|
ExpandoValue |
toEscapedModel()
Returns a copy of this entity as an escaped model instance by wrapping it
with an
AutoEscapeBeanHandler. |
java.lang.String |
toString() |
ExpandoValue |
toUnescapedModel() |
java.lang.String |
toXmlString()
Returns the XML representation of this model instance.
|
public ExpandoValueWrapper(ExpandoValue expandoValue)
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<ExpandoValue>public void setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes)
setModelAttributes in interface BaseModel<ExpandoValue>public long getPrimaryKey()
getPrimaryKey in interface ExpandoValueModelpublic void setPrimaryKey(long primaryKey)
setPrimaryKey in interface ExpandoValueModelprimaryKey - the primary key of this expando valuepublic long getValueId()
getValueId in interface ExpandoValueModelpublic void setValueId(long valueId)
setValueId in interface ExpandoValueModelvalueId - the value ID of this expando valuepublic long getCompanyId()
getCompanyId in interface ExpandoValueModelpublic void setCompanyId(long companyId)
setCompanyId in interface ExpandoValueModelcompanyId - the company ID of this expando valuepublic long getTableId()
getTableId in interface ExpandoValueModelpublic void setTableId(long tableId)
setTableId in interface ExpandoValueModeltableId - the table ID of this expando valuepublic long getColumnId()
getColumnId in interface ExpandoValueModelpublic void setColumnId(long columnId)
setColumnId in interface ExpandoValueModelcolumnId - the column ID of this expando valuepublic long getRowId()
getRowId in interface ExpandoValueModelpublic void setRowId(long rowId)
setRowId in interface ExpandoValueModelrowId - the row ID of this expando valuepublic java.lang.String getClassName()
getClassName in interface TypedModelgetClassName in interface ExpandoValueModelpublic void setClassName(java.lang.String className)
setClassName in interface ExpandoValueModelpublic long getClassNameId()
getClassNameId in interface TypedModelgetClassNameId in interface ExpandoValueModelpublic void setClassNameId(long classNameId)
setClassNameId in interface TypedModelsetClassNameId in interface ExpandoValueModelclassNameId - the class name ID of this expando valuepublic long getClassPK()
getClassPK in interface AttachedModelgetClassPK in interface ExpandoValueModelpublic void setClassPK(long classPK)
setClassPK in interface AttachedModelsetClassPK in interface ExpandoValueModelclassPK - the class p k of this expando valuepublic java.lang.String getData()
getData in interface ExpandoValueModelpublic void setData(java.lang.String data)
setData in interface ExpandoValueModeldata - the data of this expando valuepublic boolean isNew()
BaseModeltrue if this model instance does not yet exist in
the database.isNew in interface BaseModel<ExpandoValue>isNew in interface ExpandoValueModeltrue if this model instance does not yet exist in
the database; false otherwisepublic void setNew(boolean n)
BaseModelsetNew in interface BaseModel<ExpandoValue>setNew in interface ExpandoValueModeln - whether this model instance does not yet exist in the databasepublic boolean isCachedModel()
BaseModeltrue if this model instance was retrieved from the
entity cache.isCachedModel in interface BaseModel<ExpandoValue>isCachedModel in interface ExpandoValueModeltrue if this model instance was retrieved from the
entity cache; false otherwiseBaseModel.setCachedModel(boolean)public void setCachedModel(boolean cachedModel)
BaseModelsetCachedModel in interface BaseModel<ExpandoValue>setCachedModel in interface ExpandoValueModelcachedModel - whether this model instance was retrieved from the
entity cacheEntityCachepublic boolean isEscapedModel()
BaseModeltrue if this model instance is escaped.isEscapedModel in interface BaseModel<ExpandoValue>isEscapedModel in interface ExpandoValueModeltrue if this model instance is escaped;
false otherwisepublic java.io.Serializable getPrimaryKeyObj()
BaseModelgetPrimaryKeyObj in interface BaseModel<ExpandoValue>getPrimaryKeyObj in interface ClassedModelgetPrimaryKeyObj in interface ExpandoValueModelpublic void setPrimaryKeyObj(java.io.Serializable primaryKeyObj)
BaseModelsetPrimaryKeyObj in interface BaseModel<ExpandoValue>setPrimaryKeyObj in interface ClassedModelsetPrimaryKeyObj in interface ExpandoValueModelprimaryKeyObj - the primary key of this model instancepublic ExpandoBridge getExpandoBridge()
BaseModelgetExpandoBridge in interface BaseModel<ExpandoValue>getExpandoBridge in interface ClassedModelgetExpandoBridge in interface ExpandoValueModelpublic void setExpandoBridgeAttributes(BaseModel<?> baseModel)
setExpandoBridgeAttributes in interface BaseModel<ExpandoValue>setExpandoBridgeAttributes in interface ExpandoValueModelpublic void setExpandoBridgeAttributes(ExpandoBridge expandoBridge)
setExpandoBridgeAttributes in interface BaseModel<ExpandoValue>setExpandoBridgeAttributes in interface ExpandoValueModelpublic void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModelsetExpandoBridgeAttributes in interface BaseModel<ExpandoValue>setExpandoBridgeAttributes in interface ExpandoValueModelserviceContext - the service context to be appliedServiceContext.getExpandoBridgeAttributes(
)public java.lang.Object clone()
BaseModelclone in interface BaseModel<ExpandoValue>clone in interface ExpandoValueModelclone in class java.lang.Objectpublic int compareTo(ExpandoValue expandoValue)
compareTo in interface ExpandoValueModelcompareTo in interface java.lang.Comparable<ExpandoValue>public int hashCode()
hashCode in interface ExpandoValueModelhashCode in class java.lang.Objectpublic CacheModel<ExpandoValue> toCacheModel()
BaseModeltoCacheModel in interface BaseModel<ExpandoValue>toCacheModel in interface ExpandoValueModelpublic ExpandoValue toEscapedModel()
BaseModelAutoEscapeBeanHandler.toEscapedModel in interface BaseModel<ExpandoValue>toEscapedModel in interface ExpandoValueModelAutoEscapeBeanHandlerpublic ExpandoValue toUnescapedModel()
toUnescapedModel in interface BaseModel<ExpandoValue>toUnescapedModel in interface ExpandoValueModelpublic java.lang.String toString()
toString in interface ExpandoValueModeltoString in class java.lang.Objectpublic java.lang.String toXmlString()
BaseModeltoXmlString in interface BaseModel<ExpandoValue>toXmlString in interface ExpandoValueModelpublic void persist()
throws SystemException
PersistedModelpersist in interface PersistedModelSystemException - if a system exception occurredpublic java.util.List<java.util.Locale> getAvailableLocales()
throws PortalException,
SystemException
getAvailableLocales in interface ExpandoValuePortalExceptionSystemExceptionpublic boolean getBoolean()
throws PortalException,
SystemException
getBoolean in interface ExpandoValuePortalExceptionSystemExceptionpublic boolean[] getBooleanArray()
throws PortalException,
SystemException
getBooleanArray in interface ExpandoValuePortalExceptionSystemExceptionpublic ExpandoColumn getColumn() throws PortalException, SystemException
getColumn in interface ExpandoValuePortalExceptionSystemExceptionpublic java.util.Date getDate()
throws PortalException,
SystemException
getDate in interface ExpandoValuePortalExceptionSystemExceptionpublic java.util.Date[] getDateArray()
throws PortalException,
SystemException
getDateArray in interface ExpandoValuePortalExceptionSystemExceptionpublic java.util.Locale getDefaultLocale()
throws PortalException,
SystemException
getDefaultLocale in interface ExpandoValuePortalExceptionSystemExceptionpublic double getDouble()
throws PortalException,
SystemException
getDouble in interface ExpandoValuePortalExceptionSystemExceptionpublic double[] getDoubleArray()
throws PortalException,
SystemException
getDoubleArray in interface ExpandoValuePortalExceptionSystemExceptionpublic float getFloat()
throws PortalException,
SystemException
getFloat in interface ExpandoValuePortalExceptionSystemExceptionpublic float[] getFloatArray()
throws PortalException,
SystemException
getFloatArray in interface ExpandoValuePortalExceptionSystemExceptionpublic int getInteger()
throws PortalException,
SystemException
getInteger in interface ExpandoValuePortalExceptionSystemExceptionpublic int[] getIntegerArray()
throws PortalException,
SystemException
getIntegerArray in interface ExpandoValuePortalExceptionSystemExceptionpublic long getLong()
throws PortalException,
SystemException
getLong in interface ExpandoValuePortalExceptionSystemExceptionpublic long[] getLongArray()
throws PortalException,
SystemException
getLongArray in interface ExpandoValuePortalExceptionSystemExceptionpublic java.lang.Number getNumber()
throws PortalException,
SystemException
getNumber in interface ExpandoValuePortalExceptionSystemExceptionpublic java.lang.Number[] getNumberArray()
throws PortalException,
SystemException
getNumberArray in interface ExpandoValuePortalExceptionSystemExceptionpublic java.io.Serializable getSerializable()
throws PortalException,
SystemException
getSerializable in interface ExpandoValuePortalExceptionSystemExceptionpublic short getShort()
throws PortalException,
SystemException
getShort in interface ExpandoValuePortalExceptionSystemExceptionpublic short[] getShortArray()
throws PortalException,
SystemException
getShortArray in interface ExpandoValuePortalExceptionSystemExceptionpublic java.lang.String getString()
throws PortalException,
SystemException
getString in interface ExpandoValuePortalExceptionSystemExceptionpublic java.lang.String getString(java.util.Locale locale)
throws PortalException,
SystemException
getString in interface ExpandoValuePortalExceptionSystemExceptionpublic java.lang.String[] getStringArray()
throws PortalException,
SystemException
getStringArray in interface ExpandoValuePortalExceptionSystemExceptionpublic java.lang.String[] getStringArray(java.util.Locale locale)
throws PortalException,
SystemException
getStringArray in interface ExpandoValuePortalExceptionSystemExceptionpublic java.util.Map<java.util.Locale,java.lang.String[]> getStringArrayMap()
throws PortalException,
SystemException
getStringArrayMap in interface ExpandoValuePortalExceptionSystemExceptionpublic java.util.Map<java.util.Locale,java.lang.String> getStringMap()
throws PortalException,
SystemException
getStringMap in interface ExpandoValuePortalExceptionSystemExceptionpublic void setBoolean(boolean data)
throws PortalException,
SystemException
setBoolean in interface ExpandoValuePortalExceptionSystemExceptionpublic void setBooleanArray(boolean[] data)
throws PortalException,
SystemException
setBooleanArray in interface ExpandoValuePortalExceptionSystemExceptionpublic void setColumn(ExpandoColumn column)
setColumn in interface ExpandoValuepublic void setDate(java.util.Date data)
throws PortalException,
SystemException
setDate in interface ExpandoValuePortalExceptionSystemExceptionpublic void setDateArray(java.util.Date[] data)
throws PortalException,
SystemException
setDateArray in interface ExpandoValuePortalExceptionSystemExceptionpublic void setDouble(double data)
throws PortalException,
SystemException
setDouble in interface ExpandoValuePortalExceptionSystemExceptionpublic void setDoubleArray(double[] data)
throws PortalException,
SystemException
setDoubleArray in interface ExpandoValuePortalExceptionSystemExceptionpublic void setFloat(float data)
throws PortalException,
SystemException
setFloat in interface ExpandoValuePortalExceptionSystemExceptionpublic void setFloatArray(float[] data)
throws PortalException,
SystemException
setFloatArray in interface ExpandoValuePortalExceptionSystemExceptionpublic void setInteger(int data)
throws PortalException,
SystemException
setInteger in interface ExpandoValuePortalExceptionSystemExceptionpublic void setIntegerArray(int[] data)
throws PortalException,
SystemException
setIntegerArray in interface ExpandoValuePortalExceptionSystemExceptionpublic void setLong(long data)
throws PortalException,
SystemException
setLong in interface ExpandoValuePortalExceptionSystemExceptionpublic void setLongArray(long[] data)
throws PortalException,
SystemException
setLongArray in interface ExpandoValuePortalExceptionSystemExceptionpublic void setNumber(java.lang.Number data)
throws PortalException,
SystemException
setNumber in interface ExpandoValuePortalExceptionSystemExceptionpublic void setNumberArray(java.lang.Number[] data)
throws PortalException,
SystemException
setNumberArray in interface ExpandoValuePortalExceptionSystemExceptionpublic void setShort(short data)
throws PortalException,
SystemException
setShort in interface ExpandoValuePortalExceptionSystemExceptionpublic void setShortArray(short[] data)
throws PortalException,
SystemException
setShortArray in interface ExpandoValuePortalExceptionSystemExceptionpublic void setString(java.lang.String data)
throws PortalException,
SystemException
setString in interface ExpandoValuePortalExceptionSystemExceptionpublic void setString(java.lang.String data,
java.util.Locale locale,
java.util.Locale defaultLocale)
throws PortalException,
SystemException
setString in interface ExpandoValuePortalExceptionSystemExceptionpublic void setStringArray(java.lang.String[] data)
throws PortalException,
SystemException
setStringArray in interface ExpandoValuePortalExceptionSystemExceptionpublic void setStringArray(java.lang.String[] data,
java.util.Locale locale,
java.util.Locale defaultLocale)
throws PortalException,
SystemException
setStringArray in interface ExpandoValuePortalExceptionSystemExceptionpublic void setStringArrayMap(java.util.Map<java.util.Locale,java.lang.String[]> dataMap,
java.util.Locale defaultLocale)
throws PortalException,
SystemException
setStringArrayMap in interface ExpandoValuePortalExceptionSystemExceptionpublic void setStringMap(java.util.Map<java.util.Locale,java.lang.String> dataMap,
java.util.Locale defaultLocale)
throws PortalException,
SystemException
setStringMap in interface ExpandoValuePortalExceptionSystemExceptionpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic ExpandoValue getWrappedExpandoValue()
getWrappedModel()public ExpandoValue getWrappedModel()
getWrappedModel in interface ModelWrapper<ExpandoValue>public void resetOriginalValues()
BaseModelresetOriginalValues in interface BaseModel<ExpandoValue>