public class RatingsStatsWrapper extends BaseModelWrapper<RatingsStats> implements ModelWrapper<RatingsStats>, RatingsStats
This class is a wrapper for RatingsStats.
RatingsStats,
Serialized FormmodelSTATS_ID_ACCESSOR| Constructor and Description |
|---|
RatingsStatsWrapper(RatingsStats ratingsStats) |
| Modifier and Type | Method and Description |
|---|---|
double |
getAverageScore()
Returns the average score of this ratings stats.
|
String |
getClassName()
Returns the fully qualified class name of this ratings stats.
|
long |
getClassNameId()
Returns the class name ID of this ratings stats.
|
long |
getClassPK()
Returns the class pk of this ratings stats.
|
long |
getCompanyId()
Returns the company ID of this ratings stats.
|
Map<String,Object> |
getModelAttributes() |
long |
getPrimaryKey()
Returns the primary key of this ratings stats.
|
long |
getStatsId()
Returns the stats ID of this ratings stats.
|
int |
getTotalEntries()
Returns the total entries of this ratings stats.
|
double |
getTotalScore()
Returns the total score of this ratings stats.
|
void |
persist()
NOTE FOR DEVELOPERS:
Never modify or reference this class directly.
|
void |
setAverageScore(double averageScore)
Sets the average score of this ratings stats.
|
void |
setClassName(String className) |
void |
setClassNameId(long classNameId)
Sets the class name ID of this ratings stats.
|
void |
setClassPK(long classPK)
Sets the class pk of this ratings stats.
|
void |
setCompanyId(long companyId)
Sets the company ID of this ratings stats.
|
void |
setModelAttributes(Map<String,Object> attributes) |
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this ratings stats.
|
void |
setStatsId(long statsId)
Sets the stats ID of this ratings stats.
|
void |
setTotalEntries(int totalEntries)
Sets the total entries of this ratings stats.
|
void |
setTotalScore(double totalScore)
Sets the total score of this ratings stats.
|
protected RatingsStatsWrapper |
wrap(RatingsStats ratingsStats) |
clone, compareTo, equals, getExpandoBridge, getModelClass, getModelClassName, getPrimaryKeyObj, getWrappedModel, hashCode, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toString, toUnescapedModel, toXmlStringgetWrappedModelclone, getExpandoBridge, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModel, toXmlStringgetModelClass, getModelClassNamepublic RatingsStatsWrapper(RatingsStats ratingsStats)
public Map<String,Object> getModelAttributes()
getModelAttributes in interface BaseModel<RatingsStats>public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes in interface BaseModel<RatingsStats>public double getAverageScore()
getAverageScore in interface RatingsStatsModelpublic String getClassName()
getClassName in interface TypedModelgetClassName in interface RatingsStatsModelpublic long getClassNameId()
getClassNameId in interface TypedModelgetClassNameId in interface RatingsStatsModelpublic long getClassPK()
getClassPK in interface AttachedModelgetClassPK in interface RatingsStatsModelpublic long getCompanyId()
getCompanyId in interface ShardedModelgetCompanyId in interface RatingsStatsModelpublic long getPrimaryKey()
getPrimaryKey in interface RatingsStatsModelpublic long getStatsId()
getStatsId in interface RatingsStatsModelpublic int getTotalEntries()
getTotalEntries in interface RatingsStatsModelpublic double getTotalScore()
getTotalScore in interface RatingsStatsModelpublic void persist()
RatingsStats interface instead.persist in interface PersistedModelpublic void setAverageScore(double averageScore)
setAverageScore in interface RatingsStatsModelaverageScore - the average score of this ratings statspublic void setClassName(String className)
setClassName in interface RatingsStatsModelpublic void setClassNameId(long classNameId)
setClassNameId in interface TypedModelsetClassNameId in interface RatingsStatsModelclassNameId - the class name ID of this ratings statspublic void setClassPK(long classPK)
setClassPK in interface AttachedModelsetClassPK in interface RatingsStatsModelclassPK - the class pk of this ratings statspublic void setCompanyId(long companyId)
setCompanyId in interface ShardedModelsetCompanyId in interface RatingsStatsModelcompanyId - the company ID of this ratings statspublic void setPrimaryKey(long primaryKey)
setPrimaryKey in interface RatingsStatsModelprimaryKey - the primary key of this ratings statspublic void setStatsId(long statsId)
setStatsId in interface RatingsStatsModelstatsId - the stats ID of this ratings statspublic void setTotalEntries(int totalEntries)
setTotalEntries in interface RatingsStatsModeltotalEntries - the total entries of this ratings statspublic void setTotalScore(double totalScore)
setTotalScore in interface RatingsStatsModeltotalScore - the total score of this ratings statsprotected RatingsStatsWrapper wrap(RatingsStats ratingsStats)
wrap in class BaseModelWrapper<RatingsStats>