com.liferay.counter.model
Class CounterWrapper
java.lang.Object
com.liferay.counter.model.CounterWrapper
- All Implemented Interfaces:
- Counter, CounterModel, BaseModel<Counter>, java.io.Serializable, java.lang.Cloneable, java.lang.Comparable<Counter>
public class CounterWrapper
- extends java.lang.Object
- implements Counter
View Source
ServiceBuilder generated this class. Modifications in this class will be
overwritten the next time is generated.
This class is a wrapper for Counter.
- Author:
- Brian Wing Shun Chan
- See Also:
Counter,
Serialized Form- Generated:
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, notify, notifyAll, wait, wait, wait |
CounterWrapper
public CounterWrapper(Counter counter)
getPrimaryKey
public java.lang.String getPrimaryKey()
- Specified by:
getPrimaryKey in interface CounterModel
setPrimaryKey
public void setPrimaryKey(java.lang.String pk)
- Specified by:
setPrimaryKey in interface CounterModel
getName
public java.lang.String getName()
- Specified by:
getName in interface CounterModel
setName
public void setName(java.lang.String name)
- Specified by:
setName in interface CounterModel
getCurrentId
public long getCurrentId()
- Specified by:
getCurrentId in interface CounterModel
setCurrentId
public void setCurrentId(long currentId)
- Specified by:
setCurrentId in interface CounterModel
toEscapedModel
public Counter toEscapedModel()
- Specified by:
toEscapedModel in interface CounterModel
isNew
public boolean isNew()
- Specified by:
isNew in interface CounterModel- Specified by:
isNew in interface BaseModel<Counter>
setNew
public boolean setNew(boolean n)
- Specified by:
setNew in interface CounterModel- Specified by:
setNew in interface BaseModel<Counter>
isCachedModel
public boolean isCachedModel()
- Specified by:
isCachedModel in interface CounterModel- Specified by:
isCachedModel in interface BaseModel<Counter>
setCachedModel
public void setCachedModel(boolean cachedModel)
- Specified by:
setCachedModel in interface CounterModel- Specified by:
setCachedModel in interface BaseModel<Counter>
isEscapedModel
public boolean isEscapedModel()
- Specified by:
isEscapedModel in interface CounterModel- Specified by:
isEscapedModel in interface BaseModel<Counter>
setEscapedModel
public void setEscapedModel(boolean escapedModel)
- Specified by:
setEscapedModel in interface CounterModel- Specified by:
setEscapedModel in interface BaseModel<Counter>
getPrimaryKeyObj
public java.io.Serializable getPrimaryKeyObj()
- Specified by:
getPrimaryKeyObj in interface CounterModel- Specified by:
getPrimaryKeyObj in interface BaseModel<Counter>
getExpandoBridge
public ExpandoBridge getExpandoBridge()
- Specified by:
getExpandoBridge in interface CounterModel- Specified by:
getExpandoBridge in interface BaseModel<Counter>
setExpandoBridgeAttributes
public void setExpandoBridgeAttributes(ServiceContext serviceContext)
- Specified by:
setExpandoBridgeAttributes in interface CounterModel- Specified by:
setExpandoBridgeAttributes in interface BaseModel<Counter>
clone
public java.lang.Object clone()
- Specified by:
clone in interface CounterModel- Specified by:
clone in interface BaseModel<Counter>- Overrides:
clone in class java.lang.Object
compareTo
public int compareTo(Counter counter)
- Specified by:
compareTo in interface CounterModel- Specified by:
compareTo in interface java.lang.Comparable<Counter>
hashCode
public int hashCode()
- Specified by:
hashCode in interface CounterModel- Overrides:
hashCode in class java.lang.Object
toString
public java.lang.String toString()
- Specified by:
toString in interface CounterModel- Overrides:
toString in class java.lang.Object
toXmlString
public java.lang.String toXmlString()
- Specified by:
toXmlString in interface CounterModel- Specified by:
toXmlString in interface BaseModel<Counter>
getWrappedCounter
public Counter getWrappedCounter()