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

java.lang.Object
  extended bycom.liferay.portal.model.impl.BaseModelImpl
      extended bycom.liferay.portlet.ratings.model.impl.RatingsStatsModelImpl
All Implemented Interfaces:
com.liferay.portal.model.BaseModel, java.lang.Cloneable, java.lang.Comparable, java.io.Serializable
Direct Known Subclasses:
RatingsStatsImpl

public class RatingsStatsModelImpl
extends BaseModelImpl

View Source

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

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

Author:
Brian Wing Shun Chan
See Also:
com.liferay.portlet.ratings.service.model.RatingsStats, com.liferay.portlet.ratings.service.model.RatingsStatsModel, com.liferay.portlet.ratings.service.model.impl.RatingsStatsImpl, Serialized Form

Field Summary
static long LOCK_EXPIRATION_TIME
           
static java.lang.Object[][] TABLE_COLUMNS
           
static java.lang.String TABLE_NAME
           
static java.lang.String TABLE_SQL_CREATE
           
static java.lang.String TABLE_SQL_DROP
           
static boolean XSS_ALLOW_BY_MODEL
           
 
Fields inherited from class com.liferay.portal.model.impl.BaseModelImpl
XSS_ALLOW
 
Constructor Summary
RatingsStatsModelImpl()
           
 
Method Summary
 java.lang.Object clone()
           
 int compareTo(java.lang.Object obj)
           
 boolean equals(java.lang.Object obj)
           
 double getAverageScore()
           
 long getClassNameId()
           
 long getClassPK()
           
 long getPrimaryKey()
           
 java.io.Serializable getPrimaryKeyObj()
           
 long getStatsId()
           
 int getTotalEntries()
           
 double getTotalScore()
           
 int hashCode()
           
 void setAverageScore(double averageScore)
           
 void setClassNameId(long classNameId)
           
 void setClassPK(long classPK)
           
 void setPrimaryKey(long pk)
           
 void setStatsId(long statsId)
           
 void setTotalEntries(int totalEntries)
           
 void setTotalScore(double totalScore)
           
 
Methods inherited from class com.liferay.portal.model.impl.BaseModelImpl
isNew, setNew
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TABLE_NAME

public static java.lang.String TABLE_NAME

TABLE_COLUMNS

public static java.lang.Object[][] TABLE_COLUMNS

TABLE_SQL_CREATE

public static java.lang.String TABLE_SQL_CREATE

TABLE_SQL_DROP

public static java.lang.String TABLE_SQL_DROP

XSS_ALLOW_BY_MODEL

public static boolean XSS_ALLOW_BY_MODEL

LOCK_EXPIRATION_TIME

public static long LOCK_EXPIRATION_TIME
Constructor Detail

RatingsStatsModelImpl

public RatingsStatsModelImpl()
Method Detail

getPrimaryKey

public long getPrimaryKey()

setPrimaryKey

public void setPrimaryKey(long pk)

getPrimaryKeyObj

public java.io.Serializable getPrimaryKeyObj()

getStatsId

public long getStatsId()

setStatsId

public void setStatsId(long statsId)

getClassNameId

public long getClassNameId()

setClassNameId

public void setClassNameId(long classNameId)

getClassPK

public long getClassPK()

setClassPK

public void setClassPK(long classPK)

getTotalEntries

public int getTotalEntries()

setTotalEntries

public void setTotalEntries(int totalEntries)

getTotalScore

public double getTotalScore()

setTotalScore

public void setTotalScore(double totalScore)

getAverageScore

public double getAverageScore()

setAverageScore

public void setAverageScore(double averageScore)

clone

public java.lang.Object clone()
Specified by:
clone in interface com.liferay.portal.model.BaseModel
Specified by:
clone in class BaseModelImpl

compareTo

public int compareTo(java.lang.Object obj)

equals

public boolean equals(java.lang.Object obj)

hashCode

public int hashCode()