|
Liferay 6.1.2-ce-ga3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface RatingsStatsModel
The base model interface for the RatingsStats service. Represents a row in the "RatingsStats" database table, with each column mapped to a property of this class.
This interface and its corresponding implementation RatingsStatsModelImpl
exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in RatingsStatsImpl
.
RatingsStats
,
RatingsStatsImpl
,
RatingsStatsModelImpl
Method Summary | |
---|---|
Object |
clone()
Creates a shallow clone of this model instance. |
int |
compareTo(RatingsStats ratingsStats)
|
double |
getAverageScore()
Returns the average score of this ratings stats. |
String |
getClassName()
Returns the fully qualified class name of this ratings stats. |
long |
getClassNameId()
Returns the class name ID of this ratings stats. |
long |
getClassPK()
Returns the class p k of this ratings stats. |
ExpandoBridge |
getExpandoBridge()
Returns the expando bridge for this model instance. |
long |
getPrimaryKey()
Returns the primary key of this ratings stats. |
Serializable |
getPrimaryKeyObj()
Returns the primary key of this model instance. |
long |
getStatsId()
Returns the stats ID of this ratings stats. |
int |
getTotalEntries()
Returns the total entries of this ratings stats. |
double |
getTotalScore()
Returns the total score of this ratings stats. |
int |
hashCode()
|
boolean |
isCachedModel()
Returns true if this model instance was retrieved from the
entity cache. |
boolean |
isEscapedModel()
Returns true if this model instance is escaped. |
boolean |
isNew()
Returns true if this model instance does not yet exist in
the database. |
void |
setAverageScore(double averageScore)
Sets the average score of this ratings stats. |
void |
setCachedModel(boolean cachedModel)
Sets whether this model instance was retrieved from the entity cache. |
void |
setClassName(String className)
|
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 |
setNew(boolean n)
Sets whether this model instance does not yet exist in the database. |
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this ratings stats. |
void |
setPrimaryKeyObj(Serializable primaryKeyObj)
Sets the primary key of this model instance. |
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. |
CacheModel<RatingsStats> |
toCacheModel()
Returns a cache model object for this entity used by entity cache. |
RatingsStats |
toEscapedModel()
Returns a copy of this entity as an escaped model instance by wrapping it with an AutoEscapeBeanHandler . |
String |
toString()
|
RatingsStats |
toUnescapedModel()
|
String |
toXmlString()
Returns the XML representation of this model instance. |
Methods inherited from interface com.liferay.portal.model.BaseModel |
---|
getModelAttributes, resetOriginalValues, setModelAttributes |
Methods inherited from interface com.liferay.portal.model.ClassedModel |
---|
getModelClass, getModelClassName |
Method Detail |
---|
long getPrimaryKey()
void setPrimaryKey(long primaryKey)
primaryKey
- the primary key of this ratings statslong getStatsId()
void setStatsId(long statsId)
statsId
- the stats ID of this ratings statsString getClassName()
getClassName
in interface AttachedModel
void setClassName(String className)
long getClassNameId()
getClassNameId
in interface AttachedModel
void setClassNameId(long classNameId)
setClassNameId
in interface AttachedModel
classNameId
- the class name ID of this ratings statslong getClassPK()
getClassPK
in interface AttachedModel
void setClassPK(long classPK)
setClassPK
in interface AttachedModel
classPK
- the class p k of this ratings statsint getTotalEntries()
void setTotalEntries(int totalEntries)
totalEntries
- the total entries of this ratings statsdouble getTotalScore()
void setTotalScore(double totalScore)
totalScore
- the total score of this ratings statsdouble getAverageScore()
void setAverageScore(double averageScore)
averageScore
- the average score of this ratings statsboolean isNew()
BaseModel
true
if this model instance does not yet exist in
the database.
isNew
in interface BaseModel<RatingsStats>
true
if this model instance does not yet exist in
the database; false
otherwisevoid setNew(boolean n)
BaseModel
setNew
in interface BaseModel<RatingsStats>
n
- whether this model instance does not yet exist in the databaseboolean isCachedModel()
BaseModel
true
if this model instance was retrieved from the
entity cache.
isCachedModel
in interface BaseModel<RatingsStats>
true
if this model instance was retrieved from the
entity cache; false
otherwiseBaseModel.setCachedModel(boolean)
void setCachedModel(boolean cachedModel)
BaseModel
setCachedModel
in interface BaseModel<RatingsStats>
cachedModel
- whether this model instance was retrieved from the
entity cacheEntityCache
boolean isEscapedModel()
BaseModel
true
if this model instance is escaped.
isEscapedModel
in interface BaseModel<RatingsStats>
true
if this model instance is escaped;
false
otherwiseSerializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj
in interface BaseModel<RatingsStats>
getPrimaryKeyObj
in interface ClassedModel
void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj
in interface BaseModel<RatingsStats>
setPrimaryKeyObj
in interface ClassedModel
primaryKeyObj
- the primary key of this model instanceExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge
in interface BaseModel<RatingsStats>
getExpandoBridge
in interface ClassedModel
void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes
in interface BaseModel<RatingsStats>
serviceContext
- the service contextServiceContext.getExpandoBridgeAttributes(
)
Object clone()
BaseModel
clone
in interface BaseModel<RatingsStats>
int compareTo(RatingsStats ratingsStats)
compareTo
in interface Comparable<RatingsStats>
int hashCode()
hashCode
in class Object
CacheModel<RatingsStats> toCacheModel()
BaseModel
toCacheModel
in interface BaseModel<RatingsStats>
RatingsStats toEscapedModel()
BaseModel
AutoEscapeBeanHandler
.
toEscapedModel
in interface BaseModel<RatingsStats>
AutoEscapeBeanHandler
RatingsStats toUnescapedModel()
toUnescapedModel
in interface BaseModel<RatingsStats>
String toString()
toString
in class Object
String toXmlString()
BaseModel
toXmlString
in interface BaseModel<RatingsStats>
|
Liferay 6.1.2-ce-ga3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |