public class TicketWrapper extends BaseModelWrapper<Ticket> implements ModelWrapper<Ticket>, Ticket
This class is a wrapper for Ticket.
Ticket,
Serialized FormmodelTICKET_ID_ACCESSOR| Constructor and Description |
|---|
TicketWrapper(Ticket ticket) |
| Modifier and Type | Method and Description |
|---|---|
Ticket |
cloneWithOriginalValues() |
String |
getClassName()
Returns the fully qualified class name of this ticket.
|
long |
getClassNameId()
Returns the class name ID of this ticket.
|
long |
getClassPK()
Returns the class pk of this ticket.
|
long |
getCompanyId()
Returns the company ID of this ticket.
|
Date |
getCreateDate()
Returns the create date of this ticket.
|
Date |
getExpirationDate()
Returns the expiration date of this ticket.
|
String |
getExtraInfo()
Returns the extra info of this ticket.
|
String |
getKey()
Returns the key of this ticket.
|
Map<String,Object> |
getModelAttributes() |
long |
getMvccVersion()
Returns the mvcc version of this ticket.
|
long |
getPrimaryKey()
Returns the primary key of this ticket.
|
long |
getTicketId()
Returns the ticket ID of this ticket.
|
int |
getType()
Returns the type of this ticket.
|
boolean |
isExpired() |
void |
persist()
Updates this model instance in the database or adds it if it does not yet
exist.
|
void |
setClassName(String className) |
void |
setClassNameId(long classNameId)
Sets the class name ID of this ticket.
|
void |
setClassPK(long classPK)
Sets the class pk of this ticket.
|
void |
setCompanyId(long companyId)
Sets the company ID of this ticket.
|
void |
setCreateDate(Date createDate)
Sets the create date of this ticket.
|
void |
setExpirationDate(Date expirationDate)
Sets the expiration date of this ticket.
|
void |
setExtraInfo(String extraInfo)
Sets the extra info of this ticket.
|
void |
setKey(String key)
Sets the key of this ticket.
|
void |
setModelAttributes(Map<String,Object> attributes) |
void |
setMvccVersion(long mvccVersion)
Sets the mvcc version of this ticket.
|
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this ticket.
|
void |
setTicketId(long ticketId)
Sets the ticket ID of this ticket.
|
void |
setType(int type)
Sets the type of this ticket.
|
protected TicketWrapper |
wrap(Ticket ticket) |
clone, compareTo, equals, getExpandoBridge, getModelClass, getModelClassName, getPrimaryKeyObj, getWrappedModel, hashCode, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toString, toUnescapedModel, toXmlStringgetWrappedModelclone, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getExpandoBridge, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModel, toXmlStringgetModelClass, getModelClassNamepublic TicketWrapper(Ticket ticket)
public Map<String,Object> getModelAttributes()
getModelAttributes in interface BaseModel<Ticket>public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes in interface BaseModel<Ticket>public Ticket cloneWithOriginalValues()
cloneWithOriginalValues in interface BaseModel<Ticket>cloneWithOriginalValues in interface TicketModelpublic String getClassName()
getClassName in interface TicketModelgetClassName in interface TypedModelpublic long getClassNameId()
getClassNameId in interface TicketModelgetClassNameId in interface TypedModelpublic long getClassPK()
getClassPK in interface AttachedModelgetClassPK in interface TicketModelpublic long getCompanyId()
getCompanyId in interface ShardedModelgetCompanyId in interface TicketModelpublic Date getCreateDate()
getCreateDate in interface TicketModelpublic Date getExpirationDate()
getExpirationDate in interface TicketModelpublic String getExtraInfo()
getExtraInfo in interface TicketModelpublic String getKey()
getKey in interface TicketModelpublic long getMvccVersion()
getMvccVersion in interface MVCCModelgetMvccVersion in interface TicketModelpublic long getPrimaryKey()
getPrimaryKey in interface TicketModelpublic long getTicketId()
getTicketId in interface TicketModelpublic int getType()
getType in interface TicketModelpublic void persist()
PersistedModelpersist in interface PersistedModelpublic void setClassName(String className)
setClassName in interface TicketModelpublic void setClassNameId(long classNameId)
setClassNameId in interface TicketModelsetClassNameId in interface TypedModelclassNameId - the class name ID of this ticketpublic void setClassPK(long classPK)
setClassPK in interface AttachedModelsetClassPK in interface TicketModelclassPK - the class pk of this ticketpublic void setCompanyId(long companyId)
setCompanyId in interface ShardedModelsetCompanyId in interface TicketModelcompanyId - the company ID of this ticketpublic void setCreateDate(Date createDate)
setCreateDate in interface TicketModelcreateDate - the create date of this ticketpublic void setExpirationDate(Date expirationDate)
setExpirationDate in interface TicketModelexpirationDate - the expiration date of this ticketpublic void setExtraInfo(String extraInfo)
setExtraInfo in interface TicketModelextraInfo - the extra info of this ticketpublic void setKey(String key)
setKey in interface TicketModelkey - the key of this ticketpublic void setMvccVersion(long mvccVersion)
setMvccVersion in interface MVCCModelsetMvccVersion in interface TicketModelmvccVersion - the mvcc version of this ticketpublic void setPrimaryKey(long primaryKey)
setPrimaryKey in interface TicketModelprimaryKey - the primary key of this ticketpublic void setTicketId(long ticketId)
setTicketId in interface TicketModelticketId - the ticket ID of this ticketpublic void setType(int type)
setType in interface TicketModeltype - the type of this ticketprotected TicketWrapper wrap(Ticket ticket)
wrap in class BaseModelWrapper<Ticket>