Liferay 7.0-ce-b4

com.liferay.portal.model.impl
Class CountryCacheModel

java.lang.Object
  extended by com.liferay.portal.model.impl.CountryCacheModel
All Implemented Interfaces:
CacheModel<Country>, MVCCModel, Externalizable, Serializable

@ProviderType
public class CountryCacheModel
extends Object
implements CacheModel<Country>, Externalizable, MVCCModel

The cache model class for representing Country in entity cache.

See Also:
Country, Serialized Form
ServiceBuilder generated this class. Modifications in this class will be overwritten the next time it is generated.

Field Summary
 String a2
           
 String a3
           
 boolean active
           
 long countryId
           
 String idd
           
 long mvccVersion
           
 String name
           
 String number
           
 boolean zipRequired
           
 
Constructor Summary
CountryCacheModel()
           
 
Method Summary
 boolean equals(Object obj)
           
 long getMvccVersion()
           
 int hashCode()
           
 void readExternal(ObjectInput objectInput)
           
 void setMvccVersion(long mvccVersion)
           
 Country toEntityModel()
           
 String toString()
           
 void writeExternal(ObjectOutput objectOutput)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

mvccVersion

public long mvccVersion

countryId

public long countryId

name

public String name

a2

public String a2

a3

public String a3

number

public String number

idd

public String idd

zipRequired

public boolean zipRequired

active

public boolean active
Constructor Detail

CountryCacheModel

public CountryCacheModel()
Method Detail

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

getMvccVersion

public long getMvccVersion()
Specified by:
getMvccVersion in interface MVCCModel

setMvccVersion

public void setMvccVersion(long mvccVersion)
Specified by:
setMvccVersion in interface MVCCModel

toString

public String toString()
Overrides:
toString in class Object

toEntityModel

public Country toEntityModel()
Specified by:
toEntityModel in interface CacheModel<Country>

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