Class NewRelationshipRequestBody
java.lang.Object
org.odpi.openmetadata.frameworks.openmetadata.search.BasicOptions
org.odpi.openmetadata.frameworks.openmetadata.search.MetadataSourceOptions
org.odpi.openmetadata.frameworks.openmetadata.search.MakeAnchorOptions
org.odpi.openmetadata.commonservices.ffdc.rest.NewRelationshipRequestBody
NewRelationshipRequestBody describes the request body used when linking elements together.
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructorCopy/clone constructor. -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn comparison result based on the content of the properties.Return the properties for the relationship.inthashCode()Return hash code for this objectvoidsetProperties(RelationshipProperties properties) Set up the properties for the relationship.toString()JSON-style toStringMethods inherited from class org.odpi.openmetadata.frameworks.openmetadata.search.MakeAnchorOptions
getAnchorScopeGUID, getMakeAnchor, setAnchorScopeGUID, setMakeAnchorMethods inherited from class org.odpi.openmetadata.frameworks.openmetadata.search.MetadataSourceOptions
getExternalSourceGUID, getExternalSourceName, setExternalSourceGUID, setExternalSourceNameMethods inherited from class org.odpi.openmetadata.frameworks.openmetadata.search.BasicOptions
getEffectiveTime, getForDuplicateProcessing, getForLineage, getGovernanceZoneFilter, setEffectiveTime, setForDuplicateProcessing, setForLineage, setGovernanceZoneFilter
-
Constructor Details
-
NewRelationshipRequestBody
public NewRelationshipRequestBody()Default constructor -
NewRelationshipRequestBody
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:
toStringin classMakeAnchorOptions- Returns:
- return string containing the property names and values
-
equals
Return comparison result based on the content of the properties.- Overrides:
equalsin classMakeAnchorOptions- Parameters:
objectToCompare- test object- Returns:
- result of comparison
-
hashCode
public int hashCode()Return hash code for this object- Overrides:
hashCodein classMakeAnchorOptions- Returns:
- int hash code
-