@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 ClassedModel
public String getModelClassName()
getModelClassName
in interface ClassedModel
public Map<String,Object> getModelAttributes()
getModelAttributes
in interface BaseModel<MembershipRequest>
public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes
in interface BaseModel<MembershipRequest>
public Object clone()
BaseModel
clone
in interface BaseModel<MembershipRequest>
clone
in interface MembershipRequestModel
clone
in class Object
public int compareTo(MembershipRequest membershipRequest)
compareTo
in interface MembershipRequestModel
compareTo
in interface Comparable<MembershipRequest>
public String getComments()
getComments
in interface MembershipRequestModel
public long getCompanyId()
getCompanyId
in interface MembershipRequestModel
getCompanyId
in interface ShardedModel
public Date getCreateDate()
getCreateDate
in interface MembershipRequestModel
public ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge
in interface BaseModel<MembershipRequest>
getExpandoBridge
in interface ClassedModel
getExpandoBridge
in interface MembershipRequestModel
public long getGroupId()
getGroupId
in interface MembershipRequestModel
public long getMembershipRequestId()
getMembershipRequestId
in interface MembershipRequestModel
public long getMvccVersion()
getMvccVersion
in interface MembershipRequestModel
getMvccVersion
in interface MVCCModel
public long getPrimaryKey()
getPrimaryKey
in interface MembershipRequestModel
public Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj
in interface BaseModel<MembershipRequest>
getPrimaryKeyObj
in interface ClassedModel
getPrimaryKeyObj
in interface MembershipRequestModel
public long getReplierUserId()
getReplierUserId
in interface MembershipRequestModel
public String getReplierUserUuid()
getReplierUserUuid
in interface MembershipRequestModel
public String getReplyComments()
getReplyComments
in interface MembershipRequestModel
public Date getReplyDate()
getReplyDate
in interface MembershipRequestModel
public long getStatusId()
getStatusId
in interface MembershipRequestModel
public long getUserId()
getUserId
in interface MembershipRequestModel
public String getUserUuid()
getUserUuid
in interface MembershipRequestModel
public int hashCode()
hashCode
in interface MembershipRequestModel
hashCode
in class Object
public boolean isCachedModel()
BaseModel
true
if this model instance was retrieved from the
entity cache.isCachedModel
in interface BaseModel<MembershipRequest>
isCachedModel
in interface MembershipRequestModel
true
if this model instance was retrieved from the
entity cache; false
otherwiseBaseModel.setCachedModel(boolean)
public boolean isEscapedModel()
BaseModel
true
if this model instance is escaped.isEscapedModel
in interface BaseModel<MembershipRequest>
isEscapedModel
in interface MembershipRequestModel
true
if this model instance is escaped;
false
otherwisepublic boolean isNew()
BaseModel
true
if this model instance does not yet exist in
the database.isNew
in interface BaseModel<MembershipRequest>
isNew
in interface MembershipRequestModel
true
if this model instance does not yet exist in
the database; false
otherwisepublic void persist()
PersistedModel
persist
in interface PersistedModel
public void setCachedModel(boolean cachedModel)
BaseModel
setCachedModel
in interface BaseModel<MembershipRequest>
setCachedModel
in interface MembershipRequestModel
cachedModel
- whether this model instance was retrieved from the
entity cacheEntityCache
public void setComments(String comments)
setComments
in interface MembershipRequestModel
comments
- the comments of this membership requestpublic void setCompanyId(long companyId)
setCompanyId
in interface MembershipRequestModel
setCompanyId
in interface ShardedModel
companyId
- the company ID of this membership requestpublic void setCreateDate(Date createDate)
setCreateDate
in interface MembershipRequestModel
createDate
- the create date of this membership requestpublic void setExpandoBridgeAttributes(BaseModel<?> baseModel)
setExpandoBridgeAttributes
in interface BaseModel<MembershipRequest>
setExpandoBridgeAttributes
in interface MembershipRequestModel
public void setExpandoBridgeAttributes(ExpandoBridge expandoBridge)
setExpandoBridgeAttributes
in interface BaseModel<MembershipRequest>
setExpandoBridgeAttributes
in interface MembershipRequestModel
public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes
in interface BaseModel<MembershipRequest>
setExpandoBridgeAttributes
in interface MembershipRequestModel
serviceContext
- the service context to be appliedServiceContext.getExpandoBridgeAttributes()
public void setGroupId(long groupId)
setGroupId
in interface MembershipRequestModel
groupId
- the group ID of this membership requestpublic void setMembershipRequestId(long membershipRequestId)
setMembershipRequestId
in interface MembershipRequestModel
membershipRequestId
- the membership request ID of this membership requestpublic void setMvccVersion(long mvccVersion)
setMvccVersion
in interface MembershipRequestModel
setMvccVersion
in interface MVCCModel
mvccVersion
- the mvcc version of this membership requestpublic void setNew(boolean n)
BaseModel
setNew
in interface BaseModel<MembershipRequest>
setNew
in interface MembershipRequestModel
n
- whether this model instance does not yet exist in the databasepublic void setPrimaryKey(long primaryKey)
setPrimaryKey
in interface MembershipRequestModel
primaryKey
- the primary key of this membership requestpublic void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj
in interface BaseModel<MembershipRequest>
setPrimaryKeyObj
in interface ClassedModel
setPrimaryKeyObj
in interface MembershipRequestModel
primaryKeyObj
- the primary key of this model instancepublic void setReplierUserId(long replierUserId)
setReplierUserId
in interface MembershipRequestModel
replierUserId
- the replier user ID of this membership requestpublic void setReplierUserUuid(String replierUserUuid)
setReplierUserUuid
in interface MembershipRequestModel
replierUserUuid
- the replier user uuid of this membership requestpublic void setReplyComments(String replyComments)
setReplyComments
in interface MembershipRequestModel
replyComments
- the reply comments of this membership requestpublic void setReplyDate(Date replyDate)
setReplyDate
in interface MembershipRequestModel
replyDate
- the reply date of this membership requestpublic void setStatusId(long statusId)
setStatusId
in interface MembershipRequestModel
statusId
- the status ID of this membership requestpublic void setUserId(long userId)
setUserId
in interface MembershipRequestModel
userId
- the user ID of this membership requestpublic void setUserUuid(String userUuid)
setUserUuid
in interface MembershipRequestModel
userUuid
- the user uuid of this membership requestpublic CacheModel<MembershipRequest> toCacheModel()
BaseModel
toCacheModel
in interface BaseModel<MembershipRequest>
toCacheModel
in interface MembershipRequestModel
public MembershipRequest toEscapedModel()
BaseModel
AutoEscapeBeanHandler
.toEscapedModel
in interface BaseModel<MembershipRequest>
toEscapedModel
in interface MembershipRequestModel
AutoEscapeBeanHandler
public String toString()
toString
in interface MembershipRequestModel
toString
in class Object
public MembershipRequest toUnescapedModel()
toUnescapedModel
in interface BaseModel<MembershipRequest>
toUnescapedModel
in interface MembershipRequestModel
public String toXmlString()
BaseModel
toXmlString
in interface BaseModel<MembershipRequest>
toXmlString
in interface MembershipRequestModel
public boolean equals(Object obj)
equals
in class Object
public MembershipRequest getWrappedModel()
getWrappedModel
in interface ModelWrapper<MembershipRequest>
public boolean isEntityCacheEnabled()
BaseModel
true
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()
BaseModel
true
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()
BaseModel
resetOriginalValues
in interface BaseModel<MembershipRequest>