Package com.liferay.ratings.kernel.model
Class RatingsStatsWrapper
Object
com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<RatingsStats>
com.liferay.ratings.kernel.model.RatingsStatsWrapper
- All Implemented Interfaces:
AttachedModel,BaseModel<RatingsStats>,CTModel<RatingsStats>,ClassedModel,ModelWrapper<RatingsStats>,MVCCModel,PersistedModel,ShardedModel,TypedModel,RatingsStats,RatingsStatsModel,Serializable,Cloneable,Comparable<RatingsStats>
public class RatingsStatsWrapper
extends BaseModelWrapper<RatingsStats>
implements ModelWrapper<RatingsStats>, RatingsStats
This class is a wrapper for RatingsStats.
- Author:
- Brian Wing Shun Chan
- See Also:
- {$generated.description}
-
Field Summary
Fields inherited from class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper
modelFields inherited from interface com.liferay.ratings.kernel.model.RatingsStats
STATS_ID_ACCESSOR -
Constructor Summary
Constructors -
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.voidpersist()Updates this model instance in the database or adds it if it does not yet exist.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.voidsetModelAttributes(Map<String, Object> attributes) 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.protected RatingsStatsWrapperwrap(RatingsStats ratingsStats) Methods inherited from class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper
clone, compareTo, equals, getExpandoBridge, getModelClass, getModelClassName, getPrimaryKeyObj, getWrappedModel, hashCode, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toString, toUnescapedModelMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.liferay.portal.kernel.model.BaseModel
clone, getExpandoBridge, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModelMethods inherited from interface com.liferay.portal.kernel.model.ClassedModel
getModelClass, getModelClassNameMethods inherited from interface java.lang.Comparable
compareToMethods inherited from interface com.liferay.portal.kernel.model.ModelWrapper
getWrappedModel
-
Constructor Details
-
RatingsStatsWrapper
-
-
Method Details
-
getModelAttributes
- Specified by:
getModelAttributesin interfaceBaseModel<RatingsStats>
-
setModelAttributes
- Specified by:
setModelAttributesin interfaceBaseModel<RatingsStats>
-
cloneWithOriginalValues
- Specified by:
cloneWithOriginalValuesin interfaceBaseModel<RatingsStats>- Specified by:
cloneWithOriginalValuesin interfaceRatingsStatsModel
-
getAverageScore
public double getAverageScore()Returns the average score of this ratings stats.- Specified by:
getAverageScorein interfaceRatingsStatsModel- Returns:
- the average score of this ratings stats
-
getClassName
Returns the fully qualified class name of this ratings stats.- Specified by:
getClassNamein interfaceRatingsStatsModel- Specified by:
getClassNamein interfaceTypedModel- Returns:
- the fully qualified class name of this ratings stats
-
getClassNameId
public long getClassNameId()Returns the class name ID of this ratings stats.- Specified by:
getClassNameIdin interfaceRatingsStatsModel- Specified by:
getClassNameIdin interfaceTypedModel- Returns:
- the class name ID of this ratings stats
-
getClassPK
public long getClassPK()Returns the class pk of this ratings stats.- Specified by:
getClassPKin interfaceAttachedModel- Specified by:
getClassPKin interfaceRatingsStatsModel- Returns:
- the class pk of this ratings stats
-
getCompanyId
public long getCompanyId()Returns the company ID of this ratings stats.- Specified by:
getCompanyIdin interfaceRatingsStatsModel- Specified by:
getCompanyIdin interfaceShardedModel- Returns:
- the company ID of this ratings stats
-
getCreateDate
Returns the create date of this ratings stats.- Specified by:
getCreateDatein interfaceRatingsStatsModel- Returns:
- the create date of this ratings stats
-
getCtCollectionId
public long getCtCollectionId()Returns the ct collection ID of this ratings stats.- Specified by:
getCtCollectionIdin interfaceCTModel<RatingsStats>- Specified by:
getCtCollectionIdin interfaceRatingsStatsModel- Returns:
- the ct collection ID of this ratings stats
-
getModifiedDate
Returns the modified date of this ratings stats.- Specified by:
getModifiedDatein interfaceRatingsStatsModel- Returns:
- the modified date of this ratings stats
-
getMvccVersion
public long getMvccVersion()Returns the mvcc version of this ratings stats.- Specified by:
getMvccVersionin interfaceMVCCModel- Specified by:
getMvccVersionin interfaceRatingsStatsModel- Returns:
- the mvcc version of this ratings stats
-
getPrimaryKey
public long getPrimaryKey()Returns the primary key of this ratings stats.- Specified by:
getPrimaryKeyin interfaceCTModel<RatingsStats>- Specified by:
getPrimaryKeyin interfaceRatingsStatsModel- Returns:
- the primary key of this ratings stats
-
getStatsId
public long getStatsId()Returns the stats ID of this ratings stats.- Specified by:
getStatsIdin interfaceRatingsStatsModel- Returns:
- the stats ID of this ratings stats
-
getTotalEntries
public int getTotalEntries()Returns the total entries of this ratings stats.- Specified by:
getTotalEntriesin interfaceRatingsStatsModel- Returns:
- the total entries of this ratings stats
-
getTotalScore
public double getTotalScore()Returns the total score of this ratings stats.- Specified by:
getTotalScorein interfaceRatingsStatsModel- Returns:
- the total score of this ratings stats
-
persist
public void persist()Description copied from interface:PersistedModelUpdates this model instance in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.- Specified by:
persistin interfacePersistedModel
-
setAverageScore
public void setAverageScore(double averageScore) Sets the average score of this ratings stats.- Specified by:
setAverageScorein interfaceRatingsStatsModel- Parameters:
averageScore- the average score of this ratings stats
-
setClassName
- Specified by:
setClassNamein interfaceRatingsStatsModel
-
setClassNameId
public void setClassNameId(long classNameId) Sets the class name ID of this ratings stats.- Specified by:
setClassNameIdin interfaceRatingsStatsModel- Specified by:
setClassNameIdin interfaceTypedModel- Parameters:
classNameId- the class name ID of this ratings stats
-
setClassPK
public void setClassPK(long classPK) Sets the class pk of this ratings stats.- Specified by:
setClassPKin interfaceAttachedModel- Specified by:
setClassPKin interfaceRatingsStatsModel- Parameters:
classPK- the class pk of this ratings stats
-
setCompanyId
public void setCompanyId(long companyId) Sets the company ID of this ratings stats.- Specified by:
setCompanyIdin interfaceRatingsStatsModel- Specified by:
setCompanyIdin interfaceShardedModel- Parameters:
companyId- the company ID of this ratings stats
-
setCreateDate
Sets the create date of this ratings stats.- Specified by:
setCreateDatein interfaceRatingsStatsModel- Parameters:
createDate- the create date of this ratings stats
-
setCtCollectionId
public void setCtCollectionId(long ctCollectionId) Sets the ct collection ID of this ratings stats.- Specified by:
setCtCollectionIdin interfaceCTModel<RatingsStats>- Specified by:
setCtCollectionIdin interfaceRatingsStatsModel- Parameters:
ctCollectionId- the ct collection ID of this ratings stats
-
setModifiedDate
Sets the modified date of this ratings stats.- Specified by:
setModifiedDatein interfaceRatingsStatsModel- Parameters:
modifiedDate- the modified date of this ratings stats
-
setMvccVersion
public void setMvccVersion(long mvccVersion) Sets the mvcc version of this ratings stats.- Specified by:
setMvccVersionin interfaceMVCCModel- Specified by:
setMvccVersionin interfaceRatingsStatsModel- Parameters:
mvccVersion- the mvcc version of this ratings stats
-
setPrimaryKey
public void setPrimaryKey(long primaryKey) Sets the primary key of this ratings stats.- Specified by:
setPrimaryKeyin interfaceCTModel<RatingsStats>- Specified by:
setPrimaryKeyin interfaceRatingsStatsModel- Parameters:
primaryKey- the primary key of this ratings stats
-
setStatsId
public void setStatsId(long statsId) Sets the stats ID of this ratings stats.- Specified by:
setStatsIdin interfaceRatingsStatsModel- Parameters:
statsId- the stats ID of this ratings stats
-
setTotalEntries
public void setTotalEntries(int totalEntries) Sets the total entries of this ratings stats.- Specified by:
setTotalEntriesin interfaceRatingsStatsModel- Parameters:
totalEntries- the total entries of this ratings stats
-
setTotalScore
public void setTotalScore(double totalScore) Sets the total score of this ratings stats.- Specified by:
setTotalScorein interfaceRatingsStatsModel- Parameters:
totalScore- the total score of this ratings stats
-
toXmlString
- Specified by:
toXmlStringin interfaceRatingsStatsModel
-
getAttributeGetterFunctions
- Specified by:
getAttributeGetterFunctionsin interfaceBaseModel<RatingsStats>
-
getAttributeSetterBiConsumers
- Specified by:
getAttributeSetterBiConsumersin interfaceBaseModel<RatingsStats>
-
wrap
- Specified by:
wrapin classBaseModelWrapper<RatingsStats>
-