Liferay 7.0-ce-b4

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

@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.

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

Field Detail

name

public String name

currentId

public long currentId
Constructor Detail

CounterCacheModel

public CounterCacheModel()
Method Detail

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

Liferay 7.0-ce-b4