public class CounterWrapper extends BaseModelWrapper<Counter> implements Counter, ModelWrapper<Counter>
This class is a wrapper for Counter.
Counter,
Serialized FormmodelNAME_ACCESSOR| Constructor and Description |
|---|
CounterWrapper(Counter counter) |
| Modifier and Type | Method and Description |
|---|---|
long |
getCurrentId()
Returns the current ID of this counter.
|
java.util.Map<java.lang.String,java.lang.Object> |
getModelAttributes() |
java.lang.String |
getName()
Returns the name of this counter.
|
java.lang.String |
getPrimaryKey()
Returns the primary key of this counter.
|
void |
setCurrentId(long currentId)
Sets the current ID of this counter.
|
void |
setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes) |
void |
setName(java.lang.String name)
Sets the name of this counter.
|
void |
setPrimaryKey(java.lang.String primaryKey)
Sets the primary key of this counter.
|
protected CounterWrapper |
wrap(Counter counter) |
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, waitclone, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getExpandoBridge, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModel, toXmlStringgetModelClass, getModelClassNamegetWrappedModelpublic CounterWrapper(Counter counter)
public java.util.Map<java.lang.String,java.lang.Object> getModelAttributes()
getModelAttributes in interface BaseModel<Counter>public void setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes)
setModelAttributes in interface BaseModel<Counter>public long getCurrentId()
getCurrentId in interface CounterModelpublic java.lang.String getName()
getName in interface CounterModelpublic java.lang.String getPrimaryKey()
getPrimaryKey in interface CounterModelpublic void setCurrentId(long currentId)
setCurrentId in interface CounterModelcurrentId - the current ID of this counterpublic void setName(java.lang.String name)
setName in interface CounterModelname - the name of this counterpublic void setPrimaryKey(java.lang.String primaryKey)
setPrimaryKey in interface CounterModelprimaryKey - the primary key of this counterprotected CounterWrapper wrap(Counter counter)
wrap in class BaseModelWrapper<Counter>