public class TicketWrapper extends BaseModelWrapper<Ticket> implements ModelWrapper<Ticket>, Ticket
This class is a wrapper for Ticket
.
Ticket
,
Serialized Formmodel
TICKET_ID_ACCESSOR
Constructor and Description |
---|
TicketWrapper(Ticket ticket) |
Modifier and Type | Method and Description |
---|---|
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()
NOTE FOR DEVELOPERS:
Never modify or reference this class directly.
|
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, toXmlString
getWrappedModel
clone, getExpandoBridge, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModel, toXmlString
getModelClass, getModelClassName
public 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 String getClassName()
getClassName
in interface TicketModel
getClassName
in interface TypedModel
public long getClassNameId()
getClassNameId
in interface TicketModel
getClassNameId
in interface TypedModel
public long getClassPK()
getClassPK
in interface AttachedModel
getClassPK
in interface TicketModel
public long getCompanyId()
getCompanyId
in interface ShardedModel
getCompanyId
in interface TicketModel
public Date getCreateDate()
getCreateDate
in interface TicketModel
public Date getExpirationDate()
getExpirationDate
in interface TicketModel
public String getExtraInfo()
getExtraInfo
in interface TicketModel
public String getKey()
getKey
in interface TicketModel
public long getMvccVersion()
getMvccVersion
in interface MVCCModel
getMvccVersion
in interface TicketModel
public long getPrimaryKey()
getPrimaryKey
in interface TicketModel
public long getTicketId()
getTicketId
in interface TicketModel
public int getType()
getType
in interface TicketModel
public void persist()
Ticket
interface instead.persist
in interface PersistedModel
public void setClassName(String className)
setClassName
in interface TicketModel
public void setClassNameId(long classNameId)
setClassNameId
in interface TicketModel
setClassNameId
in interface TypedModel
classNameId
- the class name ID of this ticketpublic void setClassPK(long classPK)
setClassPK
in interface AttachedModel
setClassPK
in interface TicketModel
classPK
- the class pk of this ticketpublic void setCompanyId(long companyId)
setCompanyId
in interface ShardedModel
setCompanyId
in interface TicketModel
companyId
- the company ID of this ticketpublic void setCreateDate(Date createDate)
setCreateDate
in interface TicketModel
createDate
- the create date of this ticketpublic void setExpirationDate(Date expirationDate)
setExpirationDate
in interface TicketModel
expirationDate
- the expiration date of this ticketpublic void setExtraInfo(String extraInfo)
setExtraInfo
in interface TicketModel
extraInfo
- the extra info of this ticketpublic void setKey(String key)
setKey
in interface TicketModel
key
- the key of this ticketpublic void setMvccVersion(long mvccVersion)
setMvccVersion
in interface MVCCModel
setMvccVersion
in interface TicketModel
mvccVersion
- the mvcc version of this ticketpublic void setPrimaryKey(long primaryKey)
setPrimaryKey
in interface TicketModel
primaryKey
- the primary key of this ticketpublic void setTicketId(long ticketId)
setTicketId
in interface TicketModel
ticketId
- the ticket ID of this ticketpublic void setType(int type)
setType
in interface TicketModel
type
- the type of this ticketprotected TicketWrapper wrap(Ticket ticket)
wrap
in class BaseModelWrapper<Ticket>