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.
|
Date |
getCreateDate()
Returns the create date of this list type.
|
long |
getListTypeId()
Returns the list type ID of this list type.
|
Map<String,Object> |
getModelAttributes() |
Date |
getModifiedDate()
Returns the modified date of this list type.
|
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.
|
StagedModelType |
getStagedModelType() |
String |
getType()
Returns the type of this list type.
|
long |
getUserId()
Returns the user ID of this list type.
|
String |
getUserName()
Returns the user name of this list type.
|
String |
getUserUuid()
Returns the user uuid of this list type.
|
String |
getUuid()
Returns the uuid 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 |
setCreateDate(Date createDate)
Sets the create date of this list type.
|
void |
setListTypeId(long listTypeId)
Sets the list type ID of this list type.
|
void |
setModelAttributes(Map<String,Object> attributes) |
void |
setModifiedDate(Date modifiedDate)
Sets the modified date of this list type.
|
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.
|
void |
setUserId(long userId)
Sets the user ID of this list type.
|
void |
setUserName(String userName)
Sets the user name of this list type.
|
void |
setUserUuid(String userUuid)
Sets the user uuid of this list type.
|
void |
setUuid(String uuid)
Sets the uuid 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
clone
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 AuditedModel
getCompanyId
in interface ListTypeModel
getCompanyId
in interface ShardedModel
getCompanyId
in interface StagedModel
public Date getCreateDate()
getCreateDate
in interface AuditedModel
getCreateDate
in interface ListTypeModel
getCreateDate
in interface StagedModel
public long getListTypeId()
getListTypeId
in interface ListTypeModel
public Date getModifiedDate()
getModifiedDate
in interface AuditedModel
getModifiedDate
in interface ListTypeModel
getModifiedDate
in interface StagedModel
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 long getUserId()
getUserId
in interface AuditedModel
getUserId
in interface ListTypeModel
public String getUserName()
getUserName
in interface AuditedModel
getUserName
in interface ListTypeModel
public String getUserUuid()
getUserUuid
in interface AuditedModel
getUserUuid
in interface ListTypeModel
public String getUuid()
getUuid
in interface ListTypeModel
getUuid
in interface StagedModel
public void persist()
PersistedModel
persist
in interface PersistedModel
public void setCompanyId(long companyId)
setCompanyId
in interface AuditedModel
setCompanyId
in interface ListTypeModel
setCompanyId
in interface ShardedModel
setCompanyId
in interface StagedModel
companyId
- the company ID of this list typepublic void setCreateDate(Date createDate)
setCreateDate
in interface AuditedModel
setCreateDate
in interface ListTypeModel
setCreateDate
in interface StagedModel
createDate
- the create date of this list typepublic void setListTypeId(long listTypeId)
setListTypeId
in interface ListTypeModel
listTypeId
- the list type ID of this list typepublic void setModifiedDate(Date modifiedDate)
setModifiedDate
in interface AuditedModel
setModifiedDate
in interface ListTypeModel
setModifiedDate
in interface StagedModel
modifiedDate
- the modified date 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 void setUserId(long userId)
setUserId
in interface AuditedModel
setUserId
in interface ListTypeModel
userId
- the user ID of this list typepublic void setUserName(String userName)
setUserName
in interface AuditedModel
setUserName
in interface ListTypeModel
userName
- the user name of this list typepublic void setUserUuid(String userUuid)
setUserUuid
in interface AuditedModel
setUserUuid
in interface ListTypeModel
userUuid
- the user uuid of this list typepublic void setUuid(String uuid)
setUuid
in interface ListTypeModel
setUuid
in interface StagedModel
uuid
- the uuid of this list typepublic String toXmlString()
toXmlString
in interface ListTypeModel
public StagedModelType getStagedModelType()
getStagedModelType
in interface StagedModel
protected ListTypeWrapper wrap(ListType listType)
wrap
in class BaseModelWrapper<ListType>