java.lang.Object
org.odpi.openmetadata.frameworks.governanceaction.properties.IncidentDependency

public class IncidentDependency extends Object
IncidentDependency describes a link to an IncidentReport previous raised that covers a similar or the same issue on these resources.
  • Constructor Details

    • IncidentDependency

      public IncidentDependency()
      Typical Constructor
    • IncidentDependency

      public IncidentDependency(IncidentDependency template)
      Copy/clone Constructor the resulting object will return true if tested with this.equals(template) as long as the template object is not null;
      Parameters:
      template - object being copied
  • Method Details

    • getPreviouslyReportedIncidentGUID

      public String getPreviouslyReportedIncidentGUID()
      Return the identifier of an incident that this incident is dependent on.
      Returns:
      string identifier
    • setPreviouslyReportedIncidentGUID

      public void setPreviouslyReportedIncidentGUID(String previouslyReportedIncidentGUID)
      Set up the identifier of an incident that this incident is dependent on.
      Parameters:
      previouslyReportedIncidentGUID - string identifier
    • getDescription

      public String getDescription()
      Return the description of the dependency.
      Returns:
      string text
    • setDescription

      public void setDescription(String description)
      Set up the description of the dependency.
      Parameters:
      description - string text
    • toString

      public String toString()
      Standard toString method.
      Overrides:
      toString in class Object
      Returns:
      print out of variables in a JSON-style
    • equals

      public boolean equals(Object objectToCompare)
      Compare the values of the supplied object with those stored in the current object.
      Overrides:
      equals in class Object
      Parameters:
      objectToCompare - supplied object
      Returns:
      boolean result of comparison
    • hashCode

      public int hashCode()
      Create a hash code for this element type.
      Overrides:
      hashCode in class Object
      Returns:
      int hash code