public class ViewCountEntryWrapper extends BaseModelWrapper<ViewCountEntry> implements ModelWrapper<ViewCountEntry>, ViewCountEntry
This class is a wrapper for ViewCountEntry.
ViewCountEntry,
Serialized FormmodelCLASS_NAME_ID_ACCESSOR, CLASS_PK_ACCESSOR, COMPANY_ID_ACCESSOR| Constructor and Description |
|---|
ViewCountEntryWrapper(ViewCountEntry viewCountEntry) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getClassName()
Returns the fully qualified class name of this view count entry.
|
long |
getClassNameId()
Returns the class name ID of this view count entry.
|
long |
getClassPK()
Returns the class pk of this view count entry.
|
long |
getCompanyId()
Returns the company ID of this view count entry.
|
java.util.Map<java.lang.String,java.lang.Object> |
getModelAttributes() |
ViewCountEntryPK |
getPrimaryKey()
Returns the primary key of this view count entry.
|
long |
getViewCount()
Returns the view count of this view count entry.
|
void |
persist()
Updates this model instance in the database or adds it if it does not yet
exist.
|
void |
setClassName(java.lang.String className) |
void |
setClassNameId(long classNameId)
Sets the class name ID of this view count entry.
|
void |
setClassPK(long classPK)
Sets the class pk of this view count entry.
|
void |
setCompanyId(long companyId)
Sets the company ID of this view count entry.
|
void |
setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes) |
void |
setPrimaryKey(ViewCountEntryPK primaryKey)
Sets the primary key of this view count entry.
|
void |
setViewCount(long viewCount)
Sets the view count of this view count entry.
|
protected ViewCountEntryWrapper |
wrap(ViewCountEntry viewCountEntry) |
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, toXmlStringfinalize, getClass, notify, notifyAll, wait, wait, waitgetWrappedModelclone, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getExpandoBridge, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModel, toXmlStringgetModelClass, getModelClassNamepublic ViewCountEntryWrapper(ViewCountEntry viewCountEntry)
public java.util.Map<java.lang.String,java.lang.Object> getModelAttributes()
getModelAttributes in interface BaseModel<ViewCountEntry>public void setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes)
setModelAttributes in interface BaseModel<ViewCountEntry>public java.lang.String getClassName()
getClassName in interface TypedModelgetClassName in interface ViewCountEntryModelpublic long getClassNameId()
getClassNameId in interface TypedModelgetClassNameId in interface ViewCountEntryModelpublic long getClassPK()
getClassPK in interface AttachedModelgetClassPK in interface ViewCountEntryModelpublic long getCompanyId()
getCompanyId in interface ShardedModelgetCompanyId in interface ViewCountEntryModelpublic ViewCountEntryPK getPrimaryKey()
getPrimaryKey in interface ViewCountEntryModelpublic long getViewCount()
getViewCount in interface ViewCountEntryModelpublic void persist()
PersistedModelpersist in interface PersistedModelpublic void setClassName(java.lang.String className)
setClassName in interface ViewCountEntryModelpublic void setClassNameId(long classNameId)
setClassNameId in interface TypedModelsetClassNameId in interface ViewCountEntryModelclassNameId - the class name ID of this view count entrypublic void setClassPK(long classPK)
setClassPK in interface AttachedModelsetClassPK in interface ViewCountEntryModelclassPK - the class pk of this view count entrypublic void setCompanyId(long companyId)
setCompanyId in interface ShardedModelsetCompanyId in interface ViewCountEntryModelcompanyId - the company ID of this view count entrypublic void setPrimaryKey(ViewCountEntryPK primaryKey)
setPrimaryKey in interface ViewCountEntryModelprimaryKey - the primary key of this view count entrypublic void setViewCount(long viewCount)
setViewCount in interface ViewCountEntryModelviewCount - the view count of this view count entryprotected ViewCountEntryWrapper wrap(ViewCountEntry viewCountEntry)
wrap in class BaseModelWrapper<ViewCountEntry>