|
Liferay 6.0.4 | |||||||||
| 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
The base model implementation for the RatingsStats service. Represents a row in the "RatingsStats" database table, with each column mapped to a property of this class.
This implementation and its corresponding interface RatingsStatsModel exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in RatingsStatsImpl.
Never modify or reference this class directly. All methods that expect a ratings stats model instance should use the RatingsStats interface instead.
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()
Gets the average score of this ratings stats. |
String |
getClassName()
Gets the class name of the model instance this ratings stats is polymorphically associated with. |
long |
getClassNameId()
Gets the class name id of this ratings stats. |
long |
getClassPK()
Gets the class p k of this ratings stats. |
ExpandoBridge |
getExpandoBridge()
Gets the expando bridge for this model instance. |
long |
getOriginalClassNameId()
|
long |
getOriginalClassPK()
|
long |
getPrimaryKey()
Gets the primary key of this ratings stats. |
Serializable |
getPrimaryKeyObj()
Gets the primary key of this model instance. |
long |
getStatsId()
Gets the stats id of this ratings stats. |
int |
getTotalEntries()
Gets the total entries of this ratings stats. |
double |
getTotalScore()
Gets the total score of this ratings stats. |
int |
hashCode()
|
void |
setAverageScore(double averageScore)
Sets the average score of this ratings stats. |
void |
setClassNameId(long classNameId)
Sets the class name id of this ratings stats. |
void |
setClassPK(long classPK)
Sets the class p k of this ratings stats. |
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)
Sets the primary key of this ratings stats |
void |
setStatsId(long statsId)
Sets the stats id of this ratings stats. |
void |
setTotalEntries(int totalEntries)
Sets the total entries of this ratings stats. |
void |
setTotalScore(double totalScore)
Sets the total score of this ratings stats. |
RatingsStats |
toEscapedModel()
Gets a copy of this ratings stats as an escaped model instance by wrapping it with an AutoEscapeBeanHandler. |
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()
RatingsStatsModel
getPrimaryKey in interface RatingsStatsModelpublic void setPrimaryKey(long pk)
RatingsStatsModel
setPrimaryKey in interface RatingsStatsModelpk - the primary key of this ratings statspublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj in interface BaseModel<RatingsStats>getPrimaryKeyObj in interface RatingsStatsModelpublic long getStatsId()
RatingsStatsModel
getStatsId in interface RatingsStatsModelpublic void setStatsId(long statsId)
RatingsStatsModel
setStatsId in interface RatingsStatsModelstatsId - the stats id of this ratings statspublic String getClassName()
RatingsStatsModel
getClassName in interface RatingsStatsModelpublic long getClassNameId()
RatingsStatsModel
getClassNameId in interface RatingsStatsModelpublic void setClassNameId(long classNameId)
RatingsStatsModel
setClassNameId in interface RatingsStatsModelclassNameId - the class name id of this ratings statspublic long getOriginalClassNameId()
public long getClassPK()
RatingsStatsModel
getClassPK in interface RatingsStatsModelpublic void setClassPK(long classPK)
RatingsStatsModel
setClassPK in interface RatingsStatsModelclassPK - the class p k of this ratings statspublic long getOriginalClassPK()
public int getTotalEntries()
RatingsStatsModel
getTotalEntries in interface RatingsStatsModelpublic void setTotalEntries(int totalEntries)
RatingsStatsModel
setTotalEntries in interface RatingsStatsModeltotalEntries - the total entries of this ratings statspublic double getTotalScore()
RatingsStatsModel
getTotalScore in interface RatingsStatsModelpublic void setTotalScore(double totalScore)
RatingsStatsModel
setTotalScore in interface RatingsStatsModeltotalScore - the total score of this ratings statspublic double getAverageScore()
RatingsStatsModel
getAverageScore in interface RatingsStatsModelpublic void setAverageScore(double averageScore)
RatingsStatsModel
setAverageScore in interface RatingsStatsModelaverageScore - the average score of this ratings statspublic RatingsStats toEscapedModel()
RatingsStatsModelAutoEscapeBeanHandler.
toEscapedModel in interface RatingsStatsModelAutoEscapeBeanHandlerpublic 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.4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||