com.liferay.counter.model
Interface CounterModel
- All Superinterfaces:
- BaseModel<Counter>, java.lang.Cloneable, java.lang.Comparable<Counter>, java.io.Serializable
- All Known Subinterfaces:
- Counter
- All Known Implementing Classes:
- CounterWrapper
public interface CounterModel
- extends BaseModel<Counter>
View Source
ServiceBuilder generated this class. Modifications in this class will be
overwritten the next time is generated.
This interface is a model that represents the Counter table in the
database.
- Author:
- Brian Wing Shun Chan
- See Also:
Counter
,
com.liferay.counter.model.impl.CounterImpl
,
com.liferay.counter.model.impl.CounterModelImpl
- Generated:
getPrimaryKey
java.lang.String getPrimaryKey()
setPrimaryKey
void setPrimaryKey(java.lang.String pk)
getName
java.lang.String getName()
setName
void setName(java.lang.String name)
getCurrentId
long getCurrentId()
setCurrentId
void setCurrentId(long currentId)
toEscapedModel
Counter toEscapedModel()
isNew
boolean isNew()
- Specified by:
isNew
in interface BaseModel<Counter>
setNew
boolean setNew(boolean n)
- Specified by:
setNew
in interface BaseModel<Counter>
isCachedModel
boolean isCachedModel()
- Specified by:
isCachedModel
in interface BaseModel<Counter>
setCachedModel
void setCachedModel(boolean cachedModel)
- Specified by:
setCachedModel
in interface BaseModel<Counter>
isEscapedModel
boolean isEscapedModel()
- Specified by:
isEscapedModel
in interface BaseModel<Counter>
setEscapedModel
void setEscapedModel(boolean escapedModel)
- Specified by:
setEscapedModel
in interface BaseModel<Counter>
getPrimaryKeyObj
java.io.Serializable getPrimaryKeyObj()
- Specified by:
getPrimaryKeyObj
in interface BaseModel<Counter>
getExpandoBridge
ExpandoBridge getExpandoBridge()
- Specified by:
getExpandoBridge
in interface BaseModel<Counter>
setExpandoBridgeAttributes
void setExpandoBridgeAttributes(ServiceContext serviceContext)
- Specified by:
setExpandoBridgeAttributes
in interface BaseModel<Counter>
clone
java.lang.Object clone()
- Specified by:
clone
in interface BaseModel<Counter>
compareTo
int compareTo(Counter counter)
- Specified by:
compareTo
in interface java.lang.Comparable<Counter>
hashCode
int hashCode()
- Overrides:
hashCode
in class java.lang.Object
toString
java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
toXmlString
java.lang.String toXmlString()
- Specified by:
toXmlString
in interface BaseModel<Counter>