|
Liferay 6.0.3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.liferay.portlet.ratings.model.RatingsStatsWrapper
public class RatingsStatsWrapper
This class is a wrapper for RatingsStats.
RatingsStats,
Serialized Form| Constructor Summary | |
|---|---|
RatingsStatsWrapper(RatingsStats ratingsStats)
|
|
| Method Summary | |
|---|---|
Object |
clone()
Creates a shallow clone of this model instance. |
int |
compareTo(RatingsStats ratingsStats)
|
double |
getAverageScore()
|
String |
getClassName()
|
long |
getClassNameId()
|
long |
getClassPK()
|
ExpandoBridge |
getExpandoBridge()
Gets the expando bridge for this model instance. |
long |
getPrimaryKey()
|
Serializable |
getPrimaryKeyObj()
Gets the primary key for this model instance. |
long |
getStatsId()
|
int |
getTotalEntries()
|
double |
getTotalScore()
|
RatingsStats |
getWrappedRatingsStats()
|
int |
hashCode()
|
boolean |
isCachedModel()
Determines if this model instance was retrieved from the entity cache. |
boolean |
isEscapedModel()
Determines if this model instance has been wrapped with an HTML auto escape handler. |
boolean |
isNew()
Determines if this model instance does not yet exist in the database. |
void |
setAverageScore(double averageScore)
|
void |
setCachedModel(boolean cachedModel)
Sets whether this model instance was retrieved from the entity cache. |
void |
setClassNameId(long classNameId)
|
void |
setClassPK(long classPK)
|
void |
setEscapedModel(boolean escapedModel)
Sets whether this model instance has been wrapped with an HTML auto escape handler. |
void |
setExpandoBridgeAttributes(ServiceContext serviceContext)
Sets the expando bridge attributes for this model instance to the attributes stored in the service context. |
void |
setNew(boolean n)
Sets whether this model instance does not yet exist in the database. |
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 java.lang.Object |
|---|
equals, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public RatingsStatsWrapper(RatingsStats ratingsStats)
| Method Detail |
|---|
public long getPrimaryKey()
getPrimaryKey in interface RatingsStatsModelpublic void setPrimaryKey(long pk)
setPrimaryKey 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 getClassPK()
getClassPK in interface RatingsStatsModelpublic void setClassPK(long classPK)
setClassPK in interface RatingsStatsModelpublic 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 boolean isNew()
BaseModel
isNew in interface BaseModel<RatingsStats>isNew in interface RatingsStatsModeltrue if this model instance does not yet exist in
the database; false otherwisepublic void setNew(boolean n)
BaseModel
setNew in interface BaseModel<RatingsStats>setNew in interface RatingsStatsModeln - whether this model instance does not yet exist in the databasepublic boolean isCachedModel()
BaseModel
isCachedModel in interface BaseModel<RatingsStats>isCachedModel in interface RatingsStatsModeltrue if this model instance was retrieved from the
entity cache; false otherwiseBaseModel.setCachedModel(boolean)public void setCachedModel(boolean cachedModel)
BaseModel
setCachedModel in interface BaseModel<RatingsStats>setCachedModel in interface RatingsStatsModelcachedModel - whether this model instance was retrieved from the
entity cacheEntityCachepublic boolean isEscapedModel()
BaseModel
isEscapedModel in interface BaseModel<RatingsStats>isEscapedModel in interface RatingsStatsModeltrue if this model instance has been wrapped with an
HTML auto escape handler; false otherwiseBaseModel.setEscapedModel(boolean)public void setEscapedModel(boolean escapedModel)
BaseModel
A model instance can be wrapped with an HTML auto escape handler using
its toEscapedModel method. For example, UserModel.toEscapedModel().
setEscapedModel in interface BaseModel<RatingsStats>setEscapedModel in interface RatingsStatsModelescapedModel - whether this model instance has been wrapped with an
HTML auto escape handlerAutoEscapeBeanHandlerpublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj in interface BaseModel<RatingsStats>getPrimaryKeyObj in interface RatingsStatsModelpublic ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge in interface BaseModel<RatingsStats>getExpandoBridge in interface RatingsStatsModelpublic void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes in interface BaseModel<RatingsStats>setExpandoBridgeAttributes in interface RatingsStatsModelserviceContext - 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 Objectpublic int compareTo(RatingsStats ratingsStats)
compareTo in interface RatingsStatsModelcompareTo in interface Comparable<RatingsStats>public 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 RatingsStatsModelpublic RatingsStats getWrappedRatingsStats()
|
Liferay 6.0.3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||