Class DependentContextEventProperties
java.lang.Object
org.odpi.openmetadata.frameworks.openmetadata.properties.RelationshipProperties
org.odpi.openmetadata.frameworks.openmetadata.properties.contextevents.DependentContextEventProperties
DependentContextEventProperties is a java bean used to describe a link between context events.
-
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 of the relationship.int
hashCode()
Return hash code based on properties.void
setDescription
(String description) Set up the description of the relationship.toString()
Standard toString method.Methods inherited from class org.odpi.openmetadata.frameworks.openmetadata.properties.RelationshipProperties
getEffectiveFrom, getEffectiveTo, getExtendedProperties, setEffectiveFrom, setEffectiveTo, setExtendedProperties
-
Constructor Details
-
DependentContextEventProperties
public DependentContextEventProperties()Default constructor -
DependentContextEventProperties
Copy/clone constructor. Note, this is a deep copy- Parameters:
template
- object to copy
-
-
Method Details
-
getDescription
Return the description of the relationship.- Returns:
- string
-
setDescription
Set up the description of 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
-