Class TermRelationshipRequestBody
java.lang.Object
org.odpi.openmetadata.accessservices.assetmanager.rest.AssetManagerIdentifiersRequestBody
org.odpi.openmetadata.accessservices.assetmanager.rest.TermRelationshipRequestBody
TermRelationshipRequestBody describes the request body used when linking two terms together.
-
Constructor Summary
ConstructorDescriptionDefault constructorCopy/clone constructor. -
Method Summary
Modifier and TypeMethodDescriptionboolean
Return comparison result based on the content of the properties.Return the properties for the relationship.int
hashCode()
Return hash code for this objectvoid
setProperties
(GlossaryTermRelationship properties) Set up the properties for the relationship.toString()
JSON-style toStringMethods inherited from class org.odpi.openmetadata.accessservices.assetmanager.rest.AssetManagerIdentifiersRequestBody
getAssetManagerGUID, getAssetManagerName, setAssetManagerGUID, setAssetManagerName
-
Constructor Details
-
TermRelationshipRequestBody
public TermRelationshipRequestBody()Default constructor -
TermRelationshipRequestBody
Copy/clone constructor.- Parameters:
template
- object to copy
-
-
Method Details
-
getProperties
Return the properties for the relationship.- Returns:
- properties object
-
setProperties
Set up the properties for the relationship.- Parameters:
properties
- properties object
-
toString
JSON-style toString- Overrides:
toString
in classAssetManagerIdentifiersRequestBody
- Returns:
- return string containing the property names and values
-
equals
Return comparison result based on the content of the properties.- Overrides:
equals
in classAssetManagerIdentifiersRequestBody
- Parameters:
objectToCompare
- test object- Returns:
- result of comparison
-
hashCode
public int hashCode()Return hash code for this object- Overrides:
hashCode
in classAssetManagerIdentifiersRequestBody
- Returns:
- int hash code
-