Package com.liferay.counter.kernel.model
Class CounterWrapper
Object
com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<Counter>
com.liferay.counter.kernel.model.CounterWrapper
- All Implemented Interfaces:
Counter,CounterModel,BaseModel<Counter>,ClassedModel,ModelWrapper<Counter>,Serializable,Cloneable,Comparable<Counter>
public class CounterWrapper
extends BaseModelWrapper<Counter>
implements Counter, ModelWrapper<Counter>
This class is a wrapper for Counter.
- Author:
- Brian Wing Shun Chan
- See Also:
- {$generated.description}
-
Field Summary
Fields inherited from class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper
modelFields inherited from interface com.liferay.counter.kernel.model.Counter
NAME_ACCESSOR -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlongReturns the current ID of this counter.getName()Returns the name of this counter.Returns the primary key of this counter.voidsetCurrentId(long currentId) Sets the current ID of this counter.voidsetModelAttributes(Map<String, Object> attributes) voidSets the name of this counter.voidsetPrimaryKey(String primaryKey) Sets the primary key of this counter.protected CounterWrapperMethods inherited from class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper
clone, compareTo, equals, getExpandoBridge, getModelClass, getModelClassName, getPrimaryKeyObj, getWrappedModel, hashCode, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toString, toUnescapedModelMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.liferay.portal.kernel.model.BaseModel
clone, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getExpandoBridge, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModelMethods inherited from interface com.liferay.portal.kernel.model.ClassedModel
getModelClass, getModelClassNameMethods inherited from interface java.lang.Comparable
compareToMethods inherited from interface com.liferay.portal.kernel.model.ModelWrapper
getWrappedModel
-
Constructor Details
-
CounterWrapper
-
-
Method Details
-
getModelAttributes
- Specified by:
getModelAttributesin interfaceBaseModel<Counter>
-
setModelAttributes
- Specified by:
setModelAttributesin interfaceBaseModel<Counter>
-
cloneWithOriginalValues
- Specified by:
cloneWithOriginalValuesin interfaceBaseModel<Counter>- Specified by:
cloneWithOriginalValuesin interfaceCounterModel
-
getCurrentId
public long getCurrentId()Returns the current ID of this counter.- Specified by:
getCurrentIdin interfaceCounterModel- Returns:
- the current ID of this counter
-
getName
Returns the name of this counter.- Specified by:
getNamein interfaceCounterModel- Returns:
- the name of this counter
-
getPrimaryKey
Returns the primary key of this counter.- Specified by:
getPrimaryKeyin interfaceCounterModel- Returns:
- the primary key of this counter
-
setCurrentId
public void setCurrentId(long currentId) Sets the current ID of this counter.- Specified by:
setCurrentIdin interfaceCounterModel- Parameters:
currentId- the current ID of this counter
-
setName
Sets the name of this counter.- Specified by:
setNamein interfaceCounterModel- Parameters:
name- the name of this counter
-
setPrimaryKey
Sets the primary key of this counter.- Specified by:
setPrimaryKeyin interfaceCounterModel- Parameters:
primaryKey- the primary key of this counter
-
toXmlString
- Specified by:
toXmlStringin interfaceCounterModel
-
wrap
- Specified by:
wrapin classBaseModelWrapper<Counter>
-