@ProviderType public class RatingsStatsCacheModel extends Object implements com.liferay.portal.kernel.model.CacheModel<com.liferay.ratings.kernel.model.RatingsStats>, Externalizable
RatingsStats,
Serialized Form| Modifier 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 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 ExternalizableIOExceptionpublic void writeExternal(ObjectOutput objectOutput) throws IOException
writeExternal in interface ExternalizableIOException