Package org.opennms.netmgt.rt
Class RTTicket
- java.lang.Object
-
- org.opennms.netmgt.rt.RTTicket
-
- All Implemented Interfaces:
java.io.Serializable
public class RTTicket extends java.lang.Object implements java.io.Serializable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description RTTicket()
RTTicket(java.lang.Long id, java.lang.String queue, java.lang.String requestor, java.lang.String subject, java.lang.String text, java.util.List<CustomField> customFields)
RTTicket(java.lang.String queue, java.lang.String requestor, java.lang.String subject, java.lang.String text, java.util.List<CustomField> customFields)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addCustomField(CustomField customField)
void
addRequestor(java.lang.String requestor)
RTTicket
copy()
java.lang.String
getCreated()
java.util.List<CustomField>
getCustomFields()
java.lang.Long
getId()
java.lang.String
getQueue()
java.lang.String
getRequestor()
java.util.List<java.lang.String>
getRequestors()
java.lang.String
getStatus()
java.lang.String
getSubject()
java.lang.String
getText()
void
setCreated(java.lang.String created)
void
setCustomFields(java.util.List<CustomField> customFields)
void
setId(java.lang.Long id)
void
setQueue(java.lang.String queue)
void
setRequestor(java.lang.String requestor)
void
setRequestors(java.util.List<java.lang.String> requestors)
void
setStatus(java.lang.String status)
void
setSubject(java.lang.String subject)
void
setText(java.lang.String text)
java.lang.String
toContent()
java.lang.String
toString()
-
-
-
Constructor Detail
-
RTTicket
public RTTicket()
-
RTTicket
public RTTicket(java.lang.String queue, java.lang.String requestor, java.lang.String subject, java.lang.String text, java.util.List<CustomField> customFields)
-
RTTicket
public RTTicket(java.lang.Long id, java.lang.String queue, java.lang.String requestor, java.lang.String subject, java.lang.String text, java.util.List<CustomField> customFields)
-
-
Method Detail
-
getId
public java.lang.Long getId()
-
setId
public void setId(java.lang.Long id)
-
getStatus
public java.lang.String getStatus()
-
setStatus
public void setStatus(java.lang.String status)
-
getQueue
public java.lang.String getQueue()
-
setQueue
public void setQueue(java.lang.String queue)
-
getCreated
public java.lang.String getCreated()
-
setCreated
public void setCreated(java.lang.String created)
-
getRequestor
public java.lang.String getRequestor()
-
getRequestors
public java.util.List<java.lang.String> getRequestors()
-
setRequestors
public void setRequestors(java.util.List<java.lang.String> requestors)
-
setRequestor
public void setRequestor(java.lang.String requestor)
-
addRequestor
public void addRequestor(java.lang.String requestor)
-
getSubject
public java.lang.String getSubject()
-
setSubject
public void setSubject(java.lang.String subject)
-
getText
public java.lang.String getText()
-
setText
public void setText(java.lang.String text)
-
getCustomFields
public java.util.List<CustomField> getCustomFields()
-
setCustomFields
public void setCustomFields(java.util.List<CustomField> customFields)
-
addCustomField
public void addCustomField(CustomField customField)
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
toContent
public java.lang.String toContent()
-
copy
public RTTicket copy()
-
-