@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 |
---|---|
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, toXmlString
getModelClass, getModelClassName
long 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 MVCCModel
void setMvccVersion(long mvccVersion)
setMvccVersion
in interface MVCCModel
mvccVersion
- 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 ShardedModel
void setCompanyId(long companyId)
setCompanyId
in interface ShardedModel
companyId
- 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 TypedModel
void setClassName(String className)
long getClassNameId()
getClassNameId
in interface TypedModel
void setClassNameId(long classNameId)
setClassNameId
in interface TypedModel
classNameId
- the class name ID of this ratings statslong getClassPK()
getClassPK
in interface AttachedModel
void setClassPK(long classPK)
setClassPK
in interface AttachedModel
classPK
- 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 stats