Liferay 7.0-ce-b4

com.liferay.portal.model.impl
Class PhoneCacheModel

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

@ProviderType
public class PhoneCacheModel
extends Object
implements CacheModel<Phone>, Externalizable, MVCCModel

The cache model class for representing Phone in entity cache.

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

Field Summary
 long classNameId
           
 long classPK
           
 long companyId
           
 long createDate
           
 String extension
           
 long modifiedDate
           
 long mvccVersion
           
 String number
           
 long phoneId
           
 boolean primary
           
 long typeId
           
 long userId
           
 String userName
           
 String uuid
           
 
Constructor Summary
PhoneCacheModel()
           
 
Method Summary
 boolean equals(Object obj)
           
 long getMvccVersion()
           
 int hashCode()
           
 void readExternal(ObjectInput objectInput)
           
 void setMvccVersion(long mvccVersion)
           
 Phone 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

uuid

public String uuid

phoneId

public long phoneId

companyId

public long companyId

userId

public long userId

userName

public String userName

createDate

public long createDate

modifiedDate

public long modifiedDate

classNameId

public long classNameId

classPK

public long classPK

number

public String number

extension

public String extension

typeId

public long typeId

primary

public boolean primary
Constructor Detail

PhoneCacheModel

public PhoneCacheModel()
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 Phone toEntityModel()
Specified by:
toEntityModel in interface CacheModel<Phone>

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