Class ExternalReferenceRequestBody
java.lang.Object
org.odpi.openmetadata.accessservices.assetmanager.rest.UpdateRequestBody
org.odpi.openmetadata.accessservices.assetmanager.rest.ExternalReferenceRequestBody
ExternalReferenceRequestBody describes the request body used to create/update external reference properties.
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructorCopy/clone constructor. -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn comparison result based on the content of the properties.Set up an optional anchor GUID for the new external reference.Return the properties for the element.inthashCode()Return hash code for this objectvoidsetAnchorGUID(String anchorGUID) Set up an optional anchor GUID for the new external reference.voidsetElementProperties(ExternalReferenceProperties elementProperties) Set up the properties for the element.toString()JSON-style toStringMethods inherited from class org.odpi.openmetadata.accessservices.assetmanager.rest.UpdateRequestBody
getEffectiveTime, getMetadataCorrelationProperties, setEffectiveTime, setMetadataCorrelationProperties
-
Constructor Details
-
ExternalReferenceRequestBody
public ExternalReferenceRequestBody()Default constructor -
ExternalReferenceRequestBody
Copy/clone constructor.- Parameters:
template- object to copy
-
-
Method Details
-
getElementProperties
Return the properties for the element.- Returns:
- properties object
-
setElementProperties
Set up the properties for the element.- Parameters:
elementProperties- properties object
-
getAnchorGUID
Set up an optional anchor GUID for the new external reference. The assumption is that the external reference will be linked to this element.- Returns:
- string guid
-
setAnchorGUID
Set up an optional anchor GUID for the new external reference. The assumption is that the external reference will be linked to this element.- Parameters:
anchorGUID- string guid
-
toString
JSON-style toString- Overrides:
toStringin classUpdateRequestBody- Returns:
- return string containing the property names and values
-
equals
Return comparison result based on the content of the properties.- Overrides:
equalsin classUpdateRequestBody- Parameters:
objectToCompare- test object- Returns:
- result of comparison
-
hashCode
public int hashCode()Return hash code for this object- Overrides:
hashCodein classUpdateRequestBody- Returns:
- int hash code
-