public class SocialRequestWrapper extends BaseModelWrapper<SocialRequest> implements ModelWrapper<SocialRequest>, SocialRequest
This class is a wrapper for SocialRequest
.
SocialRequest
,
Serialized Formmodel
REQUEST_ID_ACCESSOR
Constructor and Description |
---|
SocialRequestWrapper(SocialRequest socialRequest) |
Modifier and Type | Method and Description |
---|---|
SocialRequest |
cloneWithOriginalValues() |
Map<String,Function<SocialRequest,Object>> |
getAttributeGetterFunctions() |
Map<String,BiConsumer<SocialRequest,Object>> |
getAttributeSetterBiConsumers() |
String |
getClassName()
Returns the fully qualified class name of this social request.
|
long |
getClassNameId()
Returns the class name ID of this social request.
|
long |
getClassPK()
Returns the class pk of this social request.
|
long |
getCompanyId()
Returns the company ID of this social request.
|
long |
getCreateDate()
Returns the create date of this social request.
|
long |
getCtCollectionId()
Returns the ct collection ID of this social request.
|
String |
getExtraData()
Returns the extra data of this social request.
|
long |
getGroupId()
Returns the group ID of this social request.
|
Map<String,Object> |
getModelAttributes() |
long |
getModifiedDate()
Returns the modified date of this social request.
|
long |
getMvccVersion()
Returns the mvcc version of this social request.
|
long |
getPrimaryKey()
Returns the primary key of this social request.
|
long |
getReceiverUserId()
Returns the receiver user ID of this social request.
|
String |
getReceiverUserUuid()
Returns the receiver user uuid of this social request.
|
long |
getRequestId()
Returns the request ID of this social request.
|
int |
getStatus()
Returns the status of this social request.
|
int |
getType()
Returns the type of this social request.
|
long |
getUserId()
Returns the user ID of this social request.
|
String |
getUserUuid()
Returns the user uuid of this social request.
|
String |
getUuid()
Returns the uuid of this social request.
|
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 social request.
|
void |
setClassPK(long classPK)
Sets the class pk of this social request.
|
void |
setCompanyId(long companyId)
Sets the company ID of this social request.
|
void |
setCreateDate(long createDate)
Sets the create date of this social request.
|
void |
setCtCollectionId(long ctCollectionId)
Sets the ct collection ID of this social request.
|
void |
setExtraData(String extraData)
Sets the extra data of this social request.
|
void |
setGroupId(long groupId)
Sets the group ID of this social request.
|
void |
setModelAttributes(Map<String,Object> attributes) |
void |
setModifiedDate(long modifiedDate)
Sets the modified date of this social request.
|
void |
setMvccVersion(long mvccVersion)
Sets the mvcc version of this social request.
|
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this social request.
|
void |
setReceiverUserId(long receiverUserId)
Sets the receiver user ID of this social request.
|
void |
setReceiverUserUuid(String receiverUserUuid)
Sets the receiver user uuid of this social request.
|
void |
setRequestId(long requestId)
Sets the request ID of this social request.
|
void |
setStatus(int status)
Sets the status of this social request.
|
void |
setType(int type)
Sets the type of this social request.
|
void |
setUserId(long userId)
Sets the user ID of this social request.
|
void |
setUserUuid(String userUuid)
Sets the user uuid of this social request.
|
void |
setUuid(String uuid)
Sets the uuid of this social request.
|
protected SocialRequestWrapper |
wrap(SocialRequest socialRequest) |
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
getWrappedModel
clone, getExpandoBridge, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModel, toXmlString
getModelClass, getModelClassName
public SocialRequestWrapper(SocialRequest socialRequest)
public Map<String,Object> getModelAttributes()
getModelAttributes
in interface BaseModel<SocialRequest>
public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes
in interface BaseModel<SocialRequest>
public SocialRequest cloneWithOriginalValues()
cloneWithOriginalValues
in interface BaseModel<SocialRequest>
cloneWithOriginalValues
in interface SocialRequestModel
public String getClassName()
getClassName
in interface TypedModel
getClassName
in interface SocialRequestModel
public long getClassNameId()
getClassNameId
in interface TypedModel
getClassNameId
in interface SocialRequestModel
public long getClassPK()
getClassPK
in interface AttachedModel
getClassPK
in interface SocialRequestModel
public long getCompanyId()
getCompanyId
in interface ShardedModel
getCompanyId
in interface SocialRequestModel
public long getCreateDate()
getCreateDate
in interface SocialRequestModel
public long getCtCollectionId()
getCtCollectionId
in interface CTModel<SocialRequest>
getCtCollectionId
in interface SocialRequestModel
public String getExtraData()
getExtraData
in interface SocialRequestModel
public long getGroupId()
getGroupId
in interface SocialRequestModel
public long getModifiedDate()
getModifiedDate
in interface SocialRequestModel
public long getMvccVersion()
getMvccVersion
in interface MVCCModel
getMvccVersion
in interface SocialRequestModel
public long getPrimaryKey()
getPrimaryKey
in interface CTModel<SocialRequest>
getPrimaryKey
in interface SocialRequestModel
public long getReceiverUserId()
getReceiverUserId
in interface SocialRequestModel
public String getReceiverUserUuid()
getReceiverUserUuid
in interface SocialRequestModel
public long getRequestId()
getRequestId
in interface SocialRequestModel
public int getStatus()
getStatus
in interface SocialRequestModel
public int getType()
getType
in interface SocialRequestModel
public long getUserId()
getUserId
in interface SocialRequestModel
public String getUserUuid()
getUserUuid
in interface SocialRequestModel
public String getUuid()
getUuid
in interface SocialRequestModel
public void persist()
PersistedModel
persist
in interface PersistedModel
public void setClassName(String className)
setClassName
in interface SocialRequestModel
public void setClassNameId(long classNameId)
setClassNameId
in interface TypedModel
setClassNameId
in interface SocialRequestModel
classNameId
- the class name ID of this social requestpublic void setClassPK(long classPK)
setClassPK
in interface AttachedModel
setClassPK
in interface SocialRequestModel
classPK
- the class pk of this social requestpublic void setCompanyId(long companyId)
setCompanyId
in interface ShardedModel
setCompanyId
in interface SocialRequestModel
companyId
- the company ID of this social requestpublic void setCreateDate(long createDate)
setCreateDate
in interface SocialRequestModel
createDate
- the create date of this social requestpublic void setCtCollectionId(long ctCollectionId)
setCtCollectionId
in interface CTModel<SocialRequest>
setCtCollectionId
in interface SocialRequestModel
ctCollectionId
- the ct collection ID of this social requestpublic void setExtraData(String extraData)
setExtraData
in interface SocialRequestModel
extraData
- the extra data of this social requestpublic void setGroupId(long groupId)
setGroupId
in interface SocialRequestModel
groupId
- the group ID of this social requestpublic void setModifiedDate(long modifiedDate)
setModifiedDate
in interface SocialRequestModel
modifiedDate
- the modified date of this social requestpublic void setMvccVersion(long mvccVersion)
setMvccVersion
in interface MVCCModel
setMvccVersion
in interface SocialRequestModel
mvccVersion
- the mvcc version of this social requestpublic void setPrimaryKey(long primaryKey)
setPrimaryKey
in interface CTModel<SocialRequest>
setPrimaryKey
in interface SocialRequestModel
primaryKey
- the primary key of this social requestpublic void setReceiverUserId(long receiverUserId)
setReceiverUserId
in interface SocialRequestModel
receiverUserId
- the receiver user ID of this social requestpublic void setReceiverUserUuid(String receiverUserUuid)
setReceiverUserUuid
in interface SocialRequestModel
receiverUserUuid
- the receiver user uuid of this social requestpublic void setRequestId(long requestId)
setRequestId
in interface SocialRequestModel
requestId
- the request ID of this social requestpublic void setStatus(int status)
setStatus
in interface SocialRequestModel
status
- the status of this social requestpublic void setType(int type)
setType
in interface SocialRequestModel
type
- the type of this social requestpublic void setUserId(long userId)
setUserId
in interface SocialRequestModel
userId
- the user ID of this social requestpublic void setUserUuid(String userUuid)
setUserUuid
in interface SocialRequestModel
userUuid
- the user uuid of this social requestpublic void setUuid(String uuid)
setUuid
in interface SocialRequestModel
uuid
- the uuid of this social requestpublic Map<String,Function<SocialRequest,Object>> getAttributeGetterFunctions()
getAttributeGetterFunctions
in interface BaseModel<SocialRequest>
public Map<String,BiConsumer<SocialRequest,Object>> getAttributeSetterBiConsumers()
getAttributeSetterBiConsumers
in interface BaseModel<SocialRequest>
protected SocialRequestWrapper wrap(SocialRequest socialRequest)
wrap
in class BaseModelWrapper<SocialRequest>