@ProviderType
public class RatingsStatsModelImpl
extends com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.ratings.kernel.model.RatingsStats>
implements com.liferay.ratings.kernel.model.RatingsStatsModel
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 FormModifier and Type | Field and Description |
---|---|
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 |
ORDER_BY_JPQL |
static String |
ORDER_BY_SQL |
static String |
SESSION_FACTORY |
static long |
STATSID_COLUMN_BITMASK |
static Object[][] |
TABLE_COLUMNS |
static Map<String,Integer> |
TABLE_COLUMNS_MAP |
static String |
TABLE_NAME |
static String |
TABLE_SQL_CREATE |
static String |
TABLE_SQL_DROP |
static String |
TX_MANAGER |
Constructor and Description |
---|
RatingsStatsModelImpl() |
Modifier and Type | Method and Description |
---|---|
Object |
clone() |
int |
compareTo(com.liferay.ratings.kernel.model.RatingsStats ratingsStats) |
boolean |
equals(Object obj) |
double |
getAverageScore() |
String |
getClassName() |
long |
getClassNameId() |
long |
getClassPK() |
long |
getColumnBitmask() |
long |
getCompanyId() |
com.liferay.expando.kernel.model.ExpandoBridge |
getExpandoBridge() |
Map<String,Object> |
getModelAttributes() |
Class<?> |
getModelClass() |
String |
getModelClassName() |
long |
getOriginalClassNameId() |
long |
getOriginalClassPK() |
long |
getPrimaryKey() |
Serializable |
getPrimaryKeyObj() |
long |
getStatsId() |
int |
getTotalEntries() |
double |
getTotalScore() |
int |
hashCode() |
boolean |
isEntityCacheEnabled() |
boolean |
isFinderCacheEnabled() |
void |
resetOriginalValues() |
void |
setAverageScore(double averageScore) |
void |
setClassName(String className) |
void |
setClassNameId(long classNameId) |
void |
setClassPK(long classPK) |
void |
setCompanyId(long companyId) |
void |
setExpandoBridgeAttributes(com.liferay.portal.kernel.service.ServiceContext serviceContext) |
void |
setModelAttributes(Map<String,Object> attributes) |
void |
setPrimaryKey(long primaryKey) |
void |
setPrimaryKeyObj(Serializable primaryKeyObj) |
void |
setStatsId(long statsId) |
void |
setTotalEntries(int totalEntries) |
void |
setTotalScore(double totalScore) |
com.liferay.portal.kernel.model.CacheModel<com.liferay.ratings.kernel.model.RatingsStats> |
toCacheModel() |
com.liferay.ratings.kernel.model.RatingsStats |
toEscapedModel() |
String |
toString() |
String |
toXmlString() |
public static final String TABLE_NAME
public static final Object[][] TABLE_COLUMNS
public static final Map<String,Integer> TABLE_COLUMNS_MAP
public static final String TABLE_SQL_CREATE
public static final String TABLE_SQL_DROP
public static final String ORDER_BY_JPQL
public static final String ORDER_BY_SQL
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 final long CLASSNAMEID_COLUMN_BITMASK
public static final long CLASSPK_COLUMN_BITMASK
public static final long STATSID_COLUMN_BITMASK
public static final long LOCK_EXPIRATION_TIME
public long getPrimaryKey()
getPrimaryKey
in interface com.liferay.ratings.kernel.model.RatingsStatsModel
public void setPrimaryKey(long primaryKey)
setPrimaryKey
in interface com.liferay.ratings.kernel.model.RatingsStatsModel
public Serializable getPrimaryKeyObj()
getPrimaryKeyObj
in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.ratings.kernel.model.RatingsStats>
getPrimaryKeyObj
in interface com.liferay.portal.kernel.model.ClassedModel
getPrimaryKeyObj
in interface com.liferay.ratings.kernel.model.RatingsStatsModel
public void setPrimaryKeyObj(Serializable primaryKeyObj)
setPrimaryKeyObj
in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.ratings.kernel.model.RatingsStats>
setPrimaryKeyObj
in interface com.liferay.portal.kernel.model.ClassedModel
setPrimaryKeyObj
in interface com.liferay.ratings.kernel.model.RatingsStatsModel
public Class<?> getModelClass()
getModelClass
in interface com.liferay.portal.kernel.model.ClassedModel
public String getModelClassName()
getModelClassName
in interface com.liferay.portal.kernel.model.ClassedModel
public Map<String,Object> getModelAttributes()
getModelAttributes
in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.ratings.kernel.model.RatingsStats>
getModelAttributes
in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.ratings.kernel.model.RatingsStats>
public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes
in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.ratings.kernel.model.RatingsStats>
setModelAttributes
in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.ratings.kernel.model.RatingsStats>
public long getStatsId()
getStatsId
in interface com.liferay.ratings.kernel.model.RatingsStatsModel
public void setStatsId(long statsId)
setStatsId
in interface com.liferay.ratings.kernel.model.RatingsStatsModel
public long getCompanyId()
getCompanyId
in interface com.liferay.portal.kernel.model.ShardedModel
getCompanyId
in interface com.liferay.ratings.kernel.model.RatingsStatsModel
public void setCompanyId(long companyId)
setCompanyId
in interface com.liferay.portal.kernel.model.ShardedModel
setCompanyId
in interface com.liferay.ratings.kernel.model.RatingsStatsModel
public String getClassName()
getClassName
in interface com.liferay.portal.kernel.model.TypedModel
getClassName
in interface com.liferay.ratings.kernel.model.RatingsStatsModel
public void setClassName(String className)
setClassName
in interface com.liferay.ratings.kernel.model.RatingsStatsModel
public long getClassNameId()
getClassNameId
in interface com.liferay.portal.kernel.model.TypedModel
getClassNameId
in interface com.liferay.ratings.kernel.model.RatingsStatsModel
public void setClassNameId(long classNameId)
setClassNameId
in interface com.liferay.portal.kernel.model.TypedModel
setClassNameId
in interface com.liferay.ratings.kernel.model.RatingsStatsModel
public long getOriginalClassNameId()
public long getClassPK()
getClassPK
in interface com.liferay.portal.kernel.model.AttachedModel
getClassPK
in interface com.liferay.ratings.kernel.model.RatingsStatsModel
public void setClassPK(long classPK)
setClassPK
in interface com.liferay.portal.kernel.model.AttachedModel
setClassPK
in interface com.liferay.ratings.kernel.model.RatingsStatsModel
public long getOriginalClassPK()
public int getTotalEntries()
getTotalEntries
in interface com.liferay.ratings.kernel.model.RatingsStatsModel
public void setTotalEntries(int totalEntries)
setTotalEntries
in interface com.liferay.ratings.kernel.model.RatingsStatsModel
public double getTotalScore()
getTotalScore
in interface com.liferay.ratings.kernel.model.RatingsStatsModel
public void setTotalScore(double totalScore)
setTotalScore
in interface com.liferay.ratings.kernel.model.RatingsStatsModel
public double getAverageScore()
getAverageScore
in interface com.liferay.ratings.kernel.model.RatingsStatsModel
public void setAverageScore(double averageScore)
setAverageScore
in interface com.liferay.ratings.kernel.model.RatingsStatsModel
public long getColumnBitmask()
public com.liferay.expando.kernel.model.ExpandoBridge getExpandoBridge()
getExpandoBridge
in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.ratings.kernel.model.RatingsStats>
getExpandoBridge
in interface com.liferay.portal.kernel.model.ClassedModel
getExpandoBridge
in interface com.liferay.ratings.kernel.model.RatingsStatsModel
getExpandoBridge
in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.ratings.kernel.model.RatingsStats>
public void setExpandoBridgeAttributes(com.liferay.portal.kernel.service.ServiceContext serviceContext)
setExpandoBridgeAttributes
in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.ratings.kernel.model.RatingsStats>
setExpandoBridgeAttributes
in interface com.liferay.ratings.kernel.model.RatingsStatsModel
setExpandoBridgeAttributes
in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.ratings.kernel.model.RatingsStats>
public com.liferay.ratings.kernel.model.RatingsStats toEscapedModel()
toEscapedModel
in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.ratings.kernel.model.RatingsStats>
toEscapedModel
in interface com.liferay.ratings.kernel.model.RatingsStatsModel
toEscapedModel
in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.ratings.kernel.model.RatingsStats>
public Object clone()
clone
in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.ratings.kernel.model.RatingsStats>
clone
in interface com.liferay.ratings.kernel.model.RatingsStatsModel
clone
in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.ratings.kernel.model.RatingsStats>
public int compareTo(com.liferay.ratings.kernel.model.RatingsStats ratingsStats)
compareTo
in interface com.liferay.ratings.kernel.model.RatingsStatsModel
compareTo
in interface Comparable<com.liferay.ratings.kernel.model.RatingsStats>
public boolean equals(Object obj)
equals
in class Object
public int hashCode()
hashCode
in interface com.liferay.ratings.kernel.model.RatingsStatsModel
hashCode
in class Object
public boolean isEntityCacheEnabled()
isEntityCacheEnabled
in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.ratings.kernel.model.RatingsStats>
public boolean isFinderCacheEnabled()
isFinderCacheEnabled
in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.ratings.kernel.model.RatingsStats>
public void resetOriginalValues()
resetOriginalValues
in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.ratings.kernel.model.RatingsStats>
resetOriginalValues
in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.ratings.kernel.model.RatingsStats>
public com.liferay.portal.kernel.model.CacheModel<com.liferay.ratings.kernel.model.RatingsStats> toCacheModel()
toCacheModel
in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.ratings.kernel.model.RatingsStats>
toCacheModel
in interface com.liferay.ratings.kernel.model.RatingsStatsModel
toCacheModel
in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.ratings.kernel.model.RatingsStats>
public String toString()
toString
in interface com.liferay.ratings.kernel.model.RatingsStatsModel
toString
in class Object
public String toXmlString()
toXmlString
in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.ratings.kernel.model.RatingsStats>
toXmlString
in interface com.liferay.ratings.kernel.model.RatingsStatsModel