public class RatingsEntryWrapper extends BaseModelWrapper<RatingsEntry> implements ModelWrapper<RatingsEntry>, RatingsEntry
This class is a wrapper for RatingsEntry
.
RatingsEntry
,
Serialized Formmodel
ENTRY_ID_ACCESSOR
Constructor and Description |
---|
RatingsEntryWrapper(RatingsEntry ratingsEntry) |
Modifier and Type | Method and Description |
---|---|
Map<String,Function<RatingsEntry,Object>> |
getAttributeGetterFunctions() |
Map<String,BiConsumer<RatingsEntry,Object>> |
getAttributeSetterBiConsumers() |
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 pk of this ratings entry.
|
long |
getCompanyId()
Returns the company ID of this ratings entry.
|
Date |
getCreateDate()
Returns the create date of this ratings entry.
|
long |
getCtCollectionId()
Returns the ct collection ID of this ratings entry.
|
long |
getEntryId()
Returns the entry ID of this ratings entry.
|
Map<String,Object> |
getModelAttributes() |
Date |
getModifiedDate()
Returns the modified date of this ratings entry.
|
long |
getMvccVersion()
Returns the mvcc version of this ratings entry.
|
long |
getPrimaryKey()
Returns the primary key of this ratings entry.
|
double |
getScore()
Returns the score of this ratings entry.
|
StagedModelType |
getStagedModelType() |
long |
getUserId()
Returns the user ID of this ratings entry.
|
String |
getUserName()
Returns the user name of this ratings entry.
|
String |
getUserUuid()
Returns the user uuid of this ratings entry.
|
String |
getUuid()
Returns the uuid of this ratings entry.
|
void |
persist()
Updates this model instance in the database or adds it if it does not yet
exist.
|
void |
setClassName(String className) |
void |
setClassNameId(long classNameId)
Sets the class name ID of this ratings entry.
|
void |
setClassPK(long classPK)
Sets the class pk of this ratings entry.
|
void |
setCompanyId(long companyId)
Sets the company ID of this ratings entry.
|
void |
setCreateDate(Date createDate)
Sets the create date of this ratings entry.
|
void |
setCtCollectionId(long ctCollectionId)
Sets the ct collection ID of this ratings entry.
|
void |
setEntryId(long entryId)
Sets the entry ID of this ratings entry.
|
void |
setModelAttributes(Map<String,Object> attributes) |
void |
setModifiedDate(Date modifiedDate)
Sets the modified date of this ratings entry.
|
void |
setMvccVersion(long mvccVersion)
Sets the mvcc version of this ratings entry.
|
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this ratings entry.
|
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(String userName)
Sets the user name of this ratings entry.
|
void |
setUserUuid(String userUuid)
Sets the user uuid of this ratings entry.
|
void |
setUuid(String uuid)
Sets the uuid of this ratings entry.
|
protected RatingsEntryWrapper |
wrap(RatingsEntry ratingsEntry) |
clone, compareTo, equals, getExpandoBridge, getModelClass, getModelClassName, getPrimaryKeyObj, getWrappedModel, hashCode, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toString, toUnescapedModel, toXmlString
getWrappedModel
clone, getExpandoBridge, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModel, toXmlString
clone
getModelClass, getModelClassName
public RatingsEntryWrapper(RatingsEntry ratingsEntry)
public Map<String,Object> getModelAttributes()
getModelAttributes
in interface BaseModel<RatingsEntry>
public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes
in interface BaseModel<RatingsEntry>
public String getClassName()
getClassName
in interface TypedModel
getClassName
in interface RatingsEntryModel
public long getClassNameId()
getClassNameId
in interface TypedModel
getClassNameId
in interface RatingsEntryModel
public long getClassPK()
getClassPK
in interface AttachedModel
getClassPK
in interface RatingsEntryModel
public long getCompanyId()
getCompanyId
in interface AuditedModel
getCompanyId
in interface ShardedModel
getCompanyId
in interface StagedModel
getCompanyId
in interface RatingsEntryModel
public Date getCreateDate()
getCreateDate
in interface AuditedModel
getCreateDate
in interface StagedModel
getCreateDate
in interface RatingsEntryModel
public long getCtCollectionId()
getCtCollectionId
in interface CTModel<RatingsEntry>
getCtCollectionId
in interface RatingsEntryModel
public long getEntryId()
getEntryId
in interface RatingsEntryModel
public Date getModifiedDate()
getModifiedDate
in interface AuditedModel
getModifiedDate
in interface StagedModel
getModifiedDate
in interface RatingsEntryModel
public long getMvccVersion()
getMvccVersion
in interface MVCCModel
getMvccVersion
in interface RatingsEntryModel
public long getPrimaryKey()
getPrimaryKey
in interface CTModel<RatingsEntry>
getPrimaryKey
in interface RatingsEntryModel
public double getScore()
getScore
in interface RatingsEntryModel
public long getUserId()
getUserId
in interface AuditedModel
getUserId
in interface RatingsEntryModel
public String getUserName()
getUserName
in interface AuditedModel
getUserName
in interface RatingsEntryModel
public String getUserUuid()
getUserUuid
in interface AuditedModel
getUserUuid
in interface RatingsEntryModel
public String getUuid()
getUuid
in interface StagedModel
getUuid
in interface RatingsEntryModel
public void persist()
PersistedModel
persist
in interface PersistedModel
public void setClassName(String className)
setClassName
in interface RatingsEntryModel
public void setClassNameId(long classNameId)
setClassNameId
in interface TypedModel
setClassNameId
in interface RatingsEntryModel
classNameId
- the class name ID of this ratings entrypublic void setClassPK(long classPK)
setClassPK
in interface AttachedModel
setClassPK
in interface RatingsEntryModel
classPK
- the class pk of this ratings entrypublic void setCompanyId(long companyId)
setCompanyId
in interface AuditedModel
setCompanyId
in interface ShardedModel
setCompanyId
in interface StagedModel
setCompanyId
in interface RatingsEntryModel
companyId
- the company ID of this ratings entrypublic void setCreateDate(Date createDate)
setCreateDate
in interface AuditedModel
setCreateDate
in interface StagedModel
setCreateDate
in interface RatingsEntryModel
createDate
- the create date of this ratings entrypublic void setCtCollectionId(long ctCollectionId)
setCtCollectionId
in interface CTModel<RatingsEntry>
setCtCollectionId
in interface RatingsEntryModel
ctCollectionId
- the ct collection ID of this ratings entrypublic void setEntryId(long entryId)
setEntryId
in interface RatingsEntryModel
entryId
- the entry ID of this ratings entrypublic void setModifiedDate(Date modifiedDate)
setModifiedDate
in interface AuditedModel
setModifiedDate
in interface StagedModel
setModifiedDate
in interface RatingsEntryModel
modifiedDate
- the modified date of this ratings entrypublic void setMvccVersion(long mvccVersion)
setMvccVersion
in interface MVCCModel
setMvccVersion
in interface RatingsEntryModel
mvccVersion
- the mvcc version of this ratings entrypublic void setPrimaryKey(long primaryKey)
setPrimaryKey
in interface CTModel<RatingsEntry>
setPrimaryKey
in interface RatingsEntryModel
primaryKey
- the primary key of this ratings entrypublic void setScore(double score)
setScore
in interface RatingsEntryModel
score
- the score of this ratings entrypublic void setUserId(long userId)
setUserId
in interface AuditedModel
setUserId
in interface RatingsEntryModel
userId
- the user ID of this ratings entrypublic void setUserName(String userName)
setUserName
in interface AuditedModel
setUserName
in interface RatingsEntryModel
userName
- the user name of this ratings entrypublic void setUserUuid(String userUuid)
setUserUuid
in interface AuditedModel
setUserUuid
in interface RatingsEntryModel
userUuid
- the user uuid of this ratings entrypublic void setUuid(String uuid)
setUuid
in interface StagedModel
setUuid
in interface RatingsEntryModel
uuid
- the uuid of this ratings entrypublic Map<String,Function<RatingsEntry,Object>> getAttributeGetterFunctions()
getAttributeGetterFunctions
in interface BaseModel<RatingsEntry>
public Map<String,BiConsumer<RatingsEntry,Object>> getAttributeSetterBiConsumers()
getAttributeSetterBiConsumers
in interface BaseModel<RatingsEntry>
public StagedModelType getStagedModelType()
getStagedModelType
in interface StagedModel
protected RatingsEntryWrapper wrap(RatingsEntry ratingsEntry)
wrap
in class BaseModelWrapper<RatingsEntry>