Class RatingsStatsModelImpl

Object
com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.ratings.kernel.model.RatingsStats>
com.liferay.portlet.ratings.model.impl.RatingsStatsModelImpl
All Implemented Interfaces:
com.liferay.portal.kernel.model.AttachedModel, com.liferay.portal.kernel.model.BaseModel<com.liferay.ratings.kernel.model.RatingsStats>, com.liferay.portal.kernel.model.change.tracking.CTModel<com.liferay.ratings.kernel.model.RatingsStats>, com.liferay.portal.kernel.model.ClassedModel, com.liferay.portal.kernel.model.MVCCModel, com.liferay.portal.kernel.model.ShardedModel, com.liferay.portal.kernel.model.TypedModel, com.liferay.ratings.kernel.model.RatingsStatsModel, Serializable, Cloneable, Comparable<com.liferay.ratings.kernel.model.RatingsStats>
Direct Known Subclasses:
RatingsStatsBaseImpl

public class RatingsStatsModelImpl extends com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.ratings.kernel.model.RatingsStats> implements com.liferay.ratings.kernel.model.RatingsStatsModel
The base model implementation for the RatingsStats service. Represents a row in the "RatingsStats" database table, with each column mapped to a property of this class.

This implementation and its corresponding interface RatingsStatsModel exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in RatingsStatsImpl.

Author:
Brian Wing Shun Chan
See Also:
{$generated.description}
  • Field Details

  • Constructor Details

    • RatingsStatsModelImpl

      public RatingsStatsModelImpl()
  • Method Details

    • getPrimaryKey

      public long getPrimaryKey()
      Specified by:
      getPrimaryKey in interface com.liferay.portal.kernel.model.change.tracking.CTModel<com.liferay.ratings.kernel.model.RatingsStats>
      Specified by:
      getPrimaryKey in interface com.liferay.ratings.kernel.model.RatingsStatsModel
    • setPrimaryKey

      public void setPrimaryKey(long primaryKey)
      Specified by:
      setPrimaryKey in interface com.liferay.portal.kernel.model.change.tracking.CTModel<com.liferay.ratings.kernel.model.RatingsStats>
      Specified by:
      setPrimaryKey in interface com.liferay.ratings.kernel.model.RatingsStatsModel
    • getPrimaryKeyObj

      public Serializable getPrimaryKeyObj()
      Specified by:
      getPrimaryKeyObj in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.ratings.kernel.model.RatingsStats>
      Specified by:
      getPrimaryKeyObj in interface com.liferay.portal.kernel.model.ClassedModel
    • setPrimaryKeyObj

      public void setPrimaryKeyObj(Serializable primaryKeyObj)
      Specified by:
      setPrimaryKeyObj in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.ratings.kernel.model.RatingsStats>
      Specified by:
      setPrimaryKeyObj in interface com.liferay.portal.kernel.model.ClassedModel
    • getModelClass

      public Class<?> getModelClass()
      Specified by:
      getModelClass in interface com.liferay.portal.kernel.model.ClassedModel
    • getModelClassName

      public String getModelClassName()
      Specified by:
      getModelClassName in interface com.liferay.portal.kernel.model.ClassedModel
    • getModelAttributes

      public Map<String,Object> getModelAttributes()
      Specified by:
      getModelAttributes in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.ratings.kernel.model.RatingsStats>
      Overrides:
      getModelAttributes in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.ratings.kernel.model.RatingsStats>
    • setModelAttributes

      public void setModelAttributes(Map<String,Object> attributes)
      Specified by:
      setModelAttributes in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.ratings.kernel.model.RatingsStats>
      Overrides:
      setModelAttributes in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.ratings.kernel.model.RatingsStats>
    • getAttributeGetterFunctions

      public Map<String,Function<com.liferay.ratings.kernel.model.RatingsStats,Object>> getAttributeGetterFunctions()
      Specified by:
      getAttributeGetterFunctions in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.ratings.kernel.model.RatingsStats>
    • getAttributeSetterBiConsumers

      public Map<String,BiConsumer<com.liferay.ratings.kernel.model.RatingsStats,Object>> getAttributeSetterBiConsumers()
      Specified by:
      getAttributeSetterBiConsumers in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.ratings.kernel.model.RatingsStats>
    • getMvccVersion

      public long getMvccVersion()
      Specified by:
      getMvccVersion in interface com.liferay.portal.kernel.model.MVCCModel
      Specified by:
      getMvccVersion in interface com.liferay.ratings.kernel.model.RatingsStatsModel
    • setMvccVersion

      public void setMvccVersion(long mvccVersion)
      Specified by:
      setMvccVersion in interface com.liferay.portal.kernel.model.MVCCModel
      Specified by:
      setMvccVersion in interface com.liferay.ratings.kernel.model.RatingsStatsModel
    • getCtCollectionId

      public long getCtCollectionId()
      Specified by:
      getCtCollectionId in interface com.liferay.portal.kernel.model.change.tracking.CTModel<com.liferay.ratings.kernel.model.RatingsStats>
      Specified by:
      getCtCollectionId in interface com.liferay.ratings.kernel.model.RatingsStatsModel
    • setCtCollectionId

      public void setCtCollectionId(long ctCollectionId)
      Specified by:
      setCtCollectionId in interface com.liferay.portal.kernel.model.change.tracking.CTModel<com.liferay.ratings.kernel.model.RatingsStats>
      Specified by:
      setCtCollectionId in interface com.liferay.ratings.kernel.model.RatingsStatsModel
    • getStatsId

      public long getStatsId()
      Specified by:
      getStatsId in interface com.liferay.ratings.kernel.model.RatingsStatsModel
    • setStatsId

      public void setStatsId(long statsId)
      Specified by:
      setStatsId in interface com.liferay.ratings.kernel.model.RatingsStatsModel
    • getCompanyId

      public long getCompanyId()
      Specified by:
      getCompanyId in interface com.liferay.ratings.kernel.model.RatingsStatsModel
      Specified by:
      getCompanyId in interface com.liferay.portal.kernel.model.ShardedModel
    • setCompanyId

      public void setCompanyId(long companyId)
      Specified by:
      setCompanyId in interface com.liferay.ratings.kernel.model.RatingsStatsModel
      Specified by:
      setCompanyId in interface com.liferay.portal.kernel.model.ShardedModel
    • getCreateDate

      public Date getCreateDate()
      Specified by:
      getCreateDate in interface com.liferay.ratings.kernel.model.RatingsStatsModel
    • setCreateDate

      public void setCreateDate(Date createDate)
      Specified by:
      setCreateDate in interface com.liferay.ratings.kernel.model.RatingsStatsModel
    • getModifiedDate

      public Date getModifiedDate()
      Specified by:
      getModifiedDate in interface com.liferay.ratings.kernel.model.RatingsStatsModel
    • hasSetModifiedDate

      public boolean hasSetModifiedDate()
    • setModifiedDate

      public void setModifiedDate(Date modifiedDate)
      Specified by:
      setModifiedDate in interface com.liferay.ratings.kernel.model.RatingsStatsModel
    • getClassName

      public String getClassName()
      Specified by:
      getClassName in interface com.liferay.ratings.kernel.model.RatingsStatsModel
      Specified by:
      getClassName in interface com.liferay.portal.kernel.model.TypedModel
    • setClassName

      public void setClassName(String className)
      Specified by:
      setClassName in interface com.liferay.ratings.kernel.model.RatingsStatsModel
    • getClassNameId

      public long getClassNameId()
      Specified by:
      getClassNameId in interface com.liferay.ratings.kernel.model.RatingsStatsModel
      Specified by:
      getClassNameId in interface com.liferay.portal.kernel.model.TypedModel
    • setClassNameId

      public void setClassNameId(long classNameId)
      Specified by:
      setClassNameId in interface com.liferay.ratings.kernel.model.RatingsStatsModel
      Specified by:
      setClassNameId in interface com.liferay.portal.kernel.model.TypedModel
    • getOriginalClassNameId

      @Deprecated public long getOriginalClassNameId()
      Deprecated.
      As of Athanasius (7.3.x), replaced by getColumnOriginalValue(String)
    • getClassPK

      public long getClassPK()
      Specified by:
      getClassPK in interface com.liferay.portal.kernel.model.AttachedModel
      Specified by:
      getClassPK in interface com.liferay.ratings.kernel.model.RatingsStatsModel
    • setClassPK

      public void setClassPK(long classPK)
      Specified by:
      setClassPK in interface com.liferay.portal.kernel.model.AttachedModel
      Specified by:
      setClassPK in interface com.liferay.ratings.kernel.model.RatingsStatsModel
    • getOriginalClassPK

      @Deprecated public long getOriginalClassPK()
      Deprecated.
      As of Athanasius (7.3.x), replaced by getColumnOriginalValue(String)
    • getTotalEntries

      public int getTotalEntries()
      Specified by:
      getTotalEntries in interface com.liferay.ratings.kernel.model.RatingsStatsModel
    • setTotalEntries

      public void setTotalEntries(int totalEntries)
      Specified by:
      setTotalEntries in interface com.liferay.ratings.kernel.model.RatingsStatsModel
    • getTotalScore

      public double getTotalScore()
      Specified by:
      getTotalScore in interface com.liferay.ratings.kernel.model.RatingsStatsModel
    • setTotalScore

      public void setTotalScore(double totalScore)
      Specified by:
      setTotalScore in interface com.liferay.ratings.kernel.model.RatingsStatsModel
    • getAverageScore

      public double getAverageScore()
      Specified by:
      getAverageScore in interface com.liferay.ratings.kernel.model.RatingsStatsModel
    • setAverageScore

      public void setAverageScore(double averageScore)
      Specified by:
      setAverageScore in interface com.liferay.ratings.kernel.model.RatingsStatsModel
    • getColumnBitmask

      public long getColumnBitmask()
    • getExpandoBridge

      public com.liferay.expando.kernel.model.ExpandoBridge getExpandoBridge()
      Specified by:
      getExpandoBridge in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.ratings.kernel.model.RatingsStats>
      Specified by:
      getExpandoBridge in interface com.liferay.portal.kernel.model.ClassedModel
      Overrides:
      getExpandoBridge in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.ratings.kernel.model.RatingsStats>
    • setExpandoBridgeAttributes

      public void setExpandoBridgeAttributes(com.liferay.portal.kernel.service.ServiceContext serviceContext)
      Specified by:
      setExpandoBridgeAttributes in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.ratings.kernel.model.RatingsStats>
      Overrides:
      setExpandoBridgeAttributes in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.ratings.kernel.model.RatingsStats>
    • toEscapedModel

      public com.liferay.ratings.kernel.model.RatingsStats toEscapedModel()
      Specified by:
      toEscapedModel in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.ratings.kernel.model.RatingsStats>
      Overrides:
      toEscapedModel in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.ratings.kernel.model.RatingsStats>
    • clone

      public Object clone()
      Specified by:
      clone in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.ratings.kernel.model.RatingsStats>
      Specified by:
      clone in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.ratings.kernel.model.RatingsStats>
    • cloneWithOriginalValues

      public com.liferay.ratings.kernel.model.RatingsStats cloneWithOriginalValues()
      Specified by:
      cloneWithOriginalValues in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.ratings.kernel.model.RatingsStats>
      Specified by:
      cloneWithOriginalValues in interface com.liferay.ratings.kernel.model.RatingsStatsModel
    • compareTo

      public int compareTo(com.liferay.ratings.kernel.model.RatingsStats ratingsStats)
      Specified by:
      compareTo in interface Comparable<com.liferay.ratings.kernel.model.RatingsStats>
    • equals

      public boolean equals(Object object)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • isEntityCacheEnabled

      @Deprecated public boolean isEntityCacheEnabled()
      Deprecated.
      As of Athanasius (7.3.x), with no direct replacement
      Specified by:
      isEntityCacheEnabled in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.ratings.kernel.model.RatingsStats>
    • isFinderCacheEnabled

      @Deprecated public boolean isFinderCacheEnabled()
      Deprecated.
      As of Athanasius (7.3.x), with no direct replacement
      Specified by:
      isFinderCacheEnabled in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.ratings.kernel.model.RatingsStats>
    • resetOriginalValues

      public void resetOriginalValues()
      Specified by:
      resetOriginalValues in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.ratings.kernel.model.RatingsStats>
      Overrides:
      resetOriginalValues in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.ratings.kernel.model.RatingsStats>
    • toCacheModel

      public com.liferay.portal.kernel.model.CacheModel<com.liferay.ratings.kernel.model.RatingsStats> toCacheModel()
      Specified by:
      toCacheModel in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.ratings.kernel.model.RatingsStats>
      Overrides:
      toCacheModel in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.ratings.kernel.model.RatingsStats>
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • getColumnValue

      public <T> T getColumnValue(String columnName)
    • getColumnOriginalValue

      public <T> T getColumnOriginalValue(String columnName)
    • getColumnBitmask

      public static long getColumnBitmask(String columnName)