@ProviderType public interface CounterModel extends BaseModel<Counter>
This interface and its corresponding implementation com.liferay.counter.model.impl.CounterModelImpl
exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in com.liferay.counter.model.impl.CounterImpl
.
Counter
Modifier and Type | Method and Description |
---|---|
Counter |
cloneWithOriginalValues() |
long |
getCurrentId()
Returns the current ID of this counter.
|
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 |
setName(java.lang.String name)
Sets the name of this counter.
|
void |
setPrimaryKey(java.lang.String primaryKey)
Sets the primary key of this counter.
|
default java.lang.String |
toXmlString() |
clone, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getExpandoBridge, getModelAttributes, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setModelAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModel
getModelClass, getModelClassName
java.lang.String getPrimaryKey()
void setPrimaryKey(java.lang.String primaryKey)
primaryKey
- the primary key of this counter@AutoEscape java.lang.String getName()
void setName(java.lang.String name)
name
- the name of this counterlong getCurrentId()
void setCurrentId(long currentId)
currentId
- the current ID of this counterCounter cloneWithOriginalValues()
cloneWithOriginalValues
in interface BaseModel<Counter>
default java.lang.String toXmlString()