public class ExpandoTableWrapper extends BaseModelWrapper<ExpandoTable> implements ExpandoTable, ModelWrapper<ExpandoTable>
This class is a wrapper for ExpandoTable
.
ExpandoTable
,
Serialized Formmodel
TABLE_ID_ACCESSOR
Constructor and Description |
---|
ExpandoTableWrapper(ExpandoTable expandoTable) |
Modifier and Type | Method and Description |
---|---|
String |
getClassName()
Returns the fully qualified class name of this expando table.
|
long |
getClassNameId()
Returns the class name ID of this expando table.
|
long |
getCompanyId()
Returns the company ID of this expando table.
|
Map<String,Object> |
getModelAttributes() |
String |
getName()
Returns the name of this expando table.
|
long |
getPrimaryKey()
Returns the primary key of this expando table.
|
long |
getTableId()
Returns the table ID of this expando table.
|
boolean |
isDefaultTable() |
void |
persist()
NOTE FOR DEVELOPERS:
Never modify or reference this class directly.
|
void |
setClassName(String className) |
void |
setClassNameId(long classNameId)
Sets the class name ID of this expando table.
|
void |
setCompanyId(long companyId)
Sets the company ID of this expando table.
|
void |
setModelAttributes(Map<String,Object> attributes) |
void |
setName(String name)
Sets the name of this expando table.
|
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this expando table.
|
void |
setTableId(long tableId)
Sets the table ID of this expando table.
|
protected ExpandoTableWrapper |
wrap(ExpandoTable expandoTable) |
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 ExpandoTableWrapper(ExpandoTable expandoTable)
public Map<String,Object> getModelAttributes()
getModelAttributes
in interface BaseModel<ExpandoTable>
public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes
in interface BaseModel<ExpandoTable>
public String getClassName()
getClassName
in interface ExpandoTableModel
getClassName
in interface TypedModel
public long getClassNameId()
getClassNameId
in interface ExpandoTableModel
getClassNameId
in interface TypedModel
public long getCompanyId()
getCompanyId
in interface ExpandoTableModel
getCompanyId
in interface ShardedModel
public String getName()
getName
in interface ExpandoTableModel
public long getPrimaryKey()
getPrimaryKey
in interface ExpandoTableModel
public long getTableId()
getTableId
in interface ExpandoTableModel
public boolean isDefaultTable()
isDefaultTable
in interface ExpandoTable
public void persist()
ExpandoTable
interface instead.persist
in interface PersistedModel
public void setClassName(String className)
setClassName
in interface ExpandoTableModel
public void setClassNameId(long classNameId)
setClassNameId
in interface ExpandoTableModel
setClassNameId
in interface TypedModel
classNameId
- the class name ID of this expando tablepublic void setCompanyId(long companyId)
setCompanyId
in interface ExpandoTableModel
setCompanyId
in interface ShardedModel
companyId
- the company ID of this expando tablepublic void setName(String name)
setName
in interface ExpandoTableModel
name
- the name of this expando tablepublic void setPrimaryKey(long primaryKey)
setPrimaryKey
in interface ExpandoTableModel
primaryKey
- the primary key of this expando tablepublic void setTableId(long tableId)
setTableId
in interface ExpandoTableModel
tableId
- the table ID of this expando tableprotected ExpandoTableWrapper wrap(ExpandoTable expandoTable)
wrap
in class BaseModelWrapper<ExpandoTable>