@ProviderType public class MBStatsUserWrapper extends Object implements MBStatsUser, ModelWrapper<MBStatsUser>
This class is a wrapper for MBStatsUser.
MBStatsUser,
Serialized FormSTATS_USER_ID_ACCESSOR| Constructor and Description |
|---|
MBStatsUserWrapper(MBStatsUser mbStatsUser) |
| Modifier and Type | Method and Description |
|---|---|
Object |
clone()
Creates a shallow clone of this model instance.
|
int |
compareTo(MBStatsUser mbStatsUser) |
boolean |
equals(Object obj) |
long |
getCompanyId()
Returns the company ID of this message boards stats user.
|
ExpandoBridge |
getExpandoBridge()
Returns the expando bridge for this model instance.
|
long |
getGroupId()
Returns the group ID of this message boards stats user.
|
Date |
getLastPostDate()
Returns the last post date of this message boards stats user.
|
int |
getMessageCount()
Returns the message count of this message boards stats user.
|
Map<String,Object> |
getModelAttributes() |
Class<?> |
getModelClass() |
String |
getModelClassName() |
long |
getPrimaryKey()
Returns the primary key of this message boards stats user.
|
Serializable |
getPrimaryKeyObj()
Returns the primary key of this model instance.
|
long |
getStatsUserId()
Returns the stats user ID of this message boards stats user.
|
String |
getStatsUserUuid()
Returns the stats user uuid of this message boards stats user.
|
long |
getUserId()
Returns the user ID of this message boards stats user.
|
String |
getUserUuid()
Returns the user uuid of this message boards stats user.
|
MBStatsUser |
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 |
setCompanyId(long companyId)
Sets the company ID of this message boards stats user.
|
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 message boards stats user.
|
void |
setLastPostDate(Date lastPostDate)
Sets the last post date of this message boards stats user.
|
void |
setMessageCount(int messageCount)
Sets the message count of this message boards stats user.
|
void |
setModelAttributes(Map<String,Object> attributes) |
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 message boards stats user.
|
void |
setPrimaryKeyObj(Serializable primaryKeyObj)
Sets the primary key of this model instance.
|
void |
setStatsUserId(long statsUserId)
Sets the stats user ID of this message boards stats user.
|
void |
setStatsUserUuid(String statsUserUuid)
Sets the stats user uuid of this message boards stats user.
|
void |
setUserId(long userId)
Sets the user ID of this message boards stats user.
|
void |
setUserUuid(String userUuid)
Sets the user uuid of this message boards stats user.
|
CacheModel<MBStatsUser> |
toCacheModel()
Returns a cache model object for this entity used by entity cache.
|
MBStatsUser |
toEscapedModel()
Returns a copy of this entity as an escaped model instance by wrapping it
with an
AutoEscapeBeanHandler. |
String |
toString() |
MBStatsUser |
toUnescapedModel() |
String |
toXmlString()
Returns the XML representation of this model instance.
|
public MBStatsUserWrapper(MBStatsUser mbStatsUser)
public Class<?> getModelClass()
getModelClass in interface ClassedModelpublic String getModelClassName()
getModelClassName in interface ClassedModelpublic Map<String,Object> getModelAttributes()
getModelAttributes in interface BaseModel<MBStatsUser>public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes in interface BaseModel<MBStatsUser>public MBStatsUser toEscapedModel()
BaseModelAutoEscapeBeanHandler.toEscapedModel in interface MBStatsUserModeltoEscapedModel in interface BaseModel<MBStatsUser>AutoEscapeBeanHandlerpublic MBStatsUser toUnescapedModel()
toUnescapedModel in interface MBStatsUserModeltoUnescapedModel in interface BaseModel<MBStatsUser>public boolean isCachedModel()
BaseModeltrue if this model instance was retrieved from the
entity cache.isCachedModel in interface MBStatsUserModelisCachedModel in interface BaseModel<MBStatsUser>true 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 MBStatsUserModelisEscapedModel in interface BaseModel<MBStatsUser>true 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 MBStatsUserModelisNew in interface BaseModel<MBStatsUser>true if this model instance does not yet exist in
the database; false otherwisepublic ExpandoBridge getExpandoBridge()
BaseModelgetExpandoBridge in interface MBStatsUserModelgetExpandoBridge in interface BaseModel<MBStatsUser>getExpandoBridge in interface ClassedModelpublic CacheModel<MBStatsUser> toCacheModel()
BaseModeltoCacheModel in interface MBStatsUserModeltoCacheModel in interface BaseModel<MBStatsUser>public int compareTo(MBStatsUser mbStatsUser)
compareTo in interface MBStatsUserModelcompareTo in interface Comparable<MBStatsUser>public int getMessageCount()
getMessageCount in interface MBStatsUserModelpublic int hashCode()
hashCode in interface MBStatsUserModelhashCode in class Objectpublic Serializable getPrimaryKeyObj()
BaseModelgetPrimaryKeyObj in interface MBStatsUserModelgetPrimaryKeyObj in interface BaseModel<MBStatsUser>getPrimaryKeyObj in interface ClassedModelpublic Object clone()
BaseModelclone in interface MBStatsUserModelclone in interface BaseModel<MBStatsUser>clone in class Objectpublic String getStatsUserUuid()
getStatsUserUuid in interface MBStatsUserModelpublic String getUserUuid()
getUserUuid in interface MBStatsUserModelpublic String toString()
toString in interface MBStatsUserModeltoString in class Objectpublic String toXmlString()
BaseModeltoXmlString in interface MBStatsUserModeltoXmlString in interface BaseModel<MBStatsUser>public Date getLastPostDate()
getLastPostDate in interface MBStatsUserModelpublic long getCompanyId()
getCompanyId in interface MBStatsUserModelgetCompanyId in interface ShardedModelpublic long getGroupId()
getGroupId in interface MBStatsUserModelpublic long getPrimaryKey()
getPrimaryKey in interface MBStatsUserModelpublic long getStatsUserId()
getStatsUserId in interface MBStatsUserModelpublic long getUserId()
getUserId in interface MBStatsUserModelpublic void persist()
PersistedModelpersist in interface PersistedModelpublic void setCachedModel(boolean cachedModel)
BaseModelsetCachedModel in interface MBStatsUserModelsetCachedModel in interface BaseModel<MBStatsUser>cachedModel - whether this model instance was retrieved from the
entity cacheEntityCachepublic void setCompanyId(long companyId)
setCompanyId in interface MBStatsUserModelsetCompanyId in interface ShardedModelcompanyId - the company ID of this message boards stats userpublic void setExpandoBridgeAttributes(ExpandoBridge expandoBridge)
setExpandoBridgeAttributes in interface MBStatsUserModelsetExpandoBridgeAttributes in interface BaseModel<MBStatsUser>public void setExpandoBridgeAttributes(BaseModel<?> baseModel)
setExpandoBridgeAttributes in interface MBStatsUserModelsetExpandoBridgeAttributes in interface BaseModel<MBStatsUser>public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModelsetExpandoBridgeAttributes in interface MBStatsUserModelsetExpandoBridgeAttributes in interface BaseModel<MBStatsUser>serviceContext - the service context to be appliedServiceContext.getExpandoBridgeAttributes()public void setGroupId(long groupId)
setGroupId in interface MBStatsUserModelgroupId - the group ID of this message boards stats userpublic void setLastPostDate(Date lastPostDate)
setLastPostDate in interface MBStatsUserModellastPostDate - the last post date of this message boards stats userpublic void setMessageCount(int messageCount)
setMessageCount in interface MBStatsUserModelmessageCount - the message count of this message boards stats userpublic void setNew(boolean n)
BaseModelsetNew in interface MBStatsUserModelsetNew in interface BaseModel<MBStatsUser>n - whether this model instance does not yet exist in the databasepublic void setPrimaryKey(long primaryKey)
setPrimaryKey in interface MBStatsUserModelprimaryKey - the primary key of this message boards stats userpublic void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModelsetPrimaryKeyObj in interface MBStatsUserModelsetPrimaryKeyObj in interface BaseModel<MBStatsUser>setPrimaryKeyObj in interface ClassedModelprimaryKeyObj - the primary key of this model instancepublic void setStatsUserId(long statsUserId)
setStatsUserId in interface MBStatsUserModelstatsUserId - the stats user ID of this message boards stats userpublic void setStatsUserUuid(String statsUserUuid)
setStatsUserUuid in interface MBStatsUserModelstatsUserUuid - the stats user uuid of this message boards stats userpublic void setUserId(long userId)
setUserId in interface MBStatsUserModeluserId - the user ID of this message boards stats userpublic void setUserUuid(String userUuid)
setUserUuid in interface MBStatsUserModeluserUuid - the user uuid of this message boards stats userpublic MBStatsUser getWrappedModel()
getWrappedModel in interface ModelWrapper<MBStatsUser>public boolean isEntityCacheEnabled()
BaseModeltrue if this model's entity cache is enabled.isEntityCacheEnabled in interface BaseModel<MBStatsUser>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<MBStatsUser>true if this model's finder cache is enabled;
false otherwisepublic void resetOriginalValues()
BaseModelresetOriginalValues in interface BaseModel<MBStatsUser>