@ProviderType public class BlogsStatsUserWrapper extends Object implements BlogsStatsUser, ModelWrapper<BlogsStatsUser>
This class is a wrapper for BlogsStatsUser
.
BlogsStatsUser
,
Serialized FormSTATS_USER_ID_ACCESSOR
Constructor and Description |
---|
BlogsStatsUserWrapper(BlogsStatsUser blogsStatsUser) |
Modifier and Type | Method and Description |
---|---|
Object |
clone()
Creates a shallow clone of this model instance.
|
int |
compareTo(BlogsStatsUser blogsStatsUser) |
boolean |
equals(Object obj) |
long |
getCompanyId()
Returns the company ID of this blogs stats user.
|
int |
getEntryCount()
Returns the entry count of this blogs stats user.
|
ExpandoBridge |
getExpandoBridge()
Returns the expando bridge for this model instance.
|
long |
getGroupId()
Returns the group ID of this blogs stats user.
|
Date |
getLastPostDate()
Returns the last post date of this blogs stats user.
|
Map<String,Object> |
getModelAttributes() |
Class<?> |
getModelClass() |
String |
getModelClassName() |
long |
getPrimaryKey()
Returns the primary key of this blogs stats user.
|
Serializable |
getPrimaryKeyObj()
Returns the primary key of this model instance.
|
double |
getRatingsAverageScore()
Returns the ratings average score of this blogs stats user.
|
int |
getRatingsTotalEntries()
Returns the ratings total entries of this blogs stats user.
|
double |
getRatingsTotalScore()
Returns the ratings total score of this blogs stats user.
|
long |
getStatsUserId()
Returns the stats user ID of this blogs stats user.
|
String |
getStatsUserUuid()
Returns the stats user uuid of this blogs stats user.
|
long |
getUserId()
Returns the user ID of this blogs stats user.
|
String |
getUserUuid()
Returns the user uuid of this blogs stats user.
|
BlogsStatsUser |
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 blogs stats user.
|
void |
setEntryCount(int entryCount)
Sets the entry count of this blogs 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 blogs stats user.
|
void |
setLastPostDate(Date lastPostDate)
Sets the last post date of this blogs 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 blogs stats user.
|
void |
setPrimaryKeyObj(Serializable primaryKeyObj)
Sets the primary key of this model instance.
|
void |
setRatingsAverageScore(double ratingsAverageScore)
Sets the ratings average score of this blogs stats user.
|
void |
setRatingsTotalEntries(int ratingsTotalEntries)
Sets the ratings total entries of this blogs stats user.
|
void |
setRatingsTotalScore(double ratingsTotalScore)
Sets the ratings total score of this blogs stats user.
|
void |
setStatsUserId(long statsUserId)
Sets the stats user ID of this blogs stats user.
|
void |
setStatsUserUuid(String statsUserUuid)
Sets the stats user uuid of this blogs stats user.
|
void |
setUserId(long userId)
Sets the user ID of this blogs stats user.
|
void |
setUserUuid(String userUuid)
Sets the user uuid of this blogs stats user.
|
CacheModel<BlogsStatsUser> |
toCacheModel()
Returns a cache model object for this entity used by entity cache.
|
BlogsStatsUser |
toEscapedModel()
Returns a copy of this entity as an escaped model instance by wrapping it
with an
AutoEscapeBeanHandler . |
String |
toString() |
BlogsStatsUser |
toUnescapedModel() |
String |
toXmlString()
Returns the XML representation of this model instance.
|
public BlogsStatsUserWrapper(BlogsStatsUser blogsStatsUser)
public Class<?> getModelClass()
getModelClass
in interface ClassedModel
public String getModelClassName()
getModelClassName
in interface ClassedModel
public Map<String,Object> getModelAttributes()
getModelAttributes
in interface BaseModel<BlogsStatsUser>
public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes
in interface BaseModel<BlogsStatsUser>
public Object clone()
BaseModel
clone
in interface BlogsStatsUserModel
clone
in interface BaseModel<BlogsStatsUser>
clone
in class Object
public int compareTo(BlogsStatsUser blogsStatsUser)
compareTo
in interface BlogsStatsUserModel
compareTo
in interface Comparable<BlogsStatsUser>
public long getCompanyId()
getCompanyId
in interface BlogsStatsUserModel
getCompanyId
in interface ShardedModel
public int getEntryCount()
getEntryCount
in interface BlogsStatsUserModel
public ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge
in interface BlogsStatsUserModel
getExpandoBridge
in interface BaseModel<BlogsStatsUser>
getExpandoBridge
in interface ClassedModel
public long getGroupId()
getGroupId
in interface BlogsStatsUserModel
public Date getLastPostDate()
getLastPostDate
in interface BlogsStatsUserModel
public long getPrimaryKey()
getPrimaryKey
in interface BlogsStatsUserModel
public Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj
in interface BlogsStatsUserModel
getPrimaryKeyObj
in interface BaseModel<BlogsStatsUser>
getPrimaryKeyObj
in interface ClassedModel
public double getRatingsAverageScore()
getRatingsAverageScore
in interface BlogsStatsUserModel
public int getRatingsTotalEntries()
getRatingsTotalEntries
in interface BlogsStatsUserModel
public double getRatingsTotalScore()
getRatingsTotalScore
in interface BlogsStatsUserModel
public long getStatsUserId()
getStatsUserId
in interface BlogsStatsUserModel
public String getStatsUserUuid()
getStatsUserUuid
in interface BlogsStatsUserModel
public long getUserId()
getUserId
in interface BlogsStatsUserModel
public String getUserUuid()
getUserUuid
in interface BlogsStatsUserModel
public int hashCode()
hashCode
in interface BlogsStatsUserModel
hashCode
in class Object
public boolean isCachedModel()
BaseModel
true
if this model instance was retrieved from the
entity cache.isCachedModel
in interface BlogsStatsUserModel
isCachedModel
in interface BaseModel<BlogsStatsUser>
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 BlogsStatsUserModel
isEscapedModel
in interface BaseModel<BlogsStatsUser>
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 BlogsStatsUserModel
isNew
in interface BaseModel<BlogsStatsUser>
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 BlogsStatsUserModel
setCachedModel
in interface BaseModel<BlogsStatsUser>
cachedModel
- whether this model instance was retrieved from the
entity cacheEntityCache
public void setCompanyId(long companyId)
setCompanyId
in interface BlogsStatsUserModel
setCompanyId
in interface ShardedModel
companyId
- the company ID of this blogs stats userpublic void setEntryCount(int entryCount)
setEntryCount
in interface BlogsStatsUserModel
entryCount
- the entry count of this blogs stats userpublic void setExpandoBridgeAttributes(BaseModel<?> baseModel)
setExpandoBridgeAttributes
in interface BlogsStatsUserModel
setExpandoBridgeAttributes
in interface BaseModel<BlogsStatsUser>
public void setExpandoBridgeAttributes(ExpandoBridge expandoBridge)
setExpandoBridgeAttributes
in interface BlogsStatsUserModel
setExpandoBridgeAttributes
in interface BaseModel<BlogsStatsUser>
public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes
in interface BlogsStatsUserModel
setExpandoBridgeAttributes
in interface BaseModel<BlogsStatsUser>
serviceContext
- the service context to be appliedServiceContext.getExpandoBridgeAttributes()
public void setGroupId(long groupId)
setGroupId
in interface BlogsStatsUserModel
groupId
- the group ID of this blogs stats userpublic void setLastPostDate(Date lastPostDate)
setLastPostDate
in interface BlogsStatsUserModel
lastPostDate
- the last post date of this blogs stats userpublic void setNew(boolean n)
BaseModel
setNew
in interface BlogsStatsUserModel
setNew
in interface BaseModel<BlogsStatsUser>
n
- whether this model instance does not yet exist in the databasepublic void setPrimaryKey(long primaryKey)
setPrimaryKey
in interface BlogsStatsUserModel
primaryKey
- the primary key of this blogs stats userpublic void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj
in interface BlogsStatsUserModel
setPrimaryKeyObj
in interface BaseModel<BlogsStatsUser>
setPrimaryKeyObj
in interface ClassedModel
primaryKeyObj
- the primary key of this model instancepublic void setRatingsAverageScore(double ratingsAverageScore)
setRatingsAverageScore
in interface BlogsStatsUserModel
ratingsAverageScore
- the ratings average score of this blogs stats userpublic void setRatingsTotalEntries(int ratingsTotalEntries)
setRatingsTotalEntries
in interface BlogsStatsUserModel
ratingsTotalEntries
- the ratings total entries of this blogs stats userpublic void setRatingsTotalScore(double ratingsTotalScore)
setRatingsTotalScore
in interface BlogsStatsUserModel
ratingsTotalScore
- the ratings total score of this blogs stats userpublic void setStatsUserId(long statsUserId)
setStatsUserId
in interface BlogsStatsUserModel
statsUserId
- the stats user ID of this blogs stats userpublic void setStatsUserUuid(String statsUserUuid)
setStatsUserUuid
in interface BlogsStatsUserModel
statsUserUuid
- the stats user uuid of this blogs stats userpublic void setUserId(long userId)
setUserId
in interface BlogsStatsUserModel
userId
- the user ID of this blogs stats userpublic void setUserUuid(String userUuid)
setUserUuid
in interface BlogsStatsUserModel
userUuid
- the user uuid of this blogs stats userpublic CacheModel<BlogsStatsUser> toCacheModel()
BaseModel
toCacheModel
in interface BlogsStatsUserModel
toCacheModel
in interface BaseModel<BlogsStatsUser>
public BlogsStatsUser toEscapedModel()
BaseModel
AutoEscapeBeanHandler
.toEscapedModel
in interface BlogsStatsUserModel
toEscapedModel
in interface BaseModel<BlogsStatsUser>
AutoEscapeBeanHandler
public String toString()
toString
in interface BlogsStatsUserModel
toString
in class Object
public BlogsStatsUser toUnescapedModel()
toUnescapedModel
in interface BlogsStatsUserModel
toUnescapedModel
in interface BaseModel<BlogsStatsUser>
public String toXmlString()
BaseModel
toXmlString
in interface BlogsStatsUserModel
toXmlString
in interface BaseModel<BlogsStatsUser>
public boolean equals(Object obj)
equals
in class Object
public BlogsStatsUser getWrappedModel()
getWrappedModel
in interface ModelWrapper<BlogsStatsUser>
public boolean isEntityCacheEnabled()
BaseModel
true
if this model's entity cache is enabled.isEntityCacheEnabled
in interface BaseModel<BlogsStatsUser>
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<BlogsStatsUser>
true
if this model's finder cache is enabled;
false
otherwisepublic void resetOriginalValues()
BaseModel
resetOriginalValues
in interface BaseModel<BlogsStatsUser>