org.opennms.integration.otrs.ticketservice
Class Ticket

java.lang.Object
  extended by org.opennms.integration.otrs.ticketservice.Ticket
All Implemented Interfaces:
Serializable

public class Ticket
extends Object
implements Serializable

See Also:
Serialized Form

Constructor Summary
Ticket()
           
Ticket(Integer ticketID, Long ticketNumber, String title, Integer age, String state, Integer stateID, String stateType, String priority, Integer priorityID, String lock, Integer lockID, Integer unlockTimeout, String queue, Integer queueID, Integer groupID, String customerID, String customerUserID, String owner, Integer ownerID, String responsible, Integer responsibleID, String type, Integer typeID, Integer SLAID, Integer serviceID, Calendar created, Long createTimeUnix, Long untilTime, Long escalationStartTime, Long escalationResponseTime, Long escalationSolutionTime)
           
 
Method Summary
 boolean equals(Object obj)
           
 Integer getAge()
          Gets the age value for this Ticket.
 Calendar getCreated()
          Gets the created value for this Ticket.
 Long getCreateTimeUnix()
          Gets the createTimeUnix value for this Ticket.
 String getCustomerID()
          Gets the customerID value for this Ticket.
 String getCustomerUserID()
          Gets the customerUserID value for this Ticket.
static org.apache.axis.encoding.Deserializer getDeserializer(String mechType, Class _javaType, QName _xmlType)
          Get Custom Deserializer
 Long getEscalationResponseTime()
          Gets the escalationResponseTime value for this Ticket.
 Long getEscalationSolutionTime()
          Gets the escalationSolutionTime value for this Ticket.
 Long getEscalationStartTime()
          Gets the escalationStartTime value for this Ticket.
 Integer getGroupID()
          Gets the groupID value for this Ticket.
 String getLock()
          Gets the lock value for this Ticket.
 Integer getLockID()
          Gets the lockID value for this Ticket.
 String getOwner()
          Gets the owner value for this Ticket.
 Integer getOwnerID()
          Gets the ownerID value for this Ticket.
 String getPriority()
          Gets the priority value for this Ticket.
 Integer getPriorityID()
          Gets the priorityID value for this Ticket.
 String getQueue()
          Gets the queue value for this Ticket.
 Integer getQueueID()
          Gets the queueID value for this Ticket.
 String getResponsible()
          Gets the responsible value for this Ticket.
 Integer getResponsibleID()
          Gets the responsibleID value for this Ticket.
static org.apache.axis.encoding.Serializer getSerializer(String mechType, Class _javaType, QName _xmlType)
          Get Custom Serializer
 Integer getServiceID()
          Gets the serviceID value for this Ticket.
 Integer getSLAID()
          Gets the SLAID value for this Ticket.
 String getState()
          Gets the state value for this Ticket.
 Integer getStateID()
          Gets the stateID value for this Ticket.
 String getStateType()
          Gets the stateType value for this Ticket.
 Integer getTicketID()
          Gets the ticketID value for this Ticket.
 Long getTicketNumber()
          Gets the ticketNumber value for this Ticket.
 String getTitle()
          Gets the title value for this Ticket.
 String getType()
          Gets the type value for this Ticket.
static org.apache.axis.description.TypeDesc getTypeDesc()
          Return type metadata object
 Integer getTypeID()
          Gets the typeID value for this Ticket.
 Integer getUnlockTimeout()
          Gets the unlockTimeout value for this Ticket.
 Long getUntilTime()
          Gets the untilTime value for this Ticket.
 int hashCode()
           
 void setAge(Integer age)
          Sets the age value for this Ticket.
 void setCreated(Calendar created)
          Sets the created value for this Ticket.
 void setCreateTimeUnix(Long createTimeUnix)
          Sets the createTimeUnix value for this Ticket.
 void setCustomerID(String customerID)
          Sets the customerID value for this Ticket.
 void setCustomerUserID(String customerUserID)
          Sets the customerUserID value for this Ticket.
 void setEscalationResponseTime(Long escalationResponseTime)
          Sets the escalationResponseTime value for this Ticket.
 void setEscalationSolutionTime(Long escalationSolutionTime)
          Sets the escalationSolutionTime value for this Ticket.
 void setEscalationStartTime(Long escalationStartTime)
          Sets the escalationStartTime value for this Ticket.
 void setGroupID(Integer groupID)
          Sets the groupID value for this Ticket.
 void setLock(String lock)
          Sets the lock value for this Ticket.
 void setLockID(Integer lockID)
          Sets the lockID value for this Ticket.
 void setOwner(String owner)
          Sets the owner value for this Ticket.
 void setOwnerID(Integer ownerID)
          Sets the ownerID value for this Ticket.
 void setPriority(String priority)
          Sets the priority value for this Ticket.
 void setPriorityID(Integer priorityID)
          Sets the priorityID value for this Ticket.
 void setQueue(String queue)
          Sets the queue value for this Ticket.
 void setQueueID(Integer queueID)
          Sets the queueID value for this Ticket.
 void setResponsible(String responsible)
          Sets the responsible value for this Ticket.
 void setResponsibleID(Integer responsibleID)
          Sets the responsibleID value for this Ticket.
 void setServiceID(Integer serviceID)
          Sets the serviceID value for this Ticket.
 void setSLAID(Integer SLAID)
          Sets the SLAID value for this Ticket.
 void setState(String state)
          Sets the state value for this Ticket.
 void setStateID(Integer stateID)
          Sets the stateID value for this Ticket.
 void setStateType(String stateType)
          Sets the stateType value for this Ticket.
 void setTicketID(Integer ticketID)
          Sets the ticketID value for this Ticket.
 void setTicketNumber(Long ticketNumber)
          Sets the ticketNumber value for this Ticket.
 void setTitle(String title)
          Sets the title value for this Ticket.
 void setType(String type)
          Sets the type value for this Ticket.
 void setTypeID(Integer typeID)
          Sets the typeID value for this Ticket.
 void setUnlockTimeout(Integer unlockTimeout)
          Sets the unlockTimeout value for this Ticket.
 void setUntilTime(Long untilTime)
          Sets the untilTime value for this Ticket.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Ticket

public Ticket()

Ticket

public Ticket(Integer ticketID,
              Long ticketNumber,
              String title,
              Integer age,
              String state,
              Integer stateID,
              String stateType,
              String priority,
              Integer priorityID,
              String lock,
              Integer lockID,
              Integer unlockTimeout,
              String queue,
              Integer queueID,
              Integer groupID,
              String customerID,
              String customerUserID,
              String owner,
              Integer ownerID,
              String responsible,
              Integer responsibleID,
              String type,
              Integer typeID,
              Integer SLAID,
              Integer serviceID,
              Calendar created,
              Long createTimeUnix,
              Long untilTime,
              Long escalationStartTime,
              Long escalationResponseTime,
              Long escalationSolutionTime)
Method Detail

getTicketID

public Integer getTicketID()
Gets the ticketID value for this Ticket.

Returns:
ticketID

setTicketID

public void setTicketID(Integer ticketID)
Sets the ticketID value for this Ticket.

Parameters:
ticketID -

getTicketNumber

public Long getTicketNumber()
Gets the ticketNumber value for this Ticket.

Returns:
ticketNumber

setTicketNumber

public void setTicketNumber(Long ticketNumber)
Sets the ticketNumber value for this Ticket.

Parameters:
ticketNumber -

getTitle

public String getTitle()
Gets the title value for this Ticket.

Returns:
title

setTitle

public void setTitle(String title)
Sets the title value for this Ticket.

Parameters:
title -

getAge

public Integer getAge()
Gets the age value for this Ticket.

Returns:
age

setAge

public void setAge(Integer age)
Sets the age value for this Ticket.

Parameters:
age -

getState

public String getState()
Gets the state value for this Ticket.

Returns:
state

setState

public void setState(String state)
Sets the state value for this Ticket.

Parameters:
state -

getStateID

public Integer getStateID()
Gets the stateID value for this Ticket.

Returns:
stateID

setStateID

public void setStateID(Integer stateID)
Sets the stateID value for this Ticket.

Parameters:
stateID -

getStateType

public String getStateType()
Gets the stateType value for this Ticket.

Returns:
stateType

setStateType

public void setStateType(String stateType)
Sets the stateType value for this Ticket.

Parameters:
stateType -

getPriority

public String getPriority()
Gets the priority value for this Ticket.

Returns:
priority

setPriority

public void setPriority(String priority)
Sets the priority value for this Ticket.

Parameters:
priority -

getPriorityID

public Integer getPriorityID()
Gets the priorityID value for this Ticket.

Returns:
priorityID

setPriorityID

public void setPriorityID(Integer priorityID)
Sets the priorityID value for this Ticket.

Parameters:
priorityID -

getLock

public String getLock()
Gets the lock value for this Ticket.

Returns:
lock

setLock

public void setLock(String lock)
Sets the lock value for this Ticket.

Parameters:
lock -

getLockID

public Integer getLockID()
Gets the lockID value for this Ticket.

Returns:
lockID

setLockID

public void setLockID(Integer lockID)
Sets the lockID value for this Ticket.

Parameters:
lockID -

getUnlockTimeout

public Integer getUnlockTimeout()
Gets the unlockTimeout value for this Ticket.

Returns:
unlockTimeout

setUnlockTimeout

public void setUnlockTimeout(Integer unlockTimeout)
Sets the unlockTimeout value for this Ticket.

Parameters:
unlockTimeout -

getQueue

public String getQueue()
Gets the queue value for this Ticket.

Returns:
queue

setQueue

public void setQueue(String queue)
Sets the queue value for this Ticket.

Parameters:
queue -

getQueueID

public Integer getQueueID()
Gets the queueID value for this Ticket.

Returns:
queueID

setQueueID

public void setQueueID(Integer queueID)
Sets the queueID value for this Ticket.

Parameters:
queueID -

getGroupID

public Integer getGroupID()
Gets the groupID value for this Ticket.

Returns:
groupID

setGroupID

public void setGroupID(Integer groupID)
Sets the groupID value for this Ticket.

Parameters:
groupID -

getCustomerID

public String getCustomerID()
Gets the customerID value for this Ticket.

Returns:
customerID

setCustomerID

public void setCustomerID(String customerID)
Sets the customerID value for this Ticket.

Parameters:
customerID -

getCustomerUserID

public String getCustomerUserID()
Gets the customerUserID value for this Ticket.

Returns:
customerUserID

setCustomerUserID

public void setCustomerUserID(String customerUserID)
Sets the customerUserID value for this Ticket.

Parameters:
customerUserID -

getOwner

public String getOwner()
Gets the owner value for this Ticket.

Returns:
owner

setOwner

public void setOwner(String owner)
Sets the owner value for this Ticket.

Parameters:
owner -

getOwnerID

public Integer getOwnerID()
Gets the ownerID value for this Ticket.

Returns:
ownerID

setOwnerID

public void setOwnerID(Integer ownerID)
Sets the ownerID value for this Ticket.

Parameters:
ownerID -

getResponsible

public String getResponsible()
Gets the responsible value for this Ticket.

Returns:
responsible

setResponsible

public void setResponsible(String responsible)
Sets the responsible value for this Ticket.

Parameters:
responsible -

getResponsibleID

public Integer getResponsibleID()
Gets the responsibleID value for this Ticket.

Returns:
responsibleID

setResponsibleID

public void setResponsibleID(Integer responsibleID)
Sets the responsibleID value for this Ticket.

Parameters:
responsibleID -

getType

public String getType()
Gets the type value for this Ticket.

Returns:
type

setType

public void setType(String type)
Sets the type value for this Ticket.

Parameters:
type -

getTypeID

public Integer getTypeID()
Gets the typeID value for this Ticket.

Returns:
typeID

setTypeID

public void setTypeID(Integer typeID)
Sets the typeID value for this Ticket.

Parameters:
typeID -

getSLAID

public Integer getSLAID()
Gets the SLAID value for this Ticket.

Returns:
SLAID

setSLAID

public void setSLAID(Integer SLAID)
Sets the SLAID value for this Ticket.

Parameters:
SLAID -

getServiceID

public Integer getServiceID()
Gets the serviceID value for this Ticket.

Returns:
serviceID

setServiceID

public void setServiceID(Integer serviceID)
Sets the serviceID value for this Ticket.

Parameters:
serviceID -

getCreated

public Calendar getCreated()
Gets the created value for this Ticket.

Returns:
created

setCreated

public void setCreated(Calendar created)
Sets the created value for this Ticket.

Parameters:
created -

getCreateTimeUnix

public Long getCreateTimeUnix()
Gets the createTimeUnix value for this Ticket.

Returns:
createTimeUnix

setCreateTimeUnix

public void setCreateTimeUnix(Long createTimeUnix)
Sets the createTimeUnix value for this Ticket.

Parameters:
createTimeUnix -

getUntilTime

public Long getUntilTime()
Gets the untilTime value for this Ticket.

Returns:
untilTime

setUntilTime

public void setUntilTime(Long untilTime)
Sets the untilTime value for this Ticket.

Parameters:
untilTime -

getEscalationStartTime

public Long getEscalationStartTime()
Gets the escalationStartTime value for this Ticket.

Returns:
escalationStartTime

setEscalationStartTime

public void setEscalationStartTime(Long escalationStartTime)
Sets the escalationStartTime value for this Ticket.

Parameters:
escalationStartTime -

getEscalationResponseTime

public Long getEscalationResponseTime()
Gets the escalationResponseTime value for this Ticket.

Returns:
escalationResponseTime

setEscalationResponseTime

public void setEscalationResponseTime(Long escalationResponseTime)
Sets the escalationResponseTime value for this Ticket.

Parameters:
escalationResponseTime -

getEscalationSolutionTime

public Long getEscalationSolutionTime()
Gets the escalationSolutionTime value for this Ticket.

Returns:
escalationSolutionTime

setEscalationSolutionTime

public void setEscalationSolutionTime(Long escalationSolutionTime)
Sets the escalationSolutionTime value for this Ticket.

Parameters:
escalationSolutionTime -

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

getTypeDesc

public static org.apache.axis.description.TypeDesc getTypeDesc()
Return type metadata object


getSerializer

public static org.apache.axis.encoding.Serializer getSerializer(String mechType,
                                                                Class _javaType,
                                                                QName _xmlType)
Get Custom Serializer


getDeserializer

public static org.apache.axis.encoding.Deserializer getDeserializer(String mechType,
                                                                    Class _javaType,
                                                                    QName _xmlType)
Get Custom Deserializer



Copyright © 2008. All Rights Reserved.