com.liferay.portal.model
Class TicketWrapper

java.lang.Object
  extended by com.liferay.portal.model.TicketWrapper
All Implemented Interfaces:
BaseModel<Ticket>, Ticket, TicketModel, java.io.Serializable, java.lang.Cloneable, java.lang.Comparable<Ticket>

public class TicketWrapper
extends java.lang.Object
implements Ticket

View Source

ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.

This class is a wrapper for Ticket.

Author:
Brian Wing Shun Chan
See Also:
Ticket, Serialized Form
Generated:

Constructor Summary
TicketWrapper(Ticket ticket)
           
 
Method Summary
 java.lang.Object clone()
           
 int compareTo(Ticket ticket)
           
 java.lang.String getClassName()
           
 long getClassNameId()
           
 long getClassPK()
           
 long getCompanyId()
           
 java.util.Date getCreateDate()
           
 ExpandoBridge getExpandoBridge()
           
 java.util.Date getExpirationDate()
           
 java.lang.String getKey()
           
 long getPrimaryKey()
           
 java.io.Serializable getPrimaryKeyObj()
           
 long getTicketId()
           
 Ticket getWrappedTicket()
           
 int hashCode()
           
 boolean isCachedModel()
           
 boolean isEscapedModel()
           
 boolean isExpired()
           
 boolean isNew()
           
 void setCachedModel(boolean cachedModel)
           
 void setClassNameId(long classNameId)
           
 void setClassPK(long classPK)
           
 void setCompanyId(long companyId)
           
 void setCreateDate(java.util.Date createDate)
           
 void setEscapedModel(boolean escapedModel)
           
 void setExpandoBridgeAttributes(ServiceContext serviceContext)
           
 void setExpirationDate(java.util.Date expirationDate)
           
 void setKey(java.lang.String key)
           
 boolean setNew(boolean n)
           
 void setPrimaryKey(long pk)
           
 void setTicketId(long ticketId)
           
 Ticket toEscapedModel()
           
 java.lang.String toString()
           
 java.lang.String toXmlString()
           
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TicketWrapper

public TicketWrapper(Ticket ticket)
Method Detail

getPrimaryKey

public long getPrimaryKey()
Specified by:
getPrimaryKey in interface TicketModel

setPrimaryKey

public void setPrimaryKey(long pk)
Specified by:
setPrimaryKey in interface TicketModel

getTicketId

public long getTicketId()
Specified by:
getTicketId in interface TicketModel

setTicketId

public void setTicketId(long ticketId)
Specified by:
setTicketId in interface TicketModel

getCompanyId

public long getCompanyId()
Specified by:
getCompanyId in interface TicketModel

setCompanyId

public void setCompanyId(long companyId)
Specified by:
setCompanyId in interface TicketModel

getCreateDate

public java.util.Date getCreateDate()
Specified by:
getCreateDate in interface TicketModel

setCreateDate

public void setCreateDate(java.util.Date createDate)
Specified by:
setCreateDate in interface TicketModel

getClassName

public java.lang.String getClassName()
Specified by:
getClassName in interface TicketModel

getClassNameId

public long getClassNameId()
Specified by:
getClassNameId in interface TicketModel

setClassNameId

public void setClassNameId(long classNameId)
Specified by:
setClassNameId in interface TicketModel

getClassPK

public long getClassPK()
Specified by:
getClassPK in interface TicketModel

setClassPK

public void setClassPK(long classPK)
Specified by:
setClassPK in interface TicketModel

getKey

public java.lang.String getKey()
Specified by:
getKey in interface TicketModel

setKey

public void setKey(java.lang.String key)
Specified by:
setKey in interface TicketModel

getExpirationDate

public java.util.Date getExpirationDate()
Specified by:
getExpirationDate in interface TicketModel

setExpirationDate

public void setExpirationDate(java.util.Date expirationDate)
Specified by:
setExpirationDate in interface TicketModel

toEscapedModel

public Ticket toEscapedModel()
Specified by:
toEscapedModel in interface TicketModel

isNew

public boolean isNew()
Specified by:
isNew in interface BaseModel<Ticket>
Specified by:
isNew in interface TicketModel

setNew

public boolean setNew(boolean n)
Specified by:
setNew in interface BaseModel<Ticket>
Specified by:
setNew in interface TicketModel

isCachedModel

public boolean isCachedModel()
Specified by:
isCachedModel in interface BaseModel<Ticket>
Specified by:
isCachedModel in interface TicketModel

setCachedModel

public void setCachedModel(boolean cachedModel)
Specified by:
setCachedModel in interface BaseModel<Ticket>
Specified by:
setCachedModel in interface TicketModel

isEscapedModel

public boolean isEscapedModel()
Specified by:
isEscapedModel in interface BaseModel<Ticket>
Specified by:
isEscapedModel in interface TicketModel

setEscapedModel

public void setEscapedModel(boolean escapedModel)
Specified by:
setEscapedModel in interface BaseModel<Ticket>
Specified by:
setEscapedModel in interface TicketModel

getPrimaryKeyObj

public java.io.Serializable getPrimaryKeyObj()
Specified by:
getPrimaryKeyObj in interface BaseModel<Ticket>
Specified by:
getPrimaryKeyObj in interface TicketModel

getExpandoBridge

public ExpandoBridge getExpandoBridge()
Specified by:
getExpandoBridge in interface BaseModel<Ticket>
Specified by:
getExpandoBridge in interface TicketModel

setExpandoBridgeAttributes

public void setExpandoBridgeAttributes(ServiceContext serviceContext)
Specified by:
setExpandoBridgeAttributes in interface BaseModel<Ticket>
Specified by:
setExpandoBridgeAttributes in interface TicketModel

clone

public java.lang.Object clone()
Specified by:
clone in interface BaseModel<Ticket>
Specified by:
clone in interface TicketModel
Overrides:
clone in class java.lang.Object

compareTo

public int compareTo(Ticket ticket)
Specified by:
compareTo in interface TicketModel
Specified by:
compareTo in interface java.lang.Comparable<Ticket>

hashCode

public int hashCode()
Specified by:
hashCode in interface TicketModel
Overrides:
hashCode in class java.lang.Object

toString

public java.lang.String toString()
Specified by:
toString in interface TicketModel
Overrides:
toString in class java.lang.Object

toXmlString

public java.lang.String toXmlString()
Specified by:
toXmlString in interface BaseModel<Ticket>
Specified by:
toXmlString in interface TicketModel

isExpired

public boolean isExpired()
Specified by:
isExpired in interface Ticket

getWrappedTicket

public Ticket getWrappedTicket()