Liferay 6.2-ce-ga5

com.liferay.counter.model.impl
Class CounterCacheModel

java.lang.Object
  extended by com.liferay.counter.model.impl.CounterCacheModel
All Implemented Interfaces:
CacheModel<Counter>, Externalizable, Serializable

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.

Field Summary
 long currentId
           
 String name
           
 
Constructor Summary
CounterCacheModel()
           
 
Method Summary
 void readExternal(ObjectInput objectInput)
           
 Counter toEntityModel()
           
 String toString()
           
 void writeExternal(ObjectOutput objectOutput)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

name

public String name

currentId

public long currentId
Constructor Detail

CounterCacheModel

public CounterCacheModel()
Method Detail

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

Liferay 6.2-ce-ga5