Class ReferenceableRequestBody
java.lang.Object
org.odpi.openmetadata.accessservices.governanceprogram.rest.GovernanceProgramOMASAPIRequestBody
org.odpi.openmetadata.accessservices.governanceprogram.rest.ExternalSourceRequestBody
org.odpi.openmetadata.accessservices.governanceprogram.rest.ReferenceableRequestBody
- All Implemented Interfaces:
Serializable
RelationshipRequestBody describes the request body used when linking elements together.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructorCopy/clone constructor. -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn comparison result based on the content of the properties.Return an optional anchor GUID to attach the new element to.Return the properties for the relationship.inthashCode()Return hash code for this objectvoidsetAnchorGUID(String anchorGUID) Set up an optional anchor GUID to attach the new element to.voidsetProperties(ReferenceableProperties properties) Set up the properties for the relationship.toString()JSON-style toStringMethods inherited from class org.odpi.openmetadata.accessservices.governanceprogram.rest.ExternalSourceRequestBody
getExternalSourceGUID, getExternalSourceName, setExternalSourceGUID, setExternalSourceName
-
Constructor Details
-
ReferenceableRequestBody
public ReferenceableRequestBody()Default constructor -
ReferenceableRequestBody
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
-
getAnchorGUID
Return an optional anchor GUID to attach the new element to.- Returns:
- guid
-
setAnchorGUID
Set up an optional anchor GUID to attach the new element to.- Parameters:
anchorGUID- guid
-
toString
JSON-style toString- Overrides:
toStringin classExternalSourceRequestBody- Returns:
- return string containing the property names and values
-
equals
Return comparison result based on the content of the properties.- Overrides:
equalsin classExternalSourceRequestBody- Parameters:
objectToCompare- test object- Returns:
- result of comparison
-
hashCode
public int hashCode()Return hash code for this object- Overrides:
hashCodein classExternalSourceRequestBody- Returns:
- int hash code
-