@ProviderType
public class RatingsStatsCacheModel
extends java.lang.Object
implements com.liferay.portal.kernel.model.CacheModel<com.liferay.ratings.kernel.model.RatingsStats>, java.io.Externalizable
RatingsStats
,
Serialized FormModifier and Type | Field and Description |
---|---|
double |
averageScore |
long |
classNameId |
long |
classPK |
long |
companyId |
long |
statsId |
int |
totalEntries |
double |
totalScore |
Constructor and Description |
---|
RatingsStatsCacheModel() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
int |
hashCode() |
void |
readExternal(java.io.ObjectInput objectInput) |
com.liferay.ratings.kernel.model.RatingsStats |
toEntityModel() |
java.lang.String |
toString() |
void |
writeExternal(java.io.ObjectOutput objectOutput) |
public long statsId
public long companyId
public long classNameId
public long classPK
public int totalEntries
public double totalScore
public double averageScore
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
public com.liferay.ratings.kernel.model.RatingsStats toEntityModel()
toEntityModel
in interface com.liferay.portal.kernel.model.CacheModel<com.liferay.ratings.kernel.model.RatingsStats>
public void readExternal(java.io.ObjectInput objectInput) throws java.io.IOException
readExternal
in interface java.io.Externalizable
java.io.IOException
public void writeExternal(java.io.ObjectOutput objectOutput) throws java.io.IOException
writeExternal
in interface java.io.Externalizable
java.io.IOException