com.liferay.portlet.ratings.model.impl
Class RatingsStatsCacheModel
java.lang.Object
com.liferay.portlet.ratings.model.impl.RatingsStatsCacheModel
- All Implemented Interfaces:
- CacheModel<RatingsStats>, Externalizable, Serializable
@ProviderType
public class RatingsStatsCacheModel
- extends Object
- implements CacheModel<RatingsStats>, Externalizable
The cache model class for representing RatingsStats in entity cache.
- See Also:
RatingsStats,
Serialized Form- ServiceBuilder generated this class. Modifications in this class will be overwritten the next time it is generated.
statsId
public long statsId
companyId
public long companyId
classNameId
public long classNameId
classPK
public long classPK
totalEntries
public int totalEntries
totalScore
public double totalScore
averageScore
public double averageScore
RatingsStatsCacheModel
public RatingsStatsCacheModel()
equals
public boolean equals(Object obj)
- Overrides:
equals in class Object
hashCode
public int hashCode()
- Overrides:
hashCode in class Object
toString
public String toString()
- Overrides:
toString in class Object
toEntityModel
public RatingsStats toEntityModel()
- Specified by:
toEntityModel in interface CacheModel<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