Class IncidentImpactedElement

java.lang.Object
org.odpi.openmetadata.frameworks.governanceaction.properties.IncidentImpactedElement
All Implemented Interfaces:
Serializable

public class IncidentImpactedElement extends Object implements Serializable
IncidentImpactedElement describes the element that is impacted by the incident reported by the incident report.
See Also:
  • Constructor Summary

    Constructors
    Constructor
    Description
    Typical Constructor
    Copy/clone Constructor the resulting object will return true if tested with this.equals(template) as long as the template object is not null;
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    equals(Object objectToCompare)
    Compare the values of the supplied object with those stored in the current object.
    Return the unique identifier of the impacted element.
    int
    Return the severity of the impact - the definition of the severity level is set up as part of the governance program.
    int
    Create a hash code for this element type.
    void
    setImpactedElementGUID(String impactedElementGUID)
    Set up the unique identifier of the impacted element.
    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.
    Standard toString method.

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait
  • 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