com.liferay.portal.model.impl
Class TicketModelImpl

java.lang.Object
  extended by com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portal.model.Ticket>
      extended by com.liferay.portal.model.impl.TicketModelImpl
All Implemented Interfaces:
com.liferay.portal.model.BaseModel<com.liferay.portal.model.Ticket>, java.io.Serializable, java.lang.Cloneable, java.lang.Comparable<com.liferay.portal.model.Ticket>
Direct Known Subclasses:
TicketImpl

public class TicketModelImpl
extends com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portal.model.Ticket>

View Source

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

This interface is a model that represents the Ticket table in the database.

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

Field Summary
static java.lang.String DATA_SOURCE
           
static boolean ENTITY_CACHE_ENABLED
           
static boolean FINDER_CACHE_ENABLED
           
static long LOCK_EXPIRATION_TIME
           
static java.lang.String ORDER_BY_JPQL
           
static java.lang.String ORDER_BY_SQL
           
static java.lang.String SESSION_FACTORY
           
static java.lang.Object[][] TABLE_COLUMNS
           
static java.lang.String TABLE_NAME
           
static java.lang.String TABLE_SQL_CREATE
           
static java.lang.String TABLE_SQL_DROP
           
static java.lang.String TX_MANAGER
           
 
Constructor Summary
TicketModelImpl()
           
 
Method Summary
 java.lang.Object clone()
           
 int compareTo(com.liferay.portal.model.Ticket ticket)
           
 boolean equals(java.lang.Object obj)
           
 java.lang.String getClassName()
           
 long getClassNameId()
           
 long getClassPK()
           
 long getCompanyId()
           
 java.util.Date getCreateDate()
           
 com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge()
           
 java.util.Date getExpirationDate()
           
 java.lang.String getKey()
           
 java.lang.String getOriginalKey()
           
 long getPrimaryKey()
           
 java.io.Serializable getPrimaryKeyObj()
           
 long getTicketId()
           
 int hashCode()
           
 void setClassNameId(long classNameId)
           
 void setClassPK(long classPK)
           
 void setCompanyId(long companyId)
           
 void setCreateDate(java.util.Date createDate)
           
 void setExpandoBridgeAttributes(com.liferay.portal.service.ServiceContext serviceContext)
           
 void setExpirationDate(java.util.Date expirationDate)
           
 void setKey(java.lang.String key)
           
 void setPrimaryKey(long pk)
           
 void setTicketId(long ticketId)
           
 com.liferay.portal.model.Ticket toEscapedModel()
           
static com.liferay.portal.model.Ticket toModel(com.liferay.portal.model.TicketSoap soapModel)
           
static java.util.List<com.liferay.portal.model.Ticket> toModels(com.liferay.portal.model.TicketSoap[] soapModels)
           
 java.lang.String toString()
           
 java.lang.String toXmlString()
           
 
Methods inherited from class com.liferay.portal.model.impl.BaseModelImpl
isCachedModel, isEscapedModel, isNew, setCachedModel, setEscapedModel, setNew
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

TABLE_NAME

public static final java.lang.String TABLE_NAME
See Also:
Constant Field Values

TABLE_COLUMNS

public static final java.lang.Object[][] TABLE_COLUMNS

TABLE_SQL_CREATE

public static final java.lang.String TABLE_SQL_CREATE
See Also:
Constant Field Values

TABLE_SQL_DROP

public static final java.lang.String TABLE_SQL_DROP
See Also:
Constant Field Values

ORDER_BY_JPQL

public static final java.lang.String ORDER_BY_JPQL
See Also:
Constant Field Values

ORDER_BY_SQL

public static final java.lang.String ORDER_BY_SQL
See Also:
Constant Field Values

DATA_SOURCE

public static final java.lang.String DATA_SOURCE
See Also:
Constant Field Values

SESSION_FACTORY

public static final java.lang.String SESSION_FACTORY
See Also:
Constant Field Values

TX_MANAGER

public static final java.lang.String TX_MANAGER
See Also:
Constant Field Values

ENTITY_CACHE_ENABLED

public static final boolean ENTITY_CACHE_ENABLED

FINDER_CACHE_ENABLED

public static final boolean FINDER_CACHE_ENABLED

LOCK_EXPIRATION_TIME

public static final long LOCK_EXPIRATION_TIME
Constructor Detail

TicketModelImpl

public TicketModelImpl()
Method Detail

toModel

public static com.liferay.portal.model.Ticket toModel(com.liferay.portal.model.TicketSoap soapModel)

toModels

public static java.util.List<com.liferay.portal.model.Ticket> toModels(com.liferay.portal.model.TicketSoap[] soapModels)

getPrimaryKey

public long getPrimaryKey()

setPrimaryKey

public void setPrimaryKey(long pk)

getPrimaryKeyObj

public java.io.Serializable getPrimaryKeyObj()

getTicketId

public long getTicketId()

setTicketId

public void setTicketId(long ticketId)

getCompanyId

public long getCompanyId()

setCompanyId

public void setCompanyId(long companyId)

getCreateDate

public java.util.Date getCreateDate()

setCreateDate

public void setCreateDate(java.util.Date createDate)

getClassName

public java.lang.String getClassName()

getClassNameId

public long getClassNameId()

setClassNameId

public void setClassNameId(long classNameId)

getClassPK

public long getClassPK()

setClassPK

public void setClassPK(long classPK)

getKey

public java.lang.String getKey()

setKey

public void setKey(java.lang.String key)

getOriginalKey

public java.lang.String getOriginalKey()

getExpirationDate

public java.util.Date getExpirationDate()

setExpirationDate

public void setExpirationDate(java.util.Date expirationDate)

toEscapedModel

public com.liferay.portal.model.Ticket toEscapedModel()

getExpandoBridge

public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge()
Specified by:
getExpandoBridge in interface com.liferay.portal.model.BaseModel<com.liferay.portal.model.Ticket>
Overrides:
getExpandoBridge in class com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portal.model.Ticket>

setExpandoBridgeAttributes

public void setExpandoBridgeAttributes(com.liferay.portal.service.ServiceContext serviceContext)
Specified by:
setExpandoBridgeAttributes in interface com.liferay.portal.model.BaseModel<com.liferay.portal.model.Ticket>
Overrides:
setExpandoBridgeAttributes in class com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portal.model.Ticket>

clone

public java.lang.Object clone()
Specified by:
clone in interface com.liferay.portal.model.BaseModel<com.liferay.portal.model.Ticket>
Specified by:
clone in class com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portal.model.Ticket>

compareTo

public int compareTo(com.liferay.portal.model.Ticket ticket)

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

toXmlString

public java.lang.String toXmlString()