public class ExpandoRowWrapper extends BaseModelWrapper<ExpandoRow> implements ExpandoRow, ModelWrapper<ExpandoRow>
This class is a wrapper for ExpandoRow.
ExpandoRow,
Serialized FormmodelROW_ID_ACCESSOR| Constructor and Description |
|---|
ExpandoRowWrapper(ExpandoRow expandoRow) |
| Modifier and Type | Method and Description |
|---|---|
ExpandoRow |
cloneWithOriginalValues() |
Map<String,Function<ExpandoRow,Object>> |
getAttributeGetterFunctions() |
Map<String,BiConsumer<ExpandoRow,Object>> |
getAttributeSetterBiConsumers() |
long |
getClassPK()
Returns the class pk of this expando row.
|
long |
getCompanyId()
Returns the company ID of this expando row.
|
long |
getCtCollectionId()
Returns the ct collection ID of this expando row.
|
Map<String,Object> |
getModelAttributes() |
Date |
getModifiedDate()
Returns the modified date of this expando row.
|
long |
getMvccVersion()
Returns the mvcc version of this expando row.
|
long |
getPrimaryKey()
Returns the primary key of this expando row.
|
long |
getRowId()
Returns the row ID of this expando row.
|
long |
getTableId()
Returns the table ID of this expando row.
|
void |
persist()
Updates this model instance in the database or adds it if it does not yet
exist.
|
void |
setClassPK(long classPK)
Sets the class pk of this expando row.
|
void |
setCompanyId(long companyId)
Sets the company ID of this expando row.
|
void |
setCtCollectionId(long ctCollectionId)
Sets the ct collection ID of this expando row.
|
void |
setModelAttributes(Map<String,Object> attributes) |
void |
setModifiedDate(Date modifiedDate)
Sets the modified date of this expando row.
|
void |
setMvccVersion(long mvccVersion)
Sets the mvcc version of this expando row.
|
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this expando row.
|
void |
setRowId(long rowId)
Sets the row ID of this expando row.
|
void |
setTableId(long tableId)
Sets the table ID of this expando row.
|
protected ExpandoRowWrapper |
wrap(ExpandoRow expandoRow) |
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 ExpandoRowWrapper(ExpandoRow expandoRow)
public Map<String,Object> getModelAttributes()
getModelAttributes in interface BaseModel<ExpandoRow>public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes in interface BaseModel<ExpandoRow>public ExpandoRow cloneWithOriginalValues()
cloneWithOriginalValues in interface ExpandoRowModelcloneWithOriginalValues in interface BaseModel<ExpandoRow>public long getClassPK()
getClassPK in interface ExpandoRowModelpublic long getCompanyId()
getCompanyId in interface ExpandoRowModelgetCompanyId in interface ShardedModelpublic long getCtCollectionId()
getCtCollectionId in interface ExpandoRowModelgetCtCollectionId in interface CTModel<ExpandoRow>public Date getModifiedDate()
getModifiedDate in interface ExpandoRowModelpublic long getMvccVersion()
getMvccVersion in interface ExpandoRowModelgetMvccVersion in interface MVCCModelpublic long getPrimaryKey()
getPrimaryKey in interface ExpandoRowModelgetPrimaryKey in interface CTModel<ExpandoRow>public long getRowId()
getRowId in interface ExpandoRowModelpublic long getTableId()
getTableId in interface ExpandoRowModelpublic void persist()
PersistedModelpersist in interface PersistedModelpublic void setClassPK(long classPK)
setClassPK in interface ExpandoRowModelclassPK - the class pk of this expando rowpublic void setCompanyId(long companyId)
setCompanyId in interface ExpandoRowModelsetCompanyId in interface ShardedModelcompanyId - the company ID of this expando rowpublic void setCtCollectionId(long ctCollectionId)
setCtCollectionId in interface ExpandoRowModelsetCtCollectionId in interface CTModel<ExpandoRow>ctCollectionId - the ct collection ID of this expando rowpublic void setModifiedDate(Date modifiedDate)
setModifiedDate in interface ExpandoRowModelmodifiedDate - the modified date of this expando rowpublic void setMvccVersion(long mvccVersion)
setMvccVersion in interface ExpandoRowModelsetMvccVersion in interface MVCCModelmvccVersion - the mvcc version of this expando rowpublic void setPrimaryKey(long primaryKey)
setPrimaryKey in interface ExpandoRowModelsetPrimaryKey in interface CTModel<ExpandoRow>primaryKey - the primary key of this expando rowpublic void setRowId(long rowId)
setRowId in interface ExpandoRowModelrowId - the row ID of this expando rowpublic void setTableId(long tableId)
setTableId in interface ExpandoRowModeltableId - the table ID of this expando rowpublic Map<String,Function<ExpandoRow,Object>> getAttributeGetterFunctions()
getAttributeGetterFunctions in interface BaseModel<ExpandoRow>public Map<String,BiConsumer<ExpandoRow,Object>> getAttributeSetterBiConsumers()
getAttributeSetterBiConsumers in interface BaseModel<ExpandoRow>protected ExpandoRowWrapper wrap(ExpandoRow expandoRow)
wrap in class BaseModelWrapper<ExpandoRow>