@ProviderType public class RatingsEntryWrapper extends java.lang.Object implements RatingsEntry, ModelWrapper<RatingsEntry>
This class is a wrapper for RatingsEntry.
RatingsEntry,
Serialized Form| Constructor and Description |
|---|
RatingsEntryWrapper(RatingsEntry ratingsEntry) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
clone()
Creates a shallow clone of this model instance.
|
int |
compareTo(RatingsEntry ratingsEntry) |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getClassName()
Returns the fully qualified class name of this ratings entry.
|
long |
getClassNameId()
Returns the class name ID of this ratings entry.
|
long |
getClassPK()
Returns the class p k of this ratings entry.
|
long |
getCompanyId()
Returns the company ID of this ratings entry.
|
java.util.Date |
getCreateDate()
Returns the create date of this ratings entry.
|
long |
getEntryId()
Returns the entry ID of this ratings entry.
|
ExpandoBridge |
getExpandoBridge()
Returns the expando bridge for this model instance.
|
java.util.Map<java.lang.String,java.lang.Object> |
getModelAttributes() |
java.lang.Class<?> |
getModelClass() |
java.lang.String |
getModelClassName() |
java.util.Date |
getModifiedDate()
Returns the modified date of this ratings entry.
|
long |
getPrimaryKey()
Returns the primary key of this ratings entry.
|
java.io.Serializable |
getPrimaryKeyObj()
Returns the primary key of this model instance.
|
double |
getScore()
Returns the score of this ratings entry.
|
long |
getUserId()
Returns the user ID of this ratings entry.
|
java.lang.String |
getUserName()
Returns the user name of this ratings entry.
|
java.lang.String |
getUserUuid()
Returns the user uuid of this ratings entry.
|
RatingsEntry |
getWrappedModel() |
RatingsEntry |
getWrappedRatingsEntry()
Deprecated.
As of 6.1.0, replaced by
getWrappedModel() |
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 |
persist()
Updates this model instance in the database or adds it if it does not yet
exist.
|
void |
resetOriginalValues()
Reset all original fields to current values.
|
void |
setCachedModel(boolean cachedModel)
Sets whether this model instance was retrieved from the entity cache.
|
void |
setClassName(java.lang.String className) |
void |
setClassNameId(long classNameId)
Sets the class name ID of this ratings entry.
|
void |
setClassPK(long classPK)
Sets the class p k of this ratings entry.
|
void |
setCompanyId(long companyId)
Sets the company ID of this ratings entry.
|
void |
setCreateDate(java.util.Date createDate)
Sets the create date of this ratings entry.
|
void |
setEntryId(long entryId)
Sets the entry ID of this ratings entry.
|
void |
setExpandoBridgeAttributes(BaseModel<?> baseModel) |
void |
setExpandoBridgeAttributes(ExpandoBridge expandoBridge) |
void |
setExpandoBridgeAttributes(ServiceContext serviceContext)
Sets the expando bridge attributes for this model instance to the
attributes stored in the service context.
|
void |
setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes) |
void |
setModifiedDate(java.util.Date modifiedDate)
Sets the modified date of this ratings entry.
|
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 entry.
|
void |
setPrimaryKeyObj(java.io.Serializable primaryKeyObj)
Sets the primary key of this model instance.
|
void |
setScore(double score)
Sets the score of this ratings entry.
|
void |
setUserId(long userId)
Sets the user ID of this ratings entry.
|
void |
setUserName(java.lang.String userName)
Sets the user name of this ratings entry.
|
void |
setUserUuid(java.lang.String userUuid)
Sets the user uuid of this ratings entry.
|
CacheModel<RatingsEntry> |
toCacheModel()
Returns a cache model object for this entity used by entity cache.
|
RatingsEntry |
toEscapedModel()
Returns a copy of this entity as an escaped model instance by wrapping it
with an
AutoEscapeBeanHandler. |
java.lang.String |
toString() |
RatingsEntry |
toUnescapedModel() |
java.lang.String |
toXmlString()
Returns the XML representation of this model instance.
|
public RatingsEntryWrapper(RatingsEntry ratingsEntry)
public java.lang.Class<?> getModelClass()
getModelClass in interface ClassedModelpublic java.lang.String getModelClassName()
getModelClassName in interface ClassedModelpublic java.util.Map<java.lang.String,java.lang.Object> getModelAttributes()
getModelAttributes in interface BaseModel<RatingsEntry>public void setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes)
setModelAttributes in interface BaseModel<RatingsEntry>public long getPrimaryKey()
getPrimaryKey in interface RatingsEntryModelpublic void setPrimaryKey(long primaryKey)
setPrimaryKey in interface RatingsEntryModelprimaryKey - the primary key of this ratings entrypublic long getEntryId()
getEntryId in interface RatingsEntryModelpublic void setEntryId(long entryId)
setEntryId in interface RatingsEntryModelentryId - the entry ID of this ratings entrypublic long getCompanyId()
getCompanyId in interface AuditedModelgetCompanyId in interface RatingsEntryModelpublic void setCompanyId(long companyId)
setCompanyId in interface AuditedModelsetCompanyId in interface RatingsEntryModelcompanyId - the company ID of this ratings entrypublic long getUserId()
getUserId in interface AuditedModelgetUserId in interface RatingsEntryModelpublic void setUserId(long userId)
setUserId in interface AuditedModelsetUserId in interface RatingsEntryModeluserId - the user ID of this ratings entrypublic java.lang.String getUserUuid()
throws SystemException
getUserUuid in interface AuditedModelgetUserUuid in interface RatingsEntryModelSystemException - if a system exception occurredpublic void setUserUuid(java.lang.String userUuid)
setUserUuid in interface AuditedModelsetUserUuid in interface RatingsEntryModeluserUuid - the user uuid of this ratings entrypublic java.lang.String getUserName()
getUserName in interface AuditedModelgetUserName in interface RatingsEntryModelpublic void setUserName(java.lang.String userName)
setUserName in interface AuditedModelsetUserName in interface RatingsEntryModeluserName - the user name of this ratings entrypublic java.util.Date getCreateDate()
getCreateDate in interface AuditedModelgetCreateDate in interface RatingsEntryModelpublic void setCreateDate(java.util.Date createDate)
setCreateDate in interface AuditedModelsetCreateDate in interface RatingsEntryModelcreateDate - the create date of this ratings entrypublic java.util.Date getModifiedDate()
getModifiedDate in interface AuditedModelgetModifiedDate in interface RatingsEntryModelpublic void setModifiedDate(java.util.Date modifiedDate)
setModifiedDate in interface AuditedModelsetModifiedDate in interface RatingsEntryModelmodifiedDate - the modified date of this ratings entrypublic java.lang.String getClassName()
getClassName in interface TypedModelgetClassName in interface RatingsEntryModelpublic void setClassName(java.lang.String className)
setClassName in interface RatingsEntryModelpublic long getClassNameId()
getClassNameId in interface TypedModelgetClassNameId in interface RatingsEntryModelpublic void setClassNameId(long classNameId)
setClassNameId in interface TypedModelsetClassNameId in interface RatingsEntryModelclassNameId - the class name ID of this ratings entrypublic long getClassPK()
getClassPK in interface AttachedModelgetClassPK in interface RatingsEntryModelpublic void setClassPK(long classPK)
setClassPK in interface AttachedModelsetClassPK in interface RatingsEntryModelclassPK - the class p k of this ratings entrypublic double getScore()
getScore in interface RatingsEntryModelpublic void setScore(double score)
setScore in interface RatingsEntryModelscore - the score of this ratings entrypublic boolean isNew()
BaseModeltrue if this model instance does not yet exist in
the database.isNew in interface BaseModel<RatingsEntry>isNew in interface RatingsEntryModeltrue if this model instance does not yet exist in
the database; false otherwisepublic void setNew(boolean n)
BaseModelsetNew in interface BaseModel<RatingsEntry>setNew in interface RatingsEntryModeln - whether this model instance does not yet exist in the databasepublic boolean isCachedModel()
BaseModeltrue if this model instance was retrieved from the
entity cache.isCachedModel in interface BaseModel<RatingsEntry>isCachedModel in interface RatingsEntryModeltrue if this model instance was retrieved from the
entity cache; false otherwiseBaseModel.setCachedModel(boolean)public void setCachedModel(boolean cachedModel)
BaseModelsetCachedModel in interface BaseModel<RatingsEntry>setCachedModel in interface RatingsEntryModelcachedModel - whether this model instance was retrieved from the
entity cacheEntityCachepublic boolean isEscapedModel()
BaseModeltrue if this model instance is escaped.isEscapedModel in interface BaseModel<RatingsEntry>isEscapedModel in interface RatingsEntryModeltrue if this model instance is escaped;
false otherwisepublic java.io.Serializable getPrimaryKeyObj()
BaseModelgetPrimaryKeyObj in interface BaseModel<RatingsEntry>getPrimaryKeyObj in interface ClassedModelgetPrimaryKeyObj in interface RatingsEntryModelpublic void setPrimaryKeyObj(java.io.Serializable primaryKeyObj)
BaseModelsetPrimaryKeyObj in interface BaseModel<RatingsEntry>setPrimaryKeyObj in interface ClassedModelsetPrimaryKeyObj in interface RatingsEntryModelprimaryKeyObj - the primary key of this model instancepublic ExpandoBridge getExpandoBridge()
BaseModelgetExpandoBridge in interface BaseModel<RatingsEntry>getExpandoBridge in interface ClassedModelgetExpandoBridge in interface RatingsEntryModelpublic void setExpandoBridgeAttributes(BaseModel<?> baseModel)
setExpandoBridgeAttributes in interface BaseModel<RatingsEntry>setExpandoBridgeAttributes in interface RatingsEntryModelpublic void setExpandoBridgeAttributes(ExpandoBridge expandoBridge)
setExpandoBridgeAttributes in interface BaseModel<RatingsEntry>setExpandoBridgeAttributes in interface RatingsEntryModelpublic void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModelsetExpandoBridgeAttributes in interface BaseModel<RatingsEntry>setExpandoBridgeAttributes in interface RatingsEntryModelserviceContext - the service context to be appliedServiceContext.getExpandoBridgeAttributes(
)public java.lang.Object clone()
BaseModelclone in interface BaseModel<RatingsEntry>clone in interface RatingsEntryModelclone in class java.lang.Objectpublic int compareTo(RatingsEntry ratingsEntry)
compareTo in interface RatingsEntryModelcompareTo in interface java.lang.Comparable<RatingsEntry>public int hashCode()
hashCode in interface RatingsEntryModelhashCode in class java.lang.Objectpublic CacheModel<RatingsEntry> toCacheModel()
BaseModeltoCacheModel in interface BaseModel<RatingsEntry>toCacheModel in interface RatingsEntryModelpublic RatingsEntry toEscapedModel()
BaseModelAutoEscapeBeanHandler.toEscapedModel in interface BaseModel<RatingsEntry>toEscapedModel in interface RatingsEntryModelAutoEscapeBeanHandlerpublic RatingsEntry toUnescapedModel()
toUnescapedModel in interface BaseModel<RatingsEntry>toUnescapedModel in interface RatingsEntryModelpublic java.lang.String toString()
toString in interface RatingsEntryModeltoString in class java.lang.Objectpublic java.lang.String toXmlString()
BaseModeltoXmlString in interface BaseModel<RatingsEntry>toXmlString in interface RatingsEntryModelpublic void persist()
throws SystemException
PersistedModelpersist in interface PersistedModelSystemException - if a system exception occurredpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic RatingsEntry getWrappedRatingsEntry()
getWrappedModel()public RatingsEntry getWrappedModel()
getWrappedModel in interface ModelWrapper<RatingsEntry>public void resetOriginalValues()
BaseModelresetOriginalValues in interface BaseModel<RatingsEntry>