com.liferay.portal.model.impl
Class CountryCacheModel
java.lang.Object
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.
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
CountryCacheModel
public CountryCacheModel()
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