|
Liferay 6.0.5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.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 FormField 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 RatingsStatsModel
public void setPrimaryKey(long pk)
RatingsStatsModel
setPrimaryKey
in interface RatingsStatsModel
pk
- the primary key of this ratings statspublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj
in interface BaseModel<RatingsStats>
getPrimaryKeyObj
in interface RatingsStatsModel
public long getStatsId()
RatingsStatsModel
getStatsId
in interface RatingsStatsModel
public void setStatsId(long statsId)
RatingsStatsModel
setStatsId
in interface RatingsStatsModel
statsId
- the stats id of this ratings statspublic String getClassName()
RatingsStatsModel
getClassName
in interface RatingsStatsModel
public long getClassNameId()
RatingsStatsModel
getClassNameId
in interface RatingsStatsModel
public void setClassNameId(long classNameId)
RatingsStatsModel
setClassNameId
in interface RatingsStatsModel
classNameId
- the class name id of this ratings statspublic long getOriginalClassNameId()
public long getClassPK()
RatingsStatsModel
getClassPK
in interface RatingsStatsModel
public void setClassPK(long classPK)
RatingsStatsModel
setClassPK
in interface RatingsStatsModel
classPK
- the class p k of this ratings statspublic long getOriginalClassPK()
public int getTotalEntries()
RatingsStatsModel
getTotalEntries
in interface RatingsStatsModel
public void setTotalEntries(int totalEntries)
RatingsStatsModel
setTotalEntries
in interface RatingsStatsModel
totalEntries
- the total entries of this ratings statspublic double getTotalScore()
RatingsStatsModel
getTotalScore
in interface RatingsStatsModel
public void setTotalScore(double totalScore)
RatingsStatsModel
setTotalScore
in interface RatingsStatsModel
totalScore
- the total score of this ratings statspublic double getAverageScore()
RatingsStatsModel
getAverageScore
in interface RatingsStatsModel
public void setAverageScore(double averageScore)
RatingsStatsModel
setAverageScore
in interface RatingsStatsModel
averageScore
- the average score of this ratings statspublic RatingsStats toEscapedModel()
RatingsStatsModel
AutoEscapeBeanHandler
.
toEscapedModel
in interface RatingsStatsModel
AutoEscapeBeanHandler
public ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge
in interface BaseModel<RatingsStats>
getExpandoBridge
in interface RatingsStatsModel
getExpandoBridge
in class BaseModelImpl<RatingsStats>
public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes
in interface BaseModel<RatingsStats>
setExpandoBridgeAttributes
in interface RatingsStatsModel
setExpandoBridgeAttributes
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 RatingsStatsModel
clone
in class BaseModelImpl<RatingsStats>
public int compareTo(RatingsStats ratingsStats)
compareTo
in interface RatingsStatsModel
compareTo
in interface Comparable<RatingsStats>
public boolean equals(Object obj)
equals
in class Object
public int hashCode()
hashCode
in interface RatingsStatsModel
hashCode
in class Object
public String toString()
toString
in interface RatingsStatsModel
toString
in class Object
public String toXmlString()
BaseModel
toXmlString
in interface BaseModel<RatingsStats>
toXmlString
in interface RatingsStatsModel
|
Liferay 6.0.5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |