public class SystemEventWrapper extends BaseModelWrapper<SystemEvent> implements ModelWrapper<SystemEvent>, SystemEvent
This class is a wrapper for SystemEvent
.
SystemEvent
,
Serialized Formmodel
SYSTEM_EVENT_ID_ACCESSOR
Constructor and Description |
---|
SystemEventWrapper(SystemEvent systemEvent) |
Modifier and Type | Method and Description |
---|---|
SystemEvent |
cloneWithOriginalValues() |
Map<String,Function<SystemEvent,Object>> |
getAttributeGetterFunctions() |
Map<String,BiConsumer<SystemEvent,Object>> |
getAttributeSetterBiConsumers() |
String |
getClassName()
Returns the fully qualified class name of this system event.
|
long |
getClassNameId()
Returns the class name ID of this system event.
|
long |
getClassPK()
Returns the class pk of this system event.
|
String |
getClassUuid()
Returns the class uuid of this system event.
|
long |
getCompanyId()
Returns the company ID of this system event.
|
Date |
getCreateDate()
Returns the create date of this system event.
|
long |
getCtCollectionId()
Returns the ct collection ID of this system event.
|
String |
getExtraData()
Returns the extra data of this system event.
|
long |
getGroupId()
Returns the group ID of this system event.
|
Map<String,Object> |
getModelAttributes() |
long |
getMvccVersion()
Returns the mvcc version of this system event.
|
long |
getParentSystemEventId()
Returns the parent system event ID of this system event.
|
long |
getPrimaryKey()
Returns the primary key of this system event.
|
String |
getReferrerClassName() |
long |
getReferrerClassNameId()
Returns the referrer class name ID of this system event.
|
long |
getSystemEventId()
Returns the system event ID of this system event.
|
long |
getSystemEventSetKey()
Returns the system event set key of this system event.
|
int |
getType()
Returns the type of this system event.
|
long |
getUserId()
Returns the user ID of this system event.
|
String |
getUserName()
Returns the user name of this system event.
|
String |
getUserUuid()
Returns the user uuid of this system event.
|
void |
persist()
Updates this model instance in the database or adds it if it does not yet
exist.
|
void |
setClassName(String className) |
void |
setClassNameId(long classNameId)
Sets the class name ID of this system event.
|
void |
setClassPK(long classPK)
Sets the class pk of this system event.
|
void |
setClassUuid(String classUuid)
Sets the class uuid of this system event.
|
void |
setCompanyId(long companyId)
Sets the company ID of this system event.
|
void |
setCreateDate(Date createDate)
Sets the create date of this system event.
|
void |
setCtCollectionId(long ctCollectionId)
Sets the ct collection ID of this system event.
|
void |
setExtraData(String extraData)
Sets the extra data of this system event.
|
void |
setGroupId(long groupId)
Sets the group ID of this system event.
|
void |
setModelAttributes(Map<String,Object> attributes) |
void |
setMvccVersion(long mvccVersion)
Sets the mvcc version of this system event.
|
void |
setParentSystemEventId(long parentSystemEventId)
Sets the parent system event ID of this system event.
|
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this system event.
|
void |
setReferrerClassName(String referrerClassName) |
void |
setReferrerClassNameId(long referrerClassNameId)
Sets the referrer class name ID of this system event.
|
void |
setSystemEventId(long systemEventId)
Sets the system event ID of this system event.
|
void |
setSystemEventSetKey(long systemEventSetKey)
Sets the system event set key of this system event.
|
void |
setType(int type)
Sets the type of this system event.
|
void |
setUserId(long userId)
Sets the user ID of this system event.
|
void |
setUserName(String userName)
Sets the user name of this system event.
|
void |
setUserUuid(String userUuid)
Sets the user uuid of this system event.
|
String |
toXmlString() |
protected SystemEventWrapper |
wrap(SystemEvent systemEvent) |
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
getWrappedModel
clone, getExpandoBridge, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModel
getModelClass, getModelClassName
public SystemEventWrapper(SystemEvent systemEvent)
public Map<String,Object> getModelAttributes()
getModelAttributes
in interface BaseModel<SystemEvent>
public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes
in interface BaseModel<SystemEvent>
public SystemEvent cloneWithOriginalValues()
cloneWithOriginalValues
in interface BaseModel<SystemEvent>
cloneWithOriginalValues
in interface SystemEventModel
public String getClassName()
getClassName
in interface SystemEventModel
getClassName
in interface TypedModel
public long getClassNameId()
getClassNameId
in interface SystemEventModel
getClassNameId
in interface TypedModel
public long getClassPK()
getClassPK
in interface AttachedModel
getClassPK
in interface SystemEventModel
public String getClassUuid()
getClassUuid
in interface SystemEventModel
public long getCompanyId()
getCompanyId
in interface ShardedModel
getCompanyId
in interface SystemEventModel
public Date getCreateDate()
getCreateDate
in interface SystemEventModel
public long getCtCollectionId()
getCtCollectionId
in interface CTModel<SystemEvent>
getCtCollectionId
in interface SystemEventModel
public String getExtraData()
getExtraData
in interface SystemEventModel
public long getGroupId()
getGroupId
in interface SystemEventModel
public long getMvccVersion()
getMvccVersion
in interface MVCCModel
getMvccVersion
in interface SystemEventModel
public long getParentSystemEventId()
getParentSystemEventId
in interface SystemEventModel
public long getPrimaryKey()
getPrimaryKey
in interface CTModel<SystemEvent>
getPrimaryKey
in interface SystemEventModel
public String getReferrerClassName()
getReferrerClassName
in interface SystemEvent
public long getReferrerClassNameId()
getReferrerClassNameId
in interface SystemEventModel
public long getSystemEventId()
getSystemEventId
in interface SystemEventModel
public long getSystemEventSetKey()
getSystemEventSetKey
in interface SystemEventModel
public int getType()
getType
in interface SystemEventModel
public long getUserId()
getUserId
in interface SystemEventModel
public String getUserName()
getUserName
in interface SystemEventModel
public String getUserUuid()
getUserUuid
in interface SystemEventModel
public void persist()
PersistedModel
persist
in interface PersistedModel
public void setClassName(String className)
setClassName
in interface SystemEventModel
public void setClassNameId(long classNameId)
setClassNameId
in interface SystemEventModel
setClassNameId
in interface TypedModel
classNameId
- the class name ID of this system eventpublic void setClassPK(long classPK)
setClassPK
in interface AttachedModel
setClassPK
in interface SystemEventModel
classPK
- the class pk of this system eventpublic void setClassUuid(String classUuid)
setClassUuid
in interface SystemEventModel
classUuid
- the class uuid of this system eventpublic void setCompanyId(long companyId)
setCompanyId
in interface ShardedModel
setCompanyId
in interface SystemEventModel
companyId
- the company ID of this system eventpublic void setCreateDate(Date createDate)
setCreateDate
in interface SystemEventModel
createDate
- the create date of this system eventpublic void setCtCollectionId(long ctCollectionId)
setCtCollectionId
in interface CTModel<SystemEvent>
setCtCollectionId
in interface SystemEventModel
ctCollectionId
- the ct collection ID of this system eventpublic void setExtraData(String extraData)
setExtraData
in interface SystemEventModel
extraData
- the extra data of this system eventpublic void setGroupId(long groupId)
setGroupId
in interface SystemEventModel
groupId
- the group ID of this system eventpublic void setMvccVersion(long mvccVersion)
setMvccVersion
in interface MVCCModel
setMvccVersion
in interface SystemEventModel
mvccVersion
- the mvcc version of this system eventpublic void setParentSystemEventId(long parentSystemEventId)
setParentSystemEventId
in interface SystemEventModel
parentSystemEventId
- the parent system event ID of this system eventpublic void setPrimaryKey(long primaryKey)
setPrimaryKey
in interface CTModel<SystemEvent>
setPrimaryKey
in interface SystemEventModel
primaryKey
- the primary key of this system eventpublic void setReferrerClassName(String referrerClassName)
setReferrerClassName
in interface SystemEvent
public void setReferrerClassNameId(long referrerClassNameId)
setReferrerClassNameId
in interface SystemEventModel
referrerClassNameId
- the referrer class name ID of this system eventpublic void setSystemEventId(long systemEventId)
setSystemEventId
in interface SystemEventModel
systemEventId
- the system event ID of this system eventpublic void setSystemEventSetKey(long systemEventSetKey)
setSystemEventSetKey
in interface SystemEventModel
systemEventSetKey
- the system event set key of this system eventpublic void setType(int type)
setType
in interface SystemEventModel
type
- the type of this system eventpublic void setUserId(long userId)
setUserId
in interface SystemEventModel
userId
- the user ID of this system eventpublic void setUserName(String userName)
setUserName
in interface SystemEventModel
userName
- the user name of this system eventpublic void setUserUuid(String userUuid)
setUserUuid
in interface SystemEventModel
userUuid
- the user uuid of this system eventpublic String toXmlString()
toXmlString
in interface SystemEventModel
public Map<String,Function<SystemEvent,Object>> getAttributeGetterFunctions()
getAttributeGetterFunctions
in interface BaseModel<SystemEvent>
public Map<String,BiConsumer<SystemEvent,Object>> getAttributeSetterBiConsumers()
getAttributeSetterBiConsumers
in interface BaseModel<SystemEvent>
protected SystemEventWrapper wrap(SystemEvent systemEvent)
wrap
in class BaseModelWrapper<SystemEvent>