Class IncidentDependency
- java.lang.Object
-
- org.odpi.openmetadata.frameworks.governanceaction.properties.IncidentDependency
-
- All Implemented Interfaces:
Serializable
public class IncidentDependency extends Object implements Serializable
IncidentDependency describes a link to an IncidentReport previous raised that covers a similar or the same issue on these resources.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description IncidentDependency()Typical 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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object objectToCompare)Compare the values of the supplied object with those stored in the current object.StringgetDescription()Return the description of the dependency.StringgetPreviouslyReportedIncidentGUID()Return the identifier of an incident that this incident is dependent on.inthashCode()Create a hash code for this element type.voidsetDescription(String description)Set up the description of the dependency.voidsetPreviouslyReportedIncidentGUID(String previouslyReportedIncidentGUID)Set up the identifier of an incident that this incident is dependent on.StringtoString()Standard toString method.
-
-
-
Constructor Detail
-
IncidentDependency
public IncidentDependency()
Typical Constructor
-
IncidentDependency
public IncidentDependency(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;- Parameters:
template- object being copied
-
-
Method Detail
-
getPreviouslyReportedIncidentGUID
public String getPreviouslyReportedIncidentGUID()
Return the identifier of an incident that this incident is dependent on.- Returns:
- string identifier
-
setPreviouslyReportedIncidentGUID
public void setPreviouslyReportedIncidentGUID(String previouslyReportedIncidentGUID)
Set up the identifier of an incident that this incident is dependent on.- Parameters:
previouslyReportedIncidentGUID- string identifier
-
getDescription
public String getDescription()
Return the description of the dependency.- Returns:
- string text
-
setDescription
public void setDescription(String description)
Set up the description of the dependency.- Parameters:
description- string text
-
toString
public String toString()
Standard toString method.
-
equals
public boolean equals(Object objectToCompare)
Compare the values of the supplied object with those stored in the current object.
-
-