@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 ClassedModel
public String getModelClassName()
getModelClassName
in interface ClassedModel
public Map<String,Object> getModelAttributes()
getModelAttributes
in interface BaseModel<MBStatsUser>
public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes
in interface BaseModel<MBStatsUser>
public Object clone()
BaseModel
clone
in interface MBStatsUserModel
clone
in interface BaseModel<MBStatsUser>
clone
in class Object
public int compareTo(MBStatsUser mbStatsUser)
compareTo
in interface MBStatsUserModel
compareTo
in interface Comparable<MBStatsUser>
public long getCompanyId()
getCompanyId
in interface MBStatsUserModel
getCompanyId
in interface ShardedModel
public ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge
in interface MBStatsUserModel
getExpandoBridge
in interface BaseModel<MBStatsUser>
getExpandoBridge
in interface ClassedModel
public long getGroupId()
getGroupId
in interface MBStatsUserModel
public Date getLastPostDate()
getLastPostDate
in interface MBStatsUserModel
public int getMessageCount()
getMessageCount
in interface MBStatsUserModel
public long getPrimaryKey()
getPrimaryKey
in interface MBStatsUserModel
public Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj
in interface MBStatsUserModel
getPrimaryKeyObj
in interface BaseModel<MBStatsUser>
getPrimaryKeyObj
in interface ClassedModel
public long getStatsUserId()
getStatsUserId
in interface MBStatsUserModel
public String getStatsUserUuid()
getStatsUserUuid
in interface MBStatsUserModel
public long getUserId()
getUserId
in interface MBStatsUserModel
public String getUserUuid()
getUserUuid
in interface MBStatsUserModel
public int hashCode()
hashCode
in interface MBStatsUserModel
hashCode
in class Object
public boolean isCachedModel()
BaseModel
true
if this model instance was retrieved from the
entity cache.isCachedModel
in interface MBStatsUserModel
isCachedModel
in interface BaseModel<MBStatsUser>
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 MBStatsUserModel
isEscapedModel
in interface BaseModel<MBStatsUser>
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 MBStatsUserModel
isNew
in interface BaseModel<MBStatsUser>
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 MBStatsUserModel
setCachedModel
in interface BaseModel<MBStatsUser>
cachedModel
- whether this model instance was retrieved from the
entity cacheEntityCache
public void setCompanyId(long companyId)
setCompanyId
in interface MBStatsUserModel
setCompanyId
in interface ShardedModel
companyId
- the company ID of this message boards stats userpublic void setExpandoBridgeAttributes(BaseModel<?> baseModel)
setExpandoBridgeAttributes
in interface MBStatsUserModel
setExpandoBridgeAttributes
in interface BaseModel<MBStatsUser>
public void setExpandoBridgeAttributes(ExpandoBridge expandoBridge)
setExpandoBridgeAttributes
in interface MBStatsUserModel
setExpandoBridgeAttributes
in interface BaseModel<MBStatsUser>
public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes
in interface MBStatsUserModel
setExpandoBridgeAttributes
in interface BaseModel<MBStatsUser>
serviceContext
- the service context to be appliedServiceContext.getExpandoBridgeAttributes()
public void setGroupId(long groupId)
setGroupId
in interface MBStatsUserModel
groupId
- the group ID of this message boards stats userpublic void setLastPostDate(Date lastPostDate)
setLastPostDate
in interface MBStatsUserModel
lastPostDate
- the last post date of this message boards stats userpublic void setMessageCount(int messageCount)
setMessageCount
in interface MBStatsUserModel
messageCount
- the message count of this message boards stats userpublic void setNew(boolean n)
BaseModel
setNew
in interface MBStatsUserModel
setNew
in interface BaseModel<MBStatsUser>
n
- whether this model instance does not yet exist in the databasepublic void setPrimaryKey(long primaryKey)
setPrimaryKey
in interface MBStatsUserModel
primaryKey
- the primary key of this message boards stats userpublic void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj
in interface MBStatsUserModel
setPrimaryKeyObj
in interface BaseModel<MBStatsUser>
setPrimaryKeyObj
in interface ClassedModel
primaryKeyObj
- the primary key of this model instancepublic void setStatsUserId(long statsUserId)
setStatsUserId
in interface MBStatsUserModel
statsUserId
- the stats user ID of this message boards stats userpublic void setStatsUserUuid(String statsUserUuid)
setStatsUserUuid
in interface MBStatsUserModel
statsUserUuid
- the stats user uuid of this message boards stats userpublic void setUserId(long userId)
setUserId
in interface MBStatsUserModel
userId
- the user ID of this message boards stats userpublic void setUserUuid(String userUuid)
setUserUuid
in interface MBStatsUserModel
userUuid
- the user uuid of this message boards stats userpublic CacheModel<MBStatsUser> toCacheModel()
BaseModel
toCacheModel
in interface MBStatsUserModel
toCacheModel
in interface BaseModel<MBStatsUser>
public MBStatsUser toEscapedModel()
BaseModel
AutoEscapeBeanHandler
.toEscapedModel
in interface MBStatsUserModel
toEscapedModel
in interface BaseModel<MBStatsUser>
AutoEscapeBeanHandler
public String toString()
toString
in interface MBStatsUserModel
toString
in class Object
public MBStatsUser toUnescapedModel()
toUnescapedModel
in interface MBStatsUserModel
toUnescapedModel
in interface BaseModel<MBStatsUser>
public String toXmlString()
BaseModel
toXmlString
in interface MBStatsUserModel
toXmlString
in interface BaseModel<MBStatsUser>
public boolean equals(Object obj)
equals
in class Object
public MBStatsUser getWrappedModel()
getWrappedModel
in interface ModelWrapper<MBStatsUser>
public boolean isEntityCacheEnabled()
BaseModel
true
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()
BaseModel
true
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()
BaseModel
resetOriginalValues
in interface BaseModel<MBStatsUser>