Class ContextEventImpactProperties
java.lang.Object
org.odpi.openmetadata.frameworks.openmetadata.properties.RelationshipProperties
org.odpi.openmetadata.frameworks.openmetadata.properties.RelationshipBeanProperties
org.odpi.openmetadata.frameworks.openmetadata.properties.LabeledRelationshipProperties
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.
-
Field Summary
Fields inherited from class org.odpi.openmetadata.frameworks.openmetadata.properties.RelationshipBeanProperties
typeName -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructorCopy/clone constructor. -
Method Summary
Modifier and TypeMethodDescriptionbooleanCompare the values of the supplied object with those stored in the current object.intReturn the severity level identifier for the relationship.inthashCode()Return hash code based on properties.voidsetSeverityLevelIdentifier(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.LabeledRelationshipProperties
getDescription, getLabel, setDescription, setLabelMethods inherited from class org.odpi.openmetadata.frameworks.openmetadata.properties.RelationshipBeanProperties
getExtendedProperties, getTypeName, setExtendedProperties, setTypeNameMethods inherited from class org.odpi.openmetadata.frameworks.openmetadata.properties.RelationshipProperties
getEffectiveFrom, getEffectiveTo, setEffectiveFrom, setEffectiveTo
-
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
-
toString
Standard toString method.- Overrides:
toStringin classLabeledRelationshipProperties- 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:
equalsin classLabeledRelationshipProperties- Parameters:
objectToCompare- supplied object- Returns:
- boolean result of comparison
-
hashCode
public int hashCode()Return hash code based on properties.- Overrides:
hashCodein classLabeledRelationshipProperties- Returns:
- int
-