com.liferay.counter.model.impl
Class CounterCacheModel
java.lang.Object
com.liferay.counter.model.impl.CounterCacheModel
- All Implemented Interfaces:
- CacheModel<Counter>, Externalizable, Serializable
@ProviderType
public class CounterCacheModel
- extends Object
- implements CacheModel<Counter>, Externalizable
The cache model class for representing Counter in entity cache.
- See Also:
Counter,
Serialized Form- ServiceBuilder generated this class. Modifications in this class will be overwritten the next time it is generated.
name
public String name
currentId
public long currentId
CounterCacheModel
public CounterCacheModel()
equals
public boolean equals(Object obj)
- Overrides:
equals in class Object
hashCode
public int hashCode()
- Overrides:
hashCode in class Object
toString
public String toString()
- Overrides:
toString in class Object
toEntityModel
public Counter toEntityModel()
- Specified by:
toEntityModel in interface CacheModel<Counter>
readExternal
public void readExternal(ObjectInput objectInput)
throws IOException
- Specified by:
readExternal in interface Externalizable
- Throws:
IOException
writeExternal
public void writeExternal(ObjectOutput objectOutput)
throws IOException
- Specified by:
writeExternal in interface Externalizable
- Throws:
IOException