Class IncidentReportRequestBody

  • All Implemented Interfaces:
    Serializable

    public class IncidentReportRequestBody
    extends Object
    implements Serializable
    IncidentReportRequestBody provides a structure for passing the properties for a new incident report.
    See Also:
    Serialized Form
    • Constructor Detail

      • IncidentReportRequestBody

        public IncidentReportRequestBody()
        Default constructor
      • IncidentReportRequestBody

        public IncidentReportRequestBody​(IncidentReportRequestBody template)
        Copy/clone constructor
        Parameters:
        template - object to copy
    • Method Detail

      • getQualifiedName

        public String getQualifiedName()
        Return the unique name of the new incident report.
        Returns:
        string name
      • setQualifiedName

        public void setQualifiedName​(String qualifiedName)
        Set up the unique name of the new incident report.
        Parameters:
        qualifiedName - string name
      • getDomainIdentifier

        public int getDomainIdentifier()
        Return the identifier of the governance domain that this incident report belongs to (0=ALL/ANY).
        Returns:
        int
      • setDomainIdentifier

        public void setDomainIdentifier​(int domainIdentifier)
        Set up the identifier of the governance domain that this incident report belongs to (0=ALL/ANY).
        Parameters:
        domainIdentifier - int
      • getBackground

        public String getBackground()
        Return the background information that describes how the incident occurred.
        Returns:
        string text
      • setBackground

        public void setBackground​(String background)
        Set up the background information that describes how the incident occurred.
        Parameters:
        background - string text
      • getImpactedResources

        public List<IncidentImpactedElement> getImpactedResources()
        Return the list of elements that are affected by this incident.
        Returns:
        list of element identifiers
      • setImpactedResources

        public void setImpactedResources​(List<IncidentImpactedElement> impactedResources)
        Set up the list of elements that are affected by this incident.
        Parameters:
        impactedResources - list of element identifiers
      • getPreviousIncidents

        public List<IncidentDependency> getPreviousIncidents()
        Return details of the previously raised incidents that relate to this situation.
        Returns:
        list of incident report details
      • setPreviousIncidents

        public void setPreviousIncidents​(List<IncidentDependency> previousIncidents)
        Set up details of the previously raised incidents that relate to this situation.
        Parameters:
        previousIncidents - list of incident report details
      • getIncidentClassifiers

        public Map<String,​Integer> getIncidentClassifiers()
        Return the map of classifiers that help to organize and prioritize this incident report.
        Returns:
        map of classifiers and values
      • setIncidentClassifiers

        public void setIncidentClassifiers​(Map<String,​Integer> incidentClassifiers)
        Set up the map of classifiers that help to organize and prioritize this incident report.
        Parameters:
        incidentClassifiers - map of classifiers and values
      • getAdditionalProperties

        public Map<String,​String> getAdditionalProperties()
        Return any additional properties.
        Returns:
        property map
      • setAdditionalProperties

        public void setAdditionalProperties​(Map<String,​String> additionalProperties)
        Set up any additional properties.
        Parameters:
        additionalProperties - property map
      • getOriginatorGUID

        public String getOriginatorGUID()
        Return the unique identifier of the person or process that created the incident. This this is typically an ActorProfile or Process.
        Returns:
        string guid
      • setOriginatorGUID

        public void setOriginatorGUID​(String originatorGUID)
        Set up the unique identifier of the person or process that created the incident.
        Parameters:
        originatorGUID - string guid
      • toString

        public String toString()
        JSON-style toString.
        Overrides:
        toString in class Object
        Returns:
        list of properties and their values.
      • equals

        public boolean equals​(Object objectToCompare)
        Equals method that returns true if containing properties are the same.
        Overrides:
        equals in class Object
        Parameters:
        objectToCompare - object to compare
        Returns:
        boolean result of comparison
      • hashCode

        public int hashCode()
        Return hash code for this object
        Overrides:
        hashCode in class Object
        Returns:
        int hash code