@ProviderType public class MembershipRequestWrapper extends Object implements MembershipRequest, ModelWrapper<MembershipRequest>
This class is a wrapper for MembershipRequest.
MembershipRequest,
Serialized FormMEMBERSHIP_REQUEST_ID_ACCESSOR| Constructor and Description |
|---|
MembershipRequestWrapper(MembershipRequest membershipRequest) |
| Modifier and Type | Method and Description |
|---|---|
Object |
clone()
Creates a shallow clone of this model instance.
|
int |
compareTo(MembershipRequest membershipRequest) |
boolean |
equals(Object obj) |
String |
getComments()
Returns the comments of this membership request.
|
long |
getCompanyId()
Returns the company ID of this membership request.
|
Date |
getCreateDate()
Returns the create date of this membership request.
|
ExpandoBridge |
getExpandoBridge()
Returns the expando bridge for this model instance.
|
long |
getGroupId()
Returns the group ID of this membership request.
|
long |
getMembershipRequestId()
Returns the membership request ID of this membership request.
|
Map<String,Object> |
getModelAttributes() |
Class<?> |
getModelClass() |
String |
getModelClassName() |
long |
getMvccVersion()
Returns the mvcc version of this membership request.
|
long |
getPrimaryKey()
Returns the primary key of this membership request.
|
Serializable |
getPrimaryKeyObj()
Returns the primary key of this model instance.
|
long |
getReplierUserId()
Returns the replier user ID of this membership request.
|
String |
getReplierUserUuid()
Returns the replier user uuid of this membership request.
|
String |
getReplyComments()
Returns the reply comments of this membership request.
|
Date |
getReplyDate()
Returns the reply date of this membership request.
|
long |
getStatusId()
Returns the status ID of this membership request.
|
long |
getUserId()
Returns the user ID of this membership request.
|
String |
getUserUuid()
Returns the user uuid of this membership request.
|
MembershipRequest |
getWrappedModel() |
int |
hashCode() |
boolean |
isCachedModel()
Returns
true if this model instance was retrieved from the
entity cache. |
boolean |
isEntityCacheEnabled()
Returns
true if this model's entity cache is enabled. |
boolean |
isEscapedModel()
Returns
true if this model instance is escaped. |
boolean |
isFinderCacheEnabled()
Returns
true if this model's finder cache is enabled. |
boolean |
isNew()
Returns
true if this model instance does not yet exist in
the database. |
void |
persist()
Updates this model instance in the database or adds it if it does not yet
exist.
|
void |
resetOriginalValues()
Reset all original fields to current values.
|
void |
setCachedModel(boolean cachedModel)
Sets whether this model instance was retrieved from the entity cache.
|
void |
setComments(String comments)
Sets the comments of this membership request.
|
void |
setCompanyId(long companyId)
Sets the company ID of this membership request.
|
void |
setCreateDate(Date createDate)
Sets the create date of this membership request.
|
void |
setExpandoBridgeAttributes(BaseModel<?> baseModel) |
void |
setExpandoBridgeAttributes(ExpandoBridge expandoBridge) |
void |
setExpandoBridgeAttributes(ServiceContext serviceContext)
Sets the expando bridge attributes for this model instance to the
attributes stored in the service context.
|
void |
setGroupId(long groupId)
Sets the group ID of this membership request.
|
void |
setMembershipRequestId(long membershipRequestId)
Sets the membership request ID of this membership request.
|
void |
setModelAttributes(Map<String,Object> attributes) |
void |
setMvccVersion(long mvccVersion)
Sets the mvcc version of this membership request.
|
void |
setNew(boolean n)
Sets whether this model instance does not yet exist in the database.
|
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this membership request.
|
void |
setPrimaryKeyObj(Serializable primaryKeyObj)
Sets the primary key of this model instance.
|
void |
setReplierUserId(long replierUserId)
Sets the replier user ID of this membership request.
|
void |
setReplierUserUuid(String replierUserUuid)
Sets the replier user uuid of this membership request.
|
void |
setReplyComments(String replyComments)
Sets the reply comments of this membership request.
|
void |
setReplyDate(Date replyDate)
Sets the reply date of this membership request.
|
void |
setStatusId(long statusId)
Sets the status ID of this membership request.
|
void |
setUserId(long userId)
Sets the user ID of this membership request.
|
void |
setUserUuid(String userUuid)
Sets the user uuid of this membership request.
|
CacheModel<MembershipRequest> |
toCacheModel()
Returns a cache model object for this entity used by entity cache.
|
MembershipRequest |
toEscapedModel()
Returns a copy of this entity as an escaped model instance by wrapping it
with an
AutoEscapeBeanHandler. |
String |
toString() |
MembershipRequest |
toUnescapedModel() |
String |
toXmlString()
Returns the XML representation of this model instance.
|
public MembershipRequestWrapper(MembershipRequest membershipRequest)
public Class<?> getModelClass()
getModelClass in interface ClassedModelpublic String getModelClassName()
getModelClassName in interface ClassedModelpublic Map<String,Object> getModelAttributes()
getModelAttributes in interface BaseModel<MembershipRequest>public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes in interface BaseModel<MembershipRequest>public CacheModel<MembershipRequest> toCacheModel()
BaseModeltoCacheModel in interface BaseModel<MembershipRequest>toCacheModel in interface MembershipRequestModelpublic MembershipRequest toEscapedModel()
BaseModelAutoEscapeBeanHandler.toEscapedModel in interface BaseModel<MembershipRequest>toEscapedModel in interface MembershipRequestModelAutoEscapeBeanHandlerpublic MembershipRequest toUnescapedModel()
toUnescapedModel in interface BaseModel<MembershipRequest>toUnescapedModel in interface MembershipRequestModelpublic boolean isCachedModel()
BaseModeltrue if this model instance was retrieved from the
entity cache.isCachedModel in interface BaseModel<MembershipRequest>isCachedModel in interface MembershipRequestModeltrue if this model instance was retrieved from the
entity cache; false otherwiseBaseModel.setCachedModel(boolean)public boolean isEscapedModel()
BaseModeltrue if this model instance is escaped.isEscapedModel in interface BaseModel<MembershipRequest>isEscapedModel in interface MembershipRequestModeltrue if this model instance is escaped;
false otherwisepublic boolean isNew()
BaseModeltrue if this model instance does not yet exist in
the database.isNew in interface BaseModel<MembershipRequest>isNew in interface MembershipRequestModeltrue if this model instance does not yet exist in
the database; false otherwisepublic ExpandoBridge getExpandoBridge()
BaseModelgetExpandoBridge in interface BaseModel<MembershipRequest>getExpandoBridge in interface ClassedModelgetExpandoBridge in interface MembershipRequestModelpublic int compareTo(MembershipRequest membershipRequest)
compareTo in interface MembershipRequestModelcompareTo in interface Comparable<MembershipRequest>public int hashCode()
hashCode in interface MembershipRequestModelhashCode in class Objectpublic Serializable getPrimaryKeyObj()
BaseModelgetPrimaryKeyObj in interface BaseModel<MembershipRequest>getPrimaryKeyObj in interface ClassedModelgetPrimaryKeyObj in interface MembershipRequestModelpublic Object clone()
BaseModelclone in interface BaseModel<MembershipRequest>clone in interface MembershipRequestModelclone in class Objectpublic String getComments()
getComments in interface MembershipRequestModelpublic String getReplierUserUuid()
getReplierUserUuid in interface MembershipRequestModelpublic String getReplyComments()
getReplyComments in interface MembershipRequestModelpublic String getUserUuid()
getUserUuid in interface MembershipRequestModelpublic String toString()
toString in interface MembershipRequestModeltoString in class Objectpublic String toXmlString()
BaseModeltoXmlString in interface BaseModel<MembershipRequest>toXmlString in interface MembershipRequestModelpublic Date getCreateDate()
getCreateDate in interface MembershipRequestModelpublic Date getReplyDate()
getReplyDate in interface MembershipRequestModelpublic long getCompanyId()
getCompanyId in interface MembershipRequestModelgetCompanyId in interface ShardedModelpublic long getGroupId()
getGroupId in interface MembershipRequestModelpublic long getMembershipRequestId()
getMembershipRequestId in interface MembershipRequestModelpublic long getMvccVersion()
getMvccVersion in interface MembershipRequestModelgetMvccVersion in interface MVCCModelpublic long getPrimaryKey()
getPrimaryKey in interface MembershipRequestModelpublic long getReplierUserId()
getReplierUserId in interface MembershipRequestModelpublic long getStatusId()
getStatusId in interface MembershipRequestModelpublic long getUserId()
getUserId in interface MembershipRequestModelpublic void persist()
PersistedModelpersist in interface PersistedModelpublic void setCachedModel(boolean cachedModel)
BaseModelsetCachedModel in interface BaseModel<MembershipRequest>setCachedModel in interface MembershipRequestModelcachedModel - whether this model instance was retrieved from the
entity cacheEntityCachepublic void setComments(String comments)
setComments in interface MembershipRequestModelcomments - the comments of this membership requestpublic void setCompanyId(long companyId)
setCompanyId in interface MembershipRequestModelsetCompanyId in interface ShardedModelcompanyId - the company ID of this membership requestpublic void setCreateDate(Date createDate)
setCreateDate in interface MembershipRequestModelcreateDate - the create date of this membership requestpublic void setExpandoBridgeAttributes(BaseModel<?> baseModel)
setExpandoBridgeAttributes in interface BaseModel<MembershipRequest>setExpandoBridgeAttributes in interface MembershipRequestModelpublic void setExpandoBridgeAttributes(ExpandoBridge expandoBridge)
setExpandoBridgeAttributes in interface BaseModel<MembershipRequest>setExpandoBridgeAttributes in interface MembershipRequestModelpublic void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModelsetExpandoBridgeAttributes in interface BaseModel<MembershipRequest>setExpandoBridgeAttributes in interface MembershipRequestModelserviceContext - the service context to be appliedServiceContext.getExpandoBridgeAttributes()public void setGroupId(long groupId)
setGroupId in interface MembershipRequestModelgroupId - the group ID of this membership requestpublic void setMembershipRequestId(long membershipRequestId)
setMembershipRequestId in interface MembershipRequestModelmembershipRequestId - the membership request ID of this membership requestpublic void setMvccVersion(long mvccVersion)
setMvccVersion in interface MembershipRequestModelsetMvccVersion in interface MVCCModelmvccVersion - the mvcc version of this membership requestpublic void setNew(boolean n)
BaseModelsetNew in interface BaseModel<MembershipRequest>setNew in interface MembershipRequestModeln - whether this model instance does not yet exist in the databasepublic void setPrimaryKey(long primaryKey)
setPrimaryKey in interface MembershipRequestModelprimaryKey - the primary key of this membership requestpublic void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModelsetPrimaryKeyObj in interface BaseModel<MembershipRequest>setPrimaryKeyObj in interface ClassedModelsetPrimaryKeyObj in interface MembershipRequestModelprimaryKeyObj - the primary key of this model instancepublic void setReplierUserId(long replierUserId)
setReplierUserId in interface MembershipRequestModelreplierUserId - the replier user ID of this membership requestpublic void setReplierUserUuid(String replierUserUuid)
setReplierUserUuid in interface MembershipRequestModelreplierUserUuid - the replier user uuid of this membership requestpublic void setReplyComments(String replyComments)
setReplyComments in interface MembershipRequestModelreplyComments - the reply comments of this membership requestpublic void setReplyDate(Date replyDate)
setReplyDate in interface MembershipRequestModelreplyDate - the reply date of this membership requestpublic void setStatusId(long statusId)
setStatusId in interface MembershipRequestModelstatusId - the status ID of this membership requestpublic void setUserId(long userId)
setUserId in interface MembershipRequestModeluserId - the user ID of this membership requestpublic void setUserUuid(String userUuid)
setUserUuid in interface MembershipRequestModeluserUuid - the user uuid of this membership requestpublic MembershipRequest getWrappedModel()
getWrappedModel in interface ModelWrapper<MembershipRequest>public boolean isEntityCacheEnabled()
BaseModeltrue if this model's entity cache is enabled.isEntityCacheEnabled in interface BaseModel<MembershipRequest>true if this model's entity cache is enabled;
false otherwisepublic boolean isFinderCacheEnabled()
BaseModeltrue if this model's finder cache is enabled.isFinderCacheEnabled in interface BaseModel<MembershipRequest>true if this model's finder cache is enabled;
false otherwisepublic void resetOriginalValues()
BaseModelresetOriginalValues in interface BaseModel<MembershipRequest>