Liferay 6.2-ce-ga5

com.liferay.portlet.ratings.model.impl
Class RatingsStatsCacheModel

java.lang.Object
  extended by com.liferay.portlet.ratings.model.impl.RatingsStatsCacheModel
All Implemented Interfaces:
CacheModel<RatingsStats>, Externalizable, Serializable

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.

Field Summary
 double averageScore
           
 long classNameId
           
 long classPK
           
 long statsId
           
 int totalEntries
           
 double totalScore
           
 
Constructor Summary
RatingsStatsCacheModel()
           
 
Method Summary
 void readExternal(ObjectInput objectInput)
           
 RatingsStats toEntityModel()
           
 String toString()
           
 void writeExternal(ObjectOutput objectOutput)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

statsId

public long statsId

classNameId

public long classNameId

classPK

public long classPK

totalEntries

public int totalEntries

totalScore

public double totalScore

averageScore

public double averageScore
Constructor Detail

RatingsStatsCacheModel

public RatingsStatsCacheModel()
Method Detail

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

Liferay 6.2-ce-ga5