Class IncidentDependency
java.lang.Object
org.odpi.openmetadata.frameworks.governanceaction.properties.IncidentDependency
IncidentDependency describes a link to an IncidentReport previous raised that covers a similar or
the same issue on these resources.
-
Constructor Summary
ConstructorDescriptionTypical ConstructorIncidentDependency
(IncidentDependency 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; -
Method Summary
Modifier and TypeMethodDescriptionboolean
Compare the values of the supplied object with those stored in the current object.Return the description of the dependency.Return the identifier of an incident that this incident is dependent on.int
hashCode()
Create a hash code for this element type.void
setDescription
(String description) Set up the description of the dependency.void
setPreviouslyReportedIncidentGUID
(String previouslyReportedIncidentGUID) Set up the identifier of an incident that this incident is dependent on.toString()
Standard toString method.
-
Constructor Details
-
IncidentDependency
public IncidentDependency()Typical Constructor -
IncidentDependency
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
-
getPreviouslyReportedIncidentGUID
Return the identifier of an incident that this incident is dependent on.- Returns:
- string identifier
-
setPreviouslyReportedIncidentGUID
Set up the identifier of an incident that this incident is dependent on.- Parameters:
previouslyReportedIncidentGUID
- string identifier
-
getDescription
Return the description of the dependency.- Returns:
- string text
-
setDescription
Set up the description of the dependency.- Parameters:
description
- string text
-
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.
-