com.liferay.portlet.ratings.model
Interface RatingsStatsModel

All Superinterfaces:
BaseModel<RatingsStats>, java.lang.Cloneable, java.lang.Comparable<RatingsStats>, java.io.Serializable
All Known Subinterfaces:
RatingsStats
All Known Implementing Classes:
RatingsStatsWrapper

public interface RatingsStatsModel
extends BaseModel<RatingsStats>

View Source

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

This interface is a model that represents the RatingsStats table in the database.

Author:
Brian Wing Shun Chan
See Also:
RatingsStats, com.liferay.portlet.ratings.model.impl.RatingsStatsImpl, com.liferay.portlet.ratings.model.impl.RatingsStatsModelImpl
Generated:

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()
           
 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()
           
 

Method Detail

getPrimaryKey

long getPrimaryKey()

setPrimaryKey

void setPrimaryKey(long pk)

getStatsId

long getStatsId()

setStatsId

void setStatsId(long statsId)

getClassName

java.lang.String getClassName()

getClassNameId

long getClassNameId()

setClassNameId

void setClassNameId(long classNameId)

getClassPK

long getClassPK()

setClassPK

void setClassPK(long classPK)

getTotalEntries

int getTotalEntries()

setTotalEntries

void setTotalEntries(int totalEntries)

getTotalScore

double getTotalScore()

setTotalScore

void setTotalScore(double totalScore)

getAverageScore

double getAverageScore()

setAverageScore

void setAverageScore(double averageScore)

isNew

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

setNew

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

isCachedModel

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

setCachedModel

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

isEscapedModel

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

setEscapedModel

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

getPrimaryKeyObj

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

getExpandoBridge

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

setExpandoBridgeAttributes

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

clone

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

compareTo

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

hashCode

int hashCode()
Overrides:
hashCode in class java.lang.Object

toEscapedModel

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

toString

java.lang.String toString()
Overrides:
toString in class java.lang.Object

toXmlString

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