Class IncidentImpactedElement
java.lang.Object
org.odpi.openmetadata.frameworks.governanceaction.properties.IncidentImpactedElement
- All Implemented Interfaces:
Serializable
IncidentImpactedElement describes the element that is impacted by the incident reported by the incident report.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionTypical ConstructorCopy/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 TypeMethodDescriptionbooleanCompare the values of the supplied object with those stored in the current object.Return the unique identifier of the impacted element.intReturn the severity of the impact - the definition of the severity level is set up as part of the governance program.inthashCode()Create a hash code for this element type.voidsetImpactedElementGUID(String impactedElementGUID) Set up the unique identifier of the impacted element.voidsetImpactSeverityLevel(int impactSeverityLevel) Set up the severity of the impact - the definition of the severity level is set up as part of the governance program.toString()Standard toString method.
-
Constructor Details
-
IncidentImpactedElement
public IncidentImpactedElement()Typical Constructor -
IncidentImpactedElement
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
Return the unique identifier of the impacted element.- Returns:
- string identifier
-
setImpactedElementGUID
Set up the unique identifier of the impacted element.- Parameters:
impactedElementGUID- string identifier
-
toString
Standard toString method. -
equals
Compare the values of the supplied object with those stored in the current object. -
hashCode
public int hashCode()Create a hash code for this element type.
-