Liferay 7.0-ce-b4

com.liferay.portal.model.impl
Class TicketCacheModel

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

@ProviderType
public class TicketCacheModel
extends Object
implements CacheModel<Ticket>, Externalizable, MVCCModel

The cache model class for representing Ticket in entity cache.

See Also:
Ticket, 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
           
 long expirationDate
           
 String extraInfo
           
 String key
           
 long mvccVersion
           
 long ticketId
           
 int type
           
 
Constructor Summary
TicketCacheModel()
           
 
Method Summary
 boolean equals(Object obj)
           
 long getMvccVersion()
           
 int hashCode()
           
 void readExternal(ObjectInput objectInput)
           
 void setMvccVersion(long mvccVersion)
           
 Ticket 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

ticketId

public long ticketId

companyId

public long companyId

createDate

public long createDate

classNameId

public long classNameId

classPK

public long classPK

key

public String key

type

public int type

extraInfo

public String extraInfo

expirationDate

public long expirationDate
Constructor Detail

TicketCacheModel

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

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