Class RatingsStatsCacheModel

Object
com.liferay.portlet.ratings.model.impl.RatingsStatsCacheModel
All Implemented Interfaces:
com.liferay.portal.kernel.model.CacheModel<com.liferay.ratings.kernel.model.RatingsStats>, com.liferay.portal.kernel.model.MVCCModel, Externalizable, Serializable

public class RatingsStatsCacheModel extends Object implements com.liferay.portal.kernel.model.CacheModel<com.liferay.ratings.kernel.model.RatingsStats>, Externalizable, com.liferay.portal.kernel.model.MVCCModel
The cache model class for representing RatingsStats in entity cache.
Author:
Brian Wing Shun Chan
See Also:
{$generated.description}
  • Field Details

    • mvccVersion

      public long mvccVersion
    • ctCollectionId

      public long ctCollectionId
    • statsId

      public long statsId
    • companyId

      public long companyId
    • createDate

      public long createDate
    • modifiedDate

      public long modifiedDate
    • classNameId

      public long classNameId
    • classPK

      public long classPK
    • totalEntries

      public int totalEntries
    • totalScore

      public double totalScore
    • averageScore

      public double averageScore
  • Constructor Details

    • RatingsStatsCacheModel

      public RatingsStatsCacheModel()
  • Method Details

    • equals

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

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

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

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

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

      public com.liferay.ratings.kernel.model.RatingsStats toEntityModel()
      Specified by:
      toEntityModel in interface com.liferay.portal.kernel.model.CacheModel<com.liferay.ratings.kernel.model.RatingsStats>
    • readExternal

      public void readExternal(ObjectInput objectInput) throws IOException
      Specified by:
      readExternal in interface Externalizable
      Throws:
      IOException
    • writeExternal

      public void writeExternal(ObjectOutput objectOutput) throws IOException
      Specified by:
      writeExternal in interface Externalizable
      Throws:
      IOException