public class ListTypeWrapper extends BaseModelWrapper<ListType> implements ListType, ModelWrapper<ListType>
This class is a wrapper for ListType.
ListType,
Serialized FormmodelLIST_TYPE_ID_ACCESSOR| Constructor and Description |
|---|
ListTypeWrapper(ListType listType) |
| Modifier and Type | Method and Description |
|---|---|
ListType |
cloneWithOriginalValues() |
long |
getListTypeId()
Returns the list type ID of this list type.
|
Map<String,Object> |
getModelAttributes() |
long |
getMvccVersion()
Returns the mvcc version of this list type.
|
String |
getName()
Returns the name of this list type.
|
long |
getPrimaryKey()
Returns the primary key of this list type.
|
String |
getType()
Returns the type of this list type.
|
void |
persist()
Updates this model instance in the database or adds it if it does not yet
exist.
|
void |
setListTypeId(long listTypeId)
Sets the list type ID of this list type.
|
void |
setModelAttributes(Map<String,Object> attributes) |
void |
setMvccVersion(long mvccVersion)
Sets the mvcc version of this list type.
|
void |
setName(String name)
Sets the name of this list type.
|
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this list type.
|
void |
setType(String type)
Sets the type of this list type.
|
protected ListTypeWrapper |
wrap(ListType listType) |
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, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getExpandoBridge, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModel, toXmlStringgetModelClass, getModelClassNamegetWrappedModelpublic ListTypeWrapper(ListType listType)
public Map<String,Object> getModelAttributes()
getModelAttributes in interface BaseModel<ListType>public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes in interface BaseModel<ListType>public ListType cloneWithOriginalValues()
cloneWithOriginalValues in interface BaseModel<ListType>cloneWithOriginalValues in interface ListTypeModelpublic long getListTypeId()
getListTypeId in interface ListTypeModelpublic long getMvccVersion()
getMvccVersion in interface ListTypeModelgetMvccVersion in interface MVCCModelpublic String getName()
getName in interface ListTypeModelpublic long getPrimaryKey()
getPrimaryKey in interface ListTypeModelpublic String getType()
getType in interface ListTypeModelpublic void persist()
PersistedModelpersist in interface PersistedModelpublic void setListTypeId(long listTypeId)
setListTypeId in interface ListTypeModellistTypeId - the list type ID of this list typepublic void setMvccVersion(long mvccVersion)
setMvccVersion in interface ListTypeModelsetMvccVersion in interface MVCCModelmvccVersion - the mvcc version of this list typepublic void setName(String name)
setName in interface ListTypeModelname - the name of this list typepublic void setPrimaryKey(long primaryKey)
setPrimaryKey in interface ListTypeModelprimaryKey - the primary key of this list typepublic void setType(String type)
setType in interface ListTypeModeltype - the type of this list typeprotected ListTypeWrapper wrap(ListType listType)
wrap in class BaseModelWrapper<ListType>