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 Summary
FieldsModifier and TypeFieldDescriptiondoublelonglonglonglonglonglonglonglongintdouble -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanlonginthashCode()voidreadExternal(ObjectInput objectInput) voidsetMvccVersion(long mvccVersion) com.liferay.ratings.kernel.model.RatingsStatstoString()voidwriteExternal(ObjectOutput objectOutput)
-
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
-
hashCode
public int hashCode() -
getMvccVersion
public long getMvccVersion()- Specified by:
getMvccVersionin interfacecom.liferay.portal.kernel.model.MVCCModel
-
setMvccVersion
public void setMvccVersion(long mvccVersion) - Specified by:
setMvccVersionin interfacecom.liferay.portal.kernel.model.MVCCModel
-
toString
-
toEntityModel
public com.liferay.ratings.kernel.model.RatingsStats toEntityModel()- Specified by:
toEntityModelin interfacecom.liferay.portal.kernel.model.CacheModel<com.liferay.ratings.kernel.model.RatingsStats>
-
readExternal
- Specified by:
readExternalin interfaceExternalizable- Throws:
IOException
-
writeExternal
- Specified by:
writeExternalin interfaceExternalizable- Throws:
IOException
-