Class DigitalServiceDependencyProperties
java.lang.Object
org.odpi.openmetadata.frameworks.openmetadata.properties.RelationshipProperties
org.odpi.openmetadata.frameworks.openmetadata.properties.digitalbusiness.DigitalServiceDependencyProperties
DigitalServiceDependencyProperties describes a dependency relationship between two digital services.
-
Constructor Summary
ConstructorDescriptionDefault constructorCopy/clone constructor. -
Method Summary
Modifier and TypeMethodDescriptionboolean
Compare the values of the supplied object with those stored in the current object.Returns the description for the dependency.int
hashCode()
Return hash code based on properties.void
setDescription
(String description) Set up the description for the dependency.toString()
Standard toString method.Methods inherited from class org.odpi.openmetadata.frameworks.openmetadata.properties.RelationshipProperties
getEffectiveFrom, getEffectiveTo, getExtendedProperties, setEffectiveFrom, setEffectiveTo, setExtendedProperties
-
Constructor Details
-
DigitalServiceDependencyProperties
public DigitalServiceDependencyProperties()Default constructor -
DigitalServiceDependencyProperties
Copy/clone constructor.- Parameters:
template
- template object to copy.
-
-
Method Details
-
setDescription
Set up the description for the dependency.- Parameters:
description
- String name
-
getDescription
Returns the description for the dependency.- Returns:
- String name
-
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
-