Class AbstractIssue

java.lang.Object
com.atlassian.jira.issue.AbstractIssue
All Implemented Interfaces:
WithId, WithKey, IssueContext, Issue, OfBizValueWrapper, Serializable
Direct Known Subclasses:
DocumentIssueImpl, IssueImpl

public abstract class AbstractIssue extends Object implements Issue
See Also:
  • Field Details

  • Constructor Details

  • Method Details

    • getIssueTypeObject

      public IssueType getIssueTypeObject()
      Description copied from interface: Issue
      Gets the IssueType for this Issue.
      Specified by:
      getIssueTypeObject in interface Issue
      Specified by:
      getIssueTypeObject in interface IssueContext
      Returns:
      The IssueType for this Issue.
    • getPriorityObject

      public Priority getPriorityObject()
      Description copied from interface: Issue
      Returns the Priority for this Issue.
      Specified by:
      getPriorityObject in interface Issue
      Returns:
      the Priority for this Issue.
    • getResolutionObject

      public Resolution getResolutionObject()
      Description copied from interface: Issue
      Returns the Resolution for this Issue.
      Specified by:
      getResolutionObject in interface Issue
      Returns:
      the Resolution for this Issue.
    • getStatusObject

      public Status getStatusObject()
      Specified by:
      getStatusObject in interface Issue
    • getParentObject

      public Issue getParentObject()
      Description copied from interface: Issue
      If this issue is a subtask, return its parent.
      Specified by:
      getParentObject in interface Issue
      Returns:
      The parent Issue, or null if the issue is not a subtask.
    • getParent

      public org.ofbiz.core.entity.GenericValue getParent()
      Deprecated.
      Use getParentObject() instead.
      Specified by:
      getParent in interface Issue
    • isEditable

      public boolean isEditable()
      Specified by:
      isEditable in interface Issue
    • getAttachments

      public Collection<Attachment> getAttachments()
      Specified by:
      getAttachments in interface Issue
      Returns:
      A collection of Attachment objects
    • equals

      public final boolean equals(Object o)
      Description copied from interface: Issue
      For interactivity, implementations must be based on the issue key. See the implementation in AbstractIssue for an example.
      Specified by:
      equals in interface Issue
      Overrides:
      equals in class Object
      Parameters:
      o - the other object
      Returns:
      true if the other Issue object has the same key.
    • hashCode

      public final int hashCode()
      Description copied from interface: Issue
      For interactivity, implementations must be based on the hashcode of the issue key. See the implementation in AbstractIssue for an example.
      Specified by:
      hashCode in interface Issue
      Overrides:
      hashCode in class Object
      Returns:
      the Hashcode of the issue key (or 0 for null).