@ProviderType
public class RatingsStatsCacheModel
extends Object
implements com.liferay.portal.kernel.model.CacheModel<com.liferay.ratings.kernel.model.RatingsStats>, 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(Object obj) |
int |
hashCode() |
void |
readExternal(ObjectInput objectInput) |
com.liferay.ratings.kernel.model.RatingsStats |
toEntityModel() |
String |
toString() |
void |
writeExternal(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(Object obj)
equals
in class Object
public int hashCode()
hashCode
in class Object
public String toString()
toString
in class 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(ObjectInput objectInput) throws IOException
readExternal
in interface Externalizable
IOException
public void writeExternal(ObjectOutput objectOutput) throws IOException
writeExternal
in interface Externalizable
IOException