Class ContextEventImpactProperties
java.lang.Object
org.odpi.openmetadata.frameworks.openmetadata.properties.RelationshipProperties
org.odpi.openmetadata.frameworks.openmetadata.properties.contextevents.ContextEventImpactProperties
ContextEventImpactProperties is a java bean used to describe a link between a context event and elements that
describe its impact.
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructorCopy/clone constructor. -
Method Summary
Modifier and TypeMethodDescriptionboolean
Compare the values of the supplied object with those stored in the current object.Return the description for the relationship.int
Return the severity level identifier for the relationship.int
hashCode()
Return hash code based on properties.void
setDescription
(String description) Set up the description for the relationship.void
setSeverityLevelIdentifier
(int severityLevelIdentifier) Set up the severity level identifier for the relationship.toString()
Standard toString method.Methods inherited from class org.odpi.openmetadata.frameworks.openmetadata.properties.RelationshipProperties
getEffectiveFrom, getEffectiveTo, getExtendedProperties, getTypeName, setEffectiveFrom, setEffectiveTo, setExtendedProperties, setTypeName
-
Constructor Details
-
ContextEventImpactProperties
public ContextEventImpactProperties()Default constructor -
ContextEventImpactProperties
Copy/clone constructor. Note, this is a deep copy- Parameters:
template
- object to copy
-
-
Method Details
-
getSeverityLevelIdentifier
public int getSeverityLevelIdentifier()Return the severity level identifier for the relationship.- Returns:
- int
-
setSeverityLevelIdentifier
public void setSeverityLevelIdentifier(int severityLevelIdentifier) Set up the severity level identifier for the relationship.- Parameters:
severityLevelIdentifier
- int
-
getDescription
Return the description for the relationship.- Returns:
- string
-
setDescription
Set up the description for the relationship.- Parameters:
description
- string
-
toString
Standard toString method.- Overrides:
toString
in classRelationshipProperties
- Returns:
- print out of variables in a JSON-style
-
equals
Compare the values of the supplied object with those stored in the current object.- Overrides:
equals
in classRelationshipProperties
- Parameters:
objectToCompare
- supplied object- Returns:
- boolean result of comparison
-
hashCode
public int hashCode()Return hash code based on properties.- Overrides:
hashCode
in classRelationshipProperties
- Returns:
- int
-