Class IncidentReportRequestBody
- java.lang.Object
-
- org.odpi.openmetadata.accessservices.governanceengine.rest.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 Summary
Constructors Constructor Description IncidentReportRequestBody()Default constructorIncidentReportRequestBody(IncidentReportRequestBody template)Copy/clone constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object objectToCompare)Equals method that returns true if containing properties are the same.Map<String,String>getAdditionalProperties()Return any additional properties.StringgetBackground()Return the background information that describes how the incident occurred.intgetDomainIdentifier()Return the identifier of the governance domain that this incident report belongs to (0=ALL/ANY).List<IncidentImpactedElement>getImpactedResources()Return the list of elements that are affected by this incident.Map<String,Integer>getIncidentClassifiers()Return the map of classifiers that help to organize and prioritize this incident report.StringgetOriginatorGUID()Return the unique identifier of the person or process that created the incident.List<IncidentDependency>getPreviousIncidents()Return details of the previously raised incidents that relate to this situation.StringgetQualifiedName()Return the unique name of the new incident report.inthashCode()Return hash code for this objectvoidsetAdditionalProperties(Map<String,String> additionalProperties)Set up any additional properties.voidsetBackground(String background)Set up the background information that describes how the incident occurred.voidsetDomainIdentifier(int domainIdentifier)Set up the identifier of the governance domain that this incident report belongs to (0=ALL/ANY).voidsetImpactedResources(List<IncidentImpactedElement> impactedResources)Set up the list of elements that are affected by this incident.voidsetIncidentClassifiers(Map<String,Integer> incidentClassifiers)Set up the map of classifiers that help to organize and prioritize this incident report.voidsetOriginatorGUID(String originatorGUID)Set up the unique identifier of the person or process that created the incident.voidsetPreviousIncidents(List<IncidentDependency> previousIncidents)Set up details of the previously raised incidents that relate to this situation.voidsetQualifiedName(String qualifiedName)Set up the unique name of the new incident report.StringtoString()JSON-style toString.
-
-
-
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.
-
equals
public boolean equals(Object objectToCompare)
Equals method that returns true if containing properties are the same.
-
-