|
Liferay 6.0.3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.liferay.portal.model.impl.BaseModelImpl<RatingsStats>
com.liferay.portlet.ratings.model.impl.RatingsStatsModelImpl
public class RatingsStatsModelImpl
This interface is a model that represents the RatingsStats table in the database.
RatingsStatsImpl,
RatingsStats,
RatingsStatsModel,
Serialized Form| Field Summary | |
|---|---|
static String |
DATA_SOURCE
|
static boolean |
ENTITY_CACHE_ENABLED
|
static boolean |
FINDER_CACHE_ENABLED
|
static long |
LOCK_EXPIRATION_TIME
|
static String |
SESSION_FACTORY
|
static Object[][] |
TABLE_COLUMNS
|
static String |
TABLE_NAME
|
static String |
TABLE_SQL_CREATE
|
static String |
TABLE_SQL_DROP
|
static String |
TX_MANAGER
|
| Constructor Summary | |
|---|---|
RatingsStatsModelImpl()
|
|
| Method Summary | |
|---|---|
Object |
clone()
Creates a shallow clone of this model instance. |
int |
compareTo(RatingsStats ratingsStats)
|
boolean |
equals(Object obj)
|
double |
getAverageScore()
|
String |
getClassName()
|
long |
getClassNameId()
|
long |
getClassPK()
|
ExpandoBridge |
getExpandoBridge()
Gets the expando bridge for this model instance. |
long |
getOriginalClassNameId()
|
long |
getOriginalClassPK()
|
long |
getPrimaryKey()
|
Serializable |
getPrimaryKeyObj()
Gets the primary key for this model instance. |
long |
getStatsId()
|
int |
getTotalEntries()
|
double |
getTotalScore()
|
int |
hashCode()
|
void |
setAverageScore(double averageScore)
|
void |
setClassNameId(long classNameId)
|
void |
setClassPK(long classPK)
|
void |
setExpandoBridgeAttributes(ServiceContext serviceContext)
Sets the expando bridge attributes for this model instance to the attributes stored in the service context. |
void |
setPrimaryKey(long pk)
|
void |
setStatsId(long statsId)
|
void |
setTotalEntries(int totalEntries)
|
void |
setTotalScore(double totalScore)
|
RatingsStats |
toEscapedModel()
|
String |
toString()
|
String |
toXmlString()
Gets the XML representation of this model instance. |
| Methods inherited from class com.liferay.portal.model.impl.BaseModelImpl |
|---|
isCachedModel, isEscapedModel, isNew, setCachedModel, setEscapedModel, setNew |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface com.liferay.portlet.ratings.model.RatingsStatsModel |
|---|
isCachedModel, isEscapedModel, isNew, setCachedModel, setEscapedModel, setNew |
| Field Detail |
|---|
public static final String TABLE_NAME
public static final Object[][] TABLE_COLUMNS
public static final String TABLE_SQL_CREATE
public static final String TABLE_SQL_DROP
public static final String DATA_SOURCE
public static final String SESSION_FACTORY
public static final String TX_MANAGER
public static final boolean ENTITY_CACHE_ENABLED
public static final boolean FINDER_CACHE_ENABLED
public static final long LOCK_EXPIRATION_TIME
| Constructor Detail |
|---|
public RatingsStatsModelImpl()
| Method Detail |
|---|
public long getPrimaryKey()
getPrimaryKey in interface RatingsStatsModelpublic void setPrimaryKey(long pk)
setPrimaryKey in interface RatingsStatsModelpublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj in interface BaseModel<RatingsStats>getPrimaryKeyObj in interface RatingsStatsModelpublic long getStatsId()
getStatsId in interface RatingsStatsModelpublic void setStatsId(long statsId)
setStatsId in interface RatingsStatsModelpublic String getClassName()
getClassName in interface RatingsStatsModelpublic long getClassNameId()
getClassNameId in interface RatingsStatsModelpublic void setClassNameId(long classNameId)
setClassNameId in interface RatingsStatsModelpublic long getOriginalClassNameId()
public long getClassPK()
getClassPK in interface RatingsStatsModelpublic void setClassPK(long classPK)
setClassPK in interface RatingsStatsModelpublic long getOriginalClassPK()
public int getTotalEntries()
getTotalEntries in interface RatingsStatsModelpublic void setTotalEntries(int totalEntries)
setTotalEntries in interface RatingsStatsModelpublic double getTotalScore()
getTotalScore in interface RatingsStatsModelpublic void setTotalScore(double totalScore)
setTotalScore in interface RatingsStatsModelpublic double getAverageScore()
getAverageScore in interface RatingsStatsModelpublic void setAverageScore(double averageScore)
setAverageScore in interface RatingsStatsModelpublic RatingsStats toEscapedModel()
toEscapedModel in interface RatingsStatsModelpublic ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge in interface BaseModel<RatingsStats>getExpandoBridge in interface RatingsStatsModelgetExpandoBridge in class BaseModelImpl<RatingsStats>public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes in interface BaseModel<RatingsStats>setExpandoBridgeAttributes in interface RatingsStatsModelsetExpandoBridgeAttributes in class BaseModelImpl<RatingsStats>serviceContext - the service context to retrieve the expando bridge
attributes fromServiceContext.getExpandoBridgeAttributes(
)public Object clone()
BaseModel
clone in interface BaseModel<RatingsStats>clone in interface RatingsStatsModelclone in class BaseModelImpl<RatingsStats>public int compareTo(RatingsStats ratingsStats)
compareTo in interface RatingsStatsModelcompareTo in interface Comparable<RatingsStats>public boolean equals(Object obj)
equals in class Objectpublic int hashCode()
hashCode in interface RatingsStatsModelhashCode in class Objectpublic String toString()
toString in interface RatingsStatsModeltoString in class Objectpublic String toXmlString()
BaseModel
toXmlString in interface BaseModel<RatingsStats>toXmlString in interface RatingsStatsModel
|
Liferay 6.0.3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||