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 |
---|---|
ListType |
cloneWithOriginalValues() |
long |
getCompanyId()
Returns the company ID of this list type.
|
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 |
setCompanyId(long companyId)
Sets the company ID of this list type.
|
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.
|
String |
toXmlString() |
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
clone, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getExpandoBridge, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModel
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 ListType cloneWithOriginalValues()
cloneWithOriginalValues
in interface BaseModel<ListType>
cloneWithOriginalValues
in interface ListTypeModel
public long getCompanyId()
getCompanyId
in interface ListTypeModel
getCompanyId
in interface ShardedModel
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()
PersistedModel
persist
in interface PersistedModel
public void setCompanyId(long companyId)
setCompanyId
in interface ListTypeModel
setCompanyId
in interface ShardedModel
companyId
- the company ID of this list typepublic 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 typepublic String toXmlString()
toXmlString
in interface ListTypeModel
protected ListTypeWrapper wrap(ListType listType)
wrap
in class BaseModelWrapper<ListType>