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 |
|---|---|
RatingsStats |
cloneWithOriginalValues() |
Map<String,Function<RatingsStats,Object>> |
getAttributeGetterFunctions() |
Map<String,BiConsumer<RatingsStats,Object>> |
getAttributeSetterBiConsumers() |
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.
|
Date |
getCreateDate()
Returns the create date of this ratings stats.
|
long |
getCtCollectionId()
Returns the ct collection ID of this ratings stats.
|
Map<String,Object> |
getModelAttributes() |
Date |
getModifiedDate()
Returns the modified date of this ratings stats.
|
long |
getMvccVersion()
Returns the mvcc version of this ratings stats.
|
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()
Updates this model instance in the database or adds it if it does not yet
exist.
|
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 |
setCreateDate(Date createDate)
Sets the create date of this ratings stats.
|
void |
setCtCollectionId(long ctCollectionId)
Sets the ct collection ID of this ratings stats.
|
void |
setModelAttributes(Map<String,Object> attributes) |
void |
setModifiedDate(Date modifiedDate)
Sets the modified date of this ratings stats.
|
void |
setMvccVersion(long mvccVersion)
Sets the mvcc version of this ratings stats.
|
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 RatingsStats cloneWithOriginalValues()
cloneWithOriginalValues in interface BaseModel<RatingsStats>cloneWithOriginalValues in interface RatingsStatsModelpublic 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 Date getCreateDate()
getCreateDate in interface RatingsStatsModelpublic long getCtCollectionId()
getCtCollectionId in interface CTModel<RatingsStats>getCtCollectionId in interface RatingsStatsModelpublic Date getModifiedDate()
getModifiedDate in interface RatingsStatsModelpublic long getMvccVersion()
getMvccVersion in interface MVCCModelgetMvccVersion in interface RatingsStatsModelpublic long getPrimaryKey()
getPrimaryKey in interface CTModel<RatingsStats>getPrimaryKey in interface RatingsStatsModelpublic long getStatsId()
getStatsId in interface RatingsStatsModelpublic int getTotalEntries()
getTotalEntries in interface RatingsStatsModelpublic double getTotalScore()
getTotalScore in interface RatingsStatsModelpublic void persist()
PersistedModelpersist 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 setCreateDate(Date createDate)
setCreateDate in interface RatingsStatsModelcreateDate - the create date of this ratings statspublic void setCtCollectionId(long ctCollectionId)
setCtCollectionId in interface CTModel<RatingsStats>setCtCollectionId in interface RatingsStatsModelctCollectionId - the ct collection ID of this ratings statspublic void setModifiedDate(Date modifiedDate)
setModifiedDate in interface RatingsStatsModelmodifiedDate - the modified date of this ratings statspublic void setMvccVersion(long mvccVersion)
setMvccVersion in interface MVCCModelsetMvccVersion in interface RatingsStatsModelmvccVersion - the mvcc version of this ratings statspublic void setPrimaryKey(long primaryKey)
setPrimaryKey in interface CTModel<RatingsStats>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 statspublic Map<String,Function<RatingsStats,Object>> getAttributeGetterFunctions()
getAttributeGetterFunctions in interface BaseModel<RatingsStats>public Map<String,BiConsumer<RatingsStats,Object>> getAttributeSetterBiConsumers()
getAttributeSetterBiConsumers in interface BaseModel<RatingsStats>protected RatingsStatsWrapper wrap(RatingsStats ratingsStats)
wrap in class BaseModelWrapper<RatingsStats>