@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 |
---|---|
long |
getCurrentId()
Returns the current ID of this counter.
|
String |
getName()
Returns the name of this counter.
|
String |
getPrimaryKey()
Returns the primary key of this counter.
|
void |
setCurrentId(long currentId)
Sets the current ID of this counter.
|
void |
setName(String name)
Sets the name of this counter.
|
void |
setPrimaryKey(String primaryKey)
Sets the primary key of this counter.
|
clone, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getExpandoBridge, getModelAttributes, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setModelAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModel, toXmlString
getModelClass, getModelClassName
String getPrimaryKey()
void setPrimaryKey(String primaryKey)
primaryKey
- the primary key of this counter@AutoEscape String getName()
void setName(String name)
name
- the name of this counterlong getCurrentId()
void setCurrentId(long currentId)
currentId
- the current ID of this counter