public class ListTypeWrapper extends BaseModelWrapper<ListType> implements ListType, ModelWrapper<ListType>
This class is a wrapper for ListType
.
ListType
,
Serialized Formmodel
LIST_TYPE_ID_ACCESSOR
Constructor and Description |
---|
ListTypeWrapper(ListType listType) |
Modifier and Type | Method and Description |
---|---|
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()
NOTE FOR DEVELOPERS:
Never modify or reference this class directly.
|
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, toXmlString
clone, getExpandoBridge, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModel, toXmlString
getModelClass, getModelClassName
getWrappedModel
public 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 long getListTypeId()
getListTypeId
in interface ListTypeModel
public long getMvccVersion()
getMvccVersion
in interface ListTypeModel
getMvccVersion
in interface MVCCModel
public String getName()
getName
in interface ListTypeModel
public long getPrimaryKey()
getPrimaryKey
in interface ListTypeModel
public String getType()
getType
in interface ListTypeModel
public void persist()
ListType
interface instead.persist
in interface PersistedModel
public void setListTypeId(long listTypeId)
setListTypeId
in interface ListTypeModel
listTypeId
- the list type ID of this list typepublic void setMvccVersion(long mvccVersion)
setMvccVersion
in interface ListTypeModel
setMvccVersion
in interface MVCCModel
mvccVersion
- the mvcc version of this list typepublic void setName(String name)
setName
in interface ListTypeModel
name
- the name of this list typepublic void setPrimaryKey(long primaryKey)
setPrimaryKey
in interface ListTypeModel
primaryKey
- the primary key of this list typepublic void setType(String type)
setType
in interface ListTypeModel
type
- the type of this list typeprotected ListTypeWrapper wrap(ListType listType)
wrap
in class BaseModelWrapper<ListType>