com.liferay.portlet.ratings.model
Class RatingsStatsWrapper
java.lang.Object
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:
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, notify, notifyAll, wait, wait, wait |
RatingsStatsWrapper
public RatingsStatsWrapper(RatingsStats ratingsStats)
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
toEscapedModel
public RatingsStats toEscapedModel()
- Specified by:
toEscapedModel 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
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()