Class IncidentImpactedElement

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

public class IncidentImpactedElement extends Object
IncidentImpactedElement describes the element that is impacted by the incident reported by the incident report.
  • Constructor Details

    • IncidentImpactedElement

      public IncidentImpactedElement()
      Typical Constructor
    • IncidentImpactedElement

      public IncidentImpactedElement(IncidentImpactedElement 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

    • getImpactSeverityLevel

      public int getImpactSeverityLevel()
      Return the severity of the impact - the definition of the severity level is set up as part of the governance program.
      Returns:
      integer
    • setImpactSeverityLevel

      public void setImpactSeverityLevel(int impactSeverityLevel)
      Set up the severity of the impact - the definition of the severity level is set up as part of the governance program.
      Parameters:
      impactSeverityLevel - integer
    • getImpactedElementGUID

      public String getImpactedElementGUID()
      Return the unique identifier of the impacted element.
      Returns:
      string identifier
    • setImpactedElementGUID

      public void setImpactedElementGUID(String impactedElementGUID)
      Set up the unique identifier of the impacted element.
      Parameters:
      impactedElementGUID - string identifier
    • 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