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 TypeMethodDescriptiondoubleReturns the average score of this ratings stats.Returns the fully qualified class name of this ratings stats.longReturns the class name ID of this ratings stats.longReturns the class pk of this ratings stats.longReturns the company ID of this ratings stats.Returns the create date of this ratings stats.longReturns the ct collection ID of this ratings stats.Returns the modified date of this ratings stats.longReturns the mvcc version of this ratings stats.longReturns the primary key of this ratings stats.longReturns the stats ID of this ratings stats.intReturns the total entries of this ratings stats.doubleReturns the total score of this ratings stats.voidsetAverageScore(double averageScore) Sets the average score of this ratings stats.voidsetClassName(String className) voidsetClassNameId(long classNameId) Sets the class name ID of this ratings stats.voidsetClassPK(long classPK) Sets the class pk of this ratings stats.voidsetCompanyId(long companyId) Sets the company ID of this ratings stats.voidsetCreateDate(Date createDate) Sets the create date of this ratings stats.voidsetCtCollectionId(long ctCollectionId) Sets the ct collection ID of this ratings stats.voidsetModifiedDate(Date modifiedDate) Sets the modified date of this ratings stats.voidsetMvccVersion(long mvccVersion) Sets the mvcc version of this ratings stats.voidsetPrimaryKey(long primaryKey) Sets the primary key of this ratings stats.voidsetStatsId(long statsId) Sets the stats ID of this ratings stats.voidsetTotalEntries(int totalEntries) Sets the total entries of this ratings stats.voidsetTotalScore(double totalScore) Sets the total score of this ratings stats.default StringMethods 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, toUnescapedModelMethods inherited from interface com.liferay.portal.kernel.model.ClassedModel
getModelClass, getModelClassNameMethods inherited from interface java.lang.Comparable
compareTo
-
Method Details
-
getPrimaryKey
long getPrimaryKey()Returns the primary key of this ratings stats.- Specified by:
getPrimaryKeyin 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:
setPrimaryKeyin interfaceCTModel<RatingsStats>- Parameters:
primaryKey- the primary key of this ratings stats
-
getMvccVersion
long getMvccVersion()Returns the mvcc version of this ratings stats.- Specified by:
getMvccVersionin interfaceMVCCModel- Returns:
- the mvcc version of this ratings stats
-
setMvccVersion
void setMvccVersion(long mvccVersion) Sets the mvcc version of this ratings stats.- Specified by:
setMvccVersionin interfaceMVCCModel- Parameters:
mvccVersion- the mvcc version of this ratings stats
-
getCtCollectionId
long getCtCollectionId()Returns the ct collection ID of this ratings stats.- Specified by:
getCtCollectionIdin 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:
setCtCollectionIdin 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:
getCompanyIdin interfaceShardedModel- Returns:
- the company ID of this ratings stats
-
setCompanyId
void setCompanyId(long companyId) Sets the company ID of this ratings stats.- Specified by:
setCompanyIdin 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:
getClassNamein 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:
getClassNameIdin 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:
setClassNameIdin interfaceTypedModel- Parameters:
classNameId- the class name ID of this ratings stats
-
getClassPK
long getClassPK()Returns the class pk of this ratings stats.- Specified by:
getClassPKin interfaceAttachedModel- Returns:
- the class pk of this ratings stats
-
setClassPK
void setClassPK(long classPK) Sets the class pk of this ratings stats.- Specified by:
setClassPKin 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:
cloneWithOriginalValuesin interfaceBaseModel<RatingsStats>
-
toXmlString
-