Class IncidentImpactedElement

  • All Implemented Interfaces:
    java.io.Serializable

    public class IncidentImpactedElement
    extends java.lang.Object
    implements java.io.Serializable
    IncidentImpactedElement describes the element that is impacted by the incident reported by the incident report.
    See Also:
    Serialized Form
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object objectToCompare)
      Compare the values of the supplied object with those stored in the current object.
      java.lang.String getImpactedElementGUID()
      Return the unique identifier of the impacted element.
      int getImpactSeverityLevel()
      Return the severity of the impact - the definition of the severity level is set up as part of the governance program.
      int hashCode()
      Create a hash code for this element type.
      void setImpactedElementGUID​(java.lang.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.
      java.lang.String toString()
      Standard toString method.
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • 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 Detail

      • 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 java.lang.String getImpactedElementGUID()
        Return the unique identifier of the impacted element.
        Returns:
        string identifier
      • setImpactedElementGUID

        public void setImpactedElementGUID​(java.lang.String impactedElementGUID)
        Set up the unique identifier of the impacted element.
        Parameters:
        impactedElementGUID - string identifier
      • toString

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

        public boolean equals​(java.lang.Object objectToCompare)
        Compare the values of the supplied object with those stored in the current object.
        Overrides:
        equals in class java.lang.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 java.lang.Object
        Returns:
        int hash code