com.liferay.portlet.ratings.model
Class RatingsStatsWrapper

java.lang.Object
  extended by com.liferay.portlet.ratings.model.RatingsStatsWrapper
All Implemented Interfaces:
BaseModel<RatingsStats>, RatingsStats, RatingsStatsModel, java.io.Serializable, java.lang.Cloneable, java.lang.Comparable<RatingsStats>

public class RatingsStatsWrapper
extends java.lang.Object
implements RatingsStats

View Source

ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.

This class is a wrapper for RatingsStats.

Author:
Brian Wing Shun Chan
See Also:
RatingsStats, Serialized Form
Generated:

Constructor Summary
RatingsStatsWrapper(RatingsStats ratingsStats)
           
 
Method Summary
 java.lang.Object clone()
           
 int compareTo(RatingsStats ratingsStats)
           
 double getAverageScore()
           
 java.lang.String getClassName()
           
 long getClassNameId()
           
 long getClassPK()
           
 ExpandoBridge getExpandoBridge()
           
 long getPrimaryKey()
           
 java.io.Serializable getPrimaryKeyObj()
           
 long getStatsId()
           
 int getTotalEntries()
           
 double getTotalScore()
           
 RatingsStats getWrappedRatingsStats()
           
 int hashCode()
           
 boolean isCachedModel()
           
 boolean isEscapedModel()
           
 boolean isNew()
           
 void setAverageScore(double averageScore)
           
 void setCachedModel(boolean cachedModel)
           
 void setClassNameId(long classNameId)
           
 void setClassPK(long classPK)
           
 void setEscapedModel(boolean escapedModel)
           
 void setExpandoBridgeAttributes(ServiceContext serviceContext)
           
 boolean setNew(boolean n)
           
 void setPrimaryKey(long pk)
           
 void setStatsId(long statsId)
           
 void setTotalEntries(int totalEntries)
           
 void setTotalScore(double totalScore)
           
 RatingsStats toEscapedModel()
           
 java.lang.String toString()
           
 java.lang.String toXmlString()
           
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RatingsStatsWrapper

public RatingsStatsWrapper(RatingsStats ratingsStats)
Method Detail

getPrimaryKey

public long getPrimaryKey()
Specified by:
getPrimaryKey in interface RatingsStatsModel

setPrimaryKey

public void setPrimaryKey(long pk)
Specified by:
setPrimaryKey in interface RatingsStatsModel

getStatsId

public long getStatsId()
Specified by:
getStatsId in interface RatingsStatsModel

setStatsId

public void setStatsId(long statsId)
Specified by:
setStatsId in interface RatingsStatsModel

getClassName

public java.lang.String getClassName()
Specified by:
getClassName in interface RatingsStatsModel

getClassNameId

public long getClassNameId()
Specified by:
getClassNameId in interface RatingsStatsModel

setClassNameId

public void setClassNameId(long classNameId)
Specified by:
setClassNameId in interface RatingsStatsModel

getClassPK

public long getClassPK()
Specified by:
getClassPK in interface RatingsStatsModel

setClassPK

public void setClassPK(long classPK)
Specified by:
setClassPK in interface RatingsStatsModel

getTotalEntries

public int getTotalEntries()
Specified by:
getTotalEntries in interface RatingsStatsModel

setTotalEntries

public void setTotalEntries(int totalEntries)
Specified by:
setTotalEntries in interface RatingsStatsModel

getTotalScore

public double getTotalScore()
Specified by:
getTotalScore in interface RatingsStatsModel

setTotalScore

public void setTotalScore(double totalScore)
Specified by:
setTotalScore in interface RatingsStatsModel

getAverageScore

public double getAverageScore()
Specified by:
getAverageScore in interface RatingsStatsModel

setAverageScore

public void setAverageScore(double averageScore)
Specified by:
setAverageScore in interface RatingsStatsModel

isNew

public boolean isNew()
Specified by:
isNew in interface BaseModel<RatingsStats>
Specified by:
isNew in interface RatingsStatsModel

setNew

public boolean setNew(boolean n)
Specified by:
setNew in interface BaseModel<RatingsStats>
Specified by:
setNew in interface RatingsStatsModel

isCachedModel

public boolean isCachedModel()
Specified by:
isCachedModel in interface BaseModel<RatingsStats>
Specified by:
isCachedModel in interface RatingsStatsModel

setCachedModel

public void setCachedModel(boolean cachedModel)
Specified by:
setCachedModel in interface BaseModel<RatingsStats>
Specified by:
setCachedModel in interface RatingsStatsModel

isEscapedModel

public boolean isEscapedModel()
Specified by:
isEscapedModel in interface BaseModel<RatingsStats>
Specified by:
isEscapedModel in interface RatingsStatsModel

setEscapedModel

public void setEscapedModel(boolean escapedModel)
Specified by:
setEscapedModel in interface BaseModel<RatingsStats>
Specified by:
setEscapedModel in interface RatingsStatsModel

getPrimaryKeyObj

public java.io.Serializable getPrimaryKeyObj()
Specified by:
getPrimaryKeyObj in interface BaseModel<RatingsStats>
Specified by:
getPrimaryKeyObj in interface RatingsStatsModel

getExpandoBridge

public ExpandoBridge getExpandoBridge()
Specified by:
getExpandoBridge in interface BaseModel<RatingsStats>
Specified by:
getExpandoBridge in interface RatingsStatsModel

setExpandoBridgeAttributes

public void setExpandoBridgeAttributes(ServiceContext serviceContext)
Specified by:
setExpandoBridgeAttributes in interface BaseModel<RatingsStats>
Specified by:
setExpandoBridgeAttributes in interface RatingsStatsModel

clone

public java.lang.Object clone()
Specified by:
clone in interface BaseModel<RatingsStats>
Specified by:
clone in interface RatingsStatsModel
Overrides:
clone in class java.lang.Object

compareTo

public int compareTo(RatingsStats ratingsStats)
Specified by:
compareTo in interface RatingsStatsModel
Specified by:
compareTo in interface java.lang.Comparable<RatingsStats>

hashCode

public int hashCode()
Specified by:
hashCode in interface RatingsStatsModel
Overrides:
hashCode in class java.lang.Object

toEscapedModel

public RatingsStats toEscapedModel()
Specified by:
toEscapedModel in interface BaseModel<RatingsStats>
Specified by:
toEscapedModel in interface RatingsStatsModel

toString

public java.lang.String toString()
Specified by:
toString in interface RatingsStatsModel
Overrides:
toString in class java.lang.Object

toXmlString

public java.lang.String toXmlString()
Specified by:
toXmlString in interface BaseModel<RatingsStats>
Specified by:
toXmlString in interface RatingsStatsModel

getWrappedRatingsStats

public RatingsStats getWrappedRatingsStats()