Class DigitalServiceDependencyProperties
- java.lang.Object
-
- org.odpi.openmetadata.accessservices.digitalservice.properties.RelationshipProperties
-
- org.odpi.openmetadata.accessservices.digitalservice.properties.DigitalServiceDependencyProperties
-
- All Implemented Interfaces:
Serializable
public class DigitalServiceDependencyProperties extends RelationshipProperties
DigitalServiceDependencyProperties describes a dependency relationship between two digital services.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DigitalServiceDependencyProperties()Default constructorDigitalServiceDependencyProperties(DigitalServiceDependencyProperties template)Copy/clone constructor.
-
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()Returns the description for the dependency.inthashCode()Return hash code based on properties.voidsetDescription(String description)Set up the description for the dependency.StringtoString()Standard toString method.-
Methods inherited from class org.odpi.openmetadata.accessservices.digitalservice.properties.RelationshipProperties
getEffectiveFrom, getEffectiveTo, getExtendedProperties, setEffectiveFrom, setEffectiveTo, setExtendedProperties
-
-
-
-
Constructor Detail
-
DigitalServiceDependencyProperties
public DigitalServiceDependencyProperties()
Default constructor
-
DigitalServiceDependencyProperties
public DigitalServiceDependencyProperties(DigitalServiceDependencyProperties template)
Copy/clone constructor.- Parameters:
template- template object to copy.
-
-
Method Detail
-
setDescription
public void setDescription(String description)
Set up the description for the dependency.- Parameters:
description- String name
-
getDescription
public String getDescription()
Returns the description for the dependency.- Returns:
- String name
-
toString
public String toString()
Standard toString method.- Overrides:
toStringin classRelationshipProperties- Returns:
- print out of variables in a JSON-style
-
equals
public boolean equals(Object objectToCompare)
Compare the values of the supplied object with those stored in the current object.- Overrides:
equalsin classRelationshipProperties- Parameters:
objectToCompare- supplied object- Returns:
- boolean result of comparison
-
hashCode
public int hashCode()
Return hash code based on properties.- Overrides:
hashCodein classRelationshipProperties- Returns:
- int
-
-