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 Details

    • getPrimaryKey

      long getPrimaryKey()
      Returns the primary key of this ratings stats.
      Specified by:
      getPrimaryKey in interface CTModel<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 interface CTModel<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 interface MVCCModel
      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 interface MVCCModel
      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 interface CTModel<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 interface CTModel<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 interface ShardedModel
      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 interface ShardedModel
      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

      void setCreateDate(Date createDate)
      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

      void setModifiedDate(Date modifiedDate)
      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 interface TypedModel
      Returns:
      the fully qualified class name of this ratings stats
    • setClassName

      void setClassName(String className)
    • getClassNameId

      long getClassNameId()
      Returns the class name ID of this ratings stats.
      Specified by:
      getClassNameId in interface TypedModel
      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 interface TypedModel
      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 interface AttachedModel
      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 interface AttachedModel
      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 interface BaseModel<RatingsStats>
    • toXmlString

      default String toXmlString()