com.liferay.counter.model.impl
Class CounterCacheModel
java.lang.Object
com.liferay.counter.model.impl.CounterCacheModel
- All Implemented Interfaces:
- com.liferay.portal.kernel.model.CacheModel<com.liferay.counter.kernel.model.Counter>, Externalizable, Serializable
@ProviderType
public class CounterCacheModel
- extends Object
- implements com.liferay.portal.kernel.model.CacheModel<com.liferay.counter.kernel.model.Counter>, Externalizable
The cache model class for representing Counter in entity cache.
- See Also:
Counter,
Serialized Form- {$generated.description}
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 com.liferay.counter.kernel.model.Counter toEntityModel()
- Specified by:
toEntityModel in interface com.liferay.portal.kernel.model.CacheModel<com.liferay.counter.kernel.model.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