Package com.liferay.ratings.kernel.model
Interface RatingsStatsModel
- All Superinterfaces:
AttachedModel
,BaseModel<RatingsStats>
,ClassedModel
,Cloneable
,Comparable<RatingsStats>
,CTModel<RatingsStats>
,MVCCModel
,Serializable
,ShardedModel
,TypedModel
- All Known Subinterfaces:
RatingsStats
- All Known Implementing Classes:
RatingsStatsWrapper
@ProviderType
public interface RatingsStatsModel
extends AttachedModel, BaseModel<RatingsStats>, CTModel<RatingsStats>, MVCCModel, ShardedModel
The base model interface for the RatingsStats service. Represents a row in the "RatingsStats" database table, with each column mapped to a property of this class.
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
.
- Author:
- Brian Wing Shun Chan
- See Also:
- {$generated.description}
-
Method Summary
Modifier and TypeMethodDescriptiondouble
Returns the average score of this ratings stats.Returns the fully qualified class name of this ratings stats.long
Returns the class name ID of this ratings stats.long
Returns the class pk of this ratings stats.long
Returns the company ID of this ratings stats.Returns the create date of this ratings stats.long
Returns the ct collection ID of this ratings stats.Returns the modified date of this ratings stats.long
Returns the mvcc version of this ratings stats.long
Returns the primary key of this ratings stats.long
Returns the stats ID of this ratings stats.int
Returns the total entries of this ratings stats.double
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.default String
Methods inherited from interface com.liferay.portal.kernel.model.BaseModel
clone, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getExpandoBridge, getModelAttributes, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setModelAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModel
Methods inherited from interface com.liferay.portal.kernel.model.ClassedModel
getModelClass, getModelClassName
Methods inherited from interface java.lang.Comparable
compareTo
-
Method Details
-
getPrimaryKey
long getPrimaryKey()Returns the primary key of this ratings stats.- Specified by:
getPrimaryKey
in interfaceCTModel<RatingsStats>
- Returns:
- the primary key of this ratings stats
-
setPrimaryKey
void setPrimaryKey(long primaryKey) Sets the primary key of this ratings stats.- Specified by:
setPrimaryKey
in interfaceCTModel<RatingsStats>
- Parameters:
primaryKey
- the primary key of this ratings stats
-
getMvccVersion
long getMvccVersion()Returns the mvcc version of this ratings stats.- Specified by:
getMvccVersion
in interfaceMVCCModel
- Returns:
- the mvcc version of this ratings stats
-
setMvccVersion
void setMvccVersion(long mvccVersion) Sets the mvcc version of this ratings stats.- Specified by:
setMvccVersion
in interfaceMVCCModel
- Parameters:
mvccVersion
- the mvcc version of this ratings stats
-
getCtCollectionId
long getCtCollectionId()Returns the ct collection ID of this ratings stats.- Specified by:
getCtCollectionId
in interfaceCTModel<RatingsStats>
- Returns:
- the ct collection ID of this ratings stats
-
setCtCollectionId
void setCtCollectionId(long ctCollectionId) Sets the ct collection ID of this ratings stats.- Specified by:
setCtCollectionId
in interfaceCTModel<RatingsStats>
- Parameters:
ctCollectionId
- the ct collection ID of this ratings stats
-
getStatsId
long getStatsId()Returns the stats ID of this ratings stats.- Returns:
- the stats ID of this ratings stats
-
setStatsId
void setStatsId(long statsId) Sets the stats ID of this ratings stats.- Parameters:
statsId
- the stats ID of this ratings stats
-
getCompanyId
long getCompanyId()Returns the company ID of this ratings stats.- Specified by:
getCompanyId
in interfaceShardedModel
- Returns:
- the company ID of this ratings stats
-
setCompanyId
void setCompanyId(long companyId) Sets the company ID of this ratings stats.- Specified by:
setCompanyId
in interfaceShardedModel
- Parameters:
companyId
- the company ID of this ratings stats
-
getCreateDate
Date getCreateDate()Returns the create date of this ratings stats.- Returns:
- the create date of this ratings stats
-
setCreateDate
Sets the create date of this ratings stats.- Parameters:
createDate
- the create date of this ratings stats
-
getModifiedDate
Date getModifiedDate()Returns the modified date of this ratings stats.- Returns:
- the modified date of this ratings stats
-
setModifiedDate
Sets the modified date of this ratings stats.- Parameters:
modifiedDate
- the modified date of this ratings stats
-
getClassName
String getClassName()Returns the fully qualified class name of this ratings stats.- Specified by:
getClassName
in interfaceTypedModel
- Returns:
- the fully qualified class name of this ratings stats
-
setClassName
-
getClassNameId
long getClassNameId()Returns the class name ID of this ratings stats.- Specified by:
getClassNameId
in interfaceTypedModel
- Returns:
- the class name ID of this ratings stats
-
setClassNameId
void setClassNameId(long classNameId) Sets the class name ID of this ratings stats.- Specified by:
setClassNameId
in interfaceTypedModel
- Parameters:
classNameId
- the class name ID of this ratings stats
-
getClassPK
long getClassPK()Returns the class pk of this ratings stats.- Specified by:
getClassPK
in interfaceAttachedModel
- Returns:
- the class pk of this ratings stats
-
setClassPK
void setClassPK(long classPK) Sets the class pk of this ratings stats.- Specified by:
setClassPK
in interfaceAttachedModel
- Parameters:
classPK
- the class pk of this ratings stats
-
getTotalEntries
int getTotalEntries()Returns the total entries of this ratings stats.- Returns:
- the total entries of this ratings stats
-
setTotalEntries
void setTotalEntries(int totalEntries) Sets the total entries of this ratings stats.- Parameters:
totalEntries
- the total entries of this ratings stats
-
getTotalScore
double getTotalScore()Returns the total score of this ratings stats.- Returns:
- the total score of this ratings stats
-
setTotalScore
void setTotalScore(double totalScore) Sets the total score of this ratings stats.- Parameters:
totalScore
- the total score of this ratings stats
-
getAverageScore
double getAverageScore()Returns the average score of this ratings stats.- Returns:
- the average score of this ratings stats
-
setAverageScore
void setAverageScore(double averageScore) Sets the average score of this ratings stats.- Parameters:
averageScore
- the average score of this ratings stats
-
cloneWithOriginalValues
RatingsStats cloneWithOriginalValues()- Specified by:
cloneWithOriginalValues
in interfaceBaseModel<RatingsStats>
-
toXmlString
-