public class ExpandoRowWrapper extends BaseModelWrapper<ExpandoRow> implements ExpandoRow, ModelWrapper<ExpandoRow>
This class is a wrapper for ExpandoRow
.
ExpandoRow
,
Serialized Formmodel
ROW_ID_ACCESSOR
Constructor and Description |
---|
ExpandoRowWrapper(ExpandoRow expandoRow) |
Modifier and Type | Method and Description |
---|---|
long |
getClassPK()
Returns the class pk of this expando row.
|
long |
getCompanyId()
Returns the company ID of this expando row.
|
Map<String,Object> |
getModelAttributes() |
Date |
getModifiedDate()
Returns the modified date 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()
NOTE FOR DEVELOPERS:
Never modify or reference this class directly.
|
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 |
setModelAttributes(Map<String,Object> attributes) |
void |
setModifiedDate(Date modifiedDate)
Sets the modified date 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, toXmlString
clone, getExpandoBridge, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModel, toXmlString
getModelClass, getModelClassName
getWrappedModel
public 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 long getClassPK()
getClassPK
in interface ExpandoRowModel
public long getCompanyId()
getCompanyId
in interface ExpandoRowModel
getCompanyId
in interface ShardedModel
public Date getModifiedDate()
getModifiedDate
in interface ExpandoRowModel
public long getPrimaryKey()
getPrimaryKey
in interface ExpandoRowModel
public long getRowId()
getRowId
in interface ExpandoRowModel
public long getTableId()
getTableId
in interface ExpandoRowModel
public void persist()
ExpandoRow
interface instead.persist
in interface PersistedModel
public void setClassPK(long classPK)
setClassPK
in interface ExpandoRowModel
classPK
- the class pk of this expando rowpublic void setCompanyId(long companyId)
setCompanyId
in interface ExpandoRowModel
setCompanyId
in interface ShardedModel
companyId
- the company ID of this expando rowpublic void setModifiedDate(Date modifiedDate)
setModifiedDate
in interface ExpandoRowModel
modifiedDate
- the modified date of this expando rowpublic void setPrimaryKey(long primaryKey)
setPrimaryKey
in interface ExpandoRowModel
primaryKey
- the primary key of this expando rowpublic void setRowId(long rowId)
setRowId
in interface ExpandoRowModel
rowId
- the row ID of this expando rowpublic void setTableId(long tableId)
setTableId
in interface ExpandoRowModel
tableId
- the table ID of this expando rowprotected ExpandoRowWrapper wrap(ExpandoRow expandoRow)
wrap
in class BaseModelWrapper<ExpandoRow>