@ProviderType public interface RatingsStatsModel extends AttachedModel, BaseModel<RatingsStats>, CTModel<RatingsStats>, MVCCModel, ShardedModel
This interface and its corresponding implementation com.liferay.portlet.ratings.model.impl.RatingsStatsModelImpl exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in com.liferay.portlet.ratings.model.impl.RatingsStatsImpl.
RatingsStats| Modifier and Type | Method and Description |
|---|---|
RatingsStats |
cloneWithOriginalValues() |
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.
|
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 |
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 |
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.
|
clone, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getExpandoBridge, getModelAttributes, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setModelAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModel, toXmlStringgetModelClass, getModelClassNamelong getPrimaryKey()
getPrimaryKey in interface CTModel<RatingsStats>void setPrimaryKey(long primaryKey)
setPrimaryKey in interface CTModel<RatingsStats>primaryKey - the primary key of this ratings statslong getMvccVersion()
getMvccVersion in interface MVCCModelvoid setMvccVersion(long mvccVersion)
setMvccVersion in interface MVCCModelmvccVersion - the mvcc version of this ratings statslong getCtCollectionId()
getCtCollectionId in interface CTModel<RatingsStats>void setCtCollectionId(long ctCollectionId)
setCtCollectionId in interface CTModel<RatingsStats>ctCollectionId - the ct collection ID of this ratings statslong getStatsId()
void setStatsId(long statsId)
statsId - the stats ID of this ratings statslong getCompanyId()
getCompanyId in interface ShardedModelvoid setCompanyId(long companyId)
setCompanyId in interface ShardedModelcompanyId - the company ID of this ratings statsDate getCreateDate()
void setCreateDate(Date createDate)
createDate - the create date of this ratings statsDate getModifiedDate()
void setModifiedDate(Date modifiedDate)
modifiedDate - the modified date of this ratings statsString getClassName()
getClassName in interface TypedModelvoid setClassName(String className)
long getClassNameId()
getClassNameId in interface TypedModelvoid setClassNameId(long classNameId)
setClassNameId in interface TypedModelclassNameId - the class name ID of this ratings statslong getClassPK()
getClassPK in interface AttachedModelvoid setClassPK(long classPK)
setClassPK in interface AttachedModelclassPK - the class pk of this ratings statsint getTotalEntries()
void setTotalEntries(int totalEntries)
totalEntries - the total entries of this ratings statsdouble getTotalScore()
void setTotalScore(double totalScore)
totalScore - the total score of this ratings statsdouble getAverageScore()
void setAverageScore(double averageScore)
averageScore - the average score of this ratings statsRatingsStats cloneWithOriginalValues()
cloneWithOriginalValues in interface BaseModel<RatingsStats>