public class RatingsStatsWrapper extends BaseModelWrapper<RatingsStats> implements ModelWrapper<RatingsStats>, RatingsStats
This class is a wrapper for RatingsStats
.
RatingsStats
,
Serialized Formmodel
STATS_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, toXmlString
getWrappedModel
clone, getExpandoBridge, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModel, toXmlString
getModelClass, getModelClassName
public 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 RatingsStatsModel
public String getClassName()
getClassName
in interface TypedModel
getClassName
in interface RatingsStatsModel
public long getClassNameId()
getClassNameId
in interface TypedModel
getClassNameId
in interface RatingsStatsModel
public long getClassPK()
getClassPK
in interface AttachedModel
getClassPK
in interface RatingsStatsModel
public long getCompanyId()
getCompanyId
in interface ShardedModel
getCompanyId
in interface RatingsStatsModel
public long getPrimaryKey()
getPrimaryKey
in interface RatingsStatsModel
public long getStatsId()
getStatsId
in interface RatingsStatsModel
public int getTotalEntries()
getTotalEntries
in interface RatingsStatsModel
public double getTotalScore()
getTotalScore
in interface RatingsStatsModel
public void persist()
RatingsStats
interface instead.persist
in interface PersistedModel
public void setAverageScore(double averageScore)
setAverageScore
in interface RatingsStatsModel
averageScore
- the average score of this ratings statspublic void setClassName(String className)
setClassName
in interface RatingsStatsModel
public void setClassNameId(long classNameId)
setClassNameId
in interface TypedModel
setClassNameId
in interface RatingsStatsModel
classNameId
- the class name ID of this ratings statspublic void setClassPK(long classPK)
setClassPK
in interface AttachedModel
setClassPK
in interface RatingsStatsModel
classPK
- the class pk of this ratings statspublic void setCompanyId(long companyId)
setCompanyId
in interface ShardedModel
setCompanyId
in interface RatingsStatsModel
companyId
- the company ID of this ratings statspublic void setPrimaryKey(long primaryKey)
setPrimaryKey
in interface RatingsStatsModel
primaryKey
- the primary key of this ratings statspublic void setStatsId(long statsId)
setStatsId
in interface RatingsStatsModel
statsId
- the stats ID of this ratings statspublic void setTotalEntries(int totalEntries)
setTotalEntries
in interface RatingsStatsModel
totalEntries
- the total entries of this ratings statspublic void setTotalScore(double totalScore)
setTotalScore
in interface RatingsStatsModel
totalScore
- the total score of this ratings statsprotected RatingsStatsWrapper wrap(RatingsStats ratingsStats)
wrap
in class BaseModelWrapper<RatingsStats>