|
Liferay 6.1.2-ce-ga3 | |||||||||
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
.
RatingsStatsImpl
,
RatingsStats
,
RatingsStatsModel
,
Serialized FormField Summary | |
---|---|
static long |
CLASSNAMEID_COLUMN_BITMASK
|
static long |
CLASSPK_COLUMN_BITMASK
|
static boolean |
COLUMN_BITMASK_ENABLED
|
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()
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. |
long |
getColumnBitmask()
|
ExpandoBridge |
getExpandoBridge()
Returns the expando bridge for this model instance. |
Map<String,Object> |
getModelAttributes()
|
Class<?> |
getModelClass()
|
String |
getModelClassName()
|
long |
getOriginalClassNameId()
|
long |
getOriginalClassPK()
|
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()
|
void |
resetOriginalValues()
Reset all original fields to current values. |
void |
setAverageScore(double averageScore)
Sets the average score of this ratings stats. |
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 |
setModelAttributes(Map<String,Object> attributes)
|
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 class com.liferay.portal.model.impl.BaseModelImpl |
---|
getLocale, isCachedModel, isEscapedModel, isNew, setCachedModel, 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, 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 boolean COLUMN_BITMASK_ENABLED
public static long CLASSNAMEID_COLUMN_BITMASK
public static long CLASSPK_COLUMN_BITMASK
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 primaryKey)
RatingsStatsModel
setPrimaryKey
in interface RatingsStatsModel
primaryKey
- the primary key of this ratings statspublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj
in interface BaseModel<RatingsStats>
getPrimaryKeyObj
in interface ClassedModel
getPrimaryKeyObj
in interface RatingsStatsModel
public void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj
in interface BaseModel<RatingsStats>
setPrimaryKeyObj
in interface ClassedModel
setPrimaryKeyObj
in interface RatingsStatsModel
primaryKeyObj
- the primary key of this model instancepublic Class<?> getModelClass()
getModelClass
in interface ClassedModel
public String getModelClassName()
getModelClassName
in interface ClassedModel
public Map<String,Object> getModelAttributes()
getModelAttributes
in interface BaseModel<RatingsStats>
getModelAttributes
in class BaseModelImpl<RatingsStats>
public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes
in interface BaseModel<RatingsStats>
setModelAttributes
in class BaseModelImpl<RatingsStats>
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 AttachedModel
getClassName
in interface RatingsStatsModel
public void setClassName(String className)
setClassName
in interface RatingsStatsModel
public long getClassNameId()
RatingsStatsModel
getClassNameId
in interface AttachedModel
getClassNameId
in interface RatingsStatsModel
public void setClassNameId(long classNameId)
RatingsStatsModel
setClassNameId
in interface AttachedModel
setClassNameId
in interface RatingsStatsModel
classNameId
- the class name ID of this ratings statspublic long getOriginalClassNameId()
public long getClassPK()
RatingsStatsModel
getClassPK
in interface AttachedModel
getClassPK
in interface RatingsStatsModel
public void setClassPK(long classPK)
RatingsStatsModel
setClassPK
in interface AttachedModel
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 long getColumnBitmask()
public ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge
in interface BaseModel<RatingsStats>
getExpandoBridge
in interface ClassedModel
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 contextServiceContext.getExpandoBridgeAttributes(
)
public RatingsStats toEscapedModel()
BaseModel
AutoEscapeBeanHandler
.
toEscapedModel
in interface BaseModel<RatingsStats>
toEscapedModel
in interface RatingsStatsModel
toEscapedModel
in class BaseModelImpl<RatingsStats>
AutoEscapeBeanHandler
public RatingsStats toUnescapedModel()
toUnescapedModel
in interface BaseModel<RatingsStats>
toUnescapedModel
in interface RatingsStatsModel
toUnescapedModel
in class BaseModelImpl<RatingsStats>
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 void resetOriginalValues()
BaseModel
resetOriginalValues
in interface BaseModel<RatingsStats>
resetOriginalValues
in class BaseModelImpl<RatingsStats>
public CacheModel<RatingsStats> toCacheModel()
BaseModel
toCacheModel
in interface BaseModel<RatingsStats>
toCacheModel
in interface RatingsStatsModel
toCacheModel
in class BaseModelImpl<RatingsStats>
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.1.2-ce-ga3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |