Class ExternalReferenceRequestBody
java.lang.Object
org.odpi.openmetadata.accessservices.datamanager.properties.ExternalReferenceProperties
org.odpi.openmetadata.accessservices.datamanager.rest.ExternalReferenceRequestBody
- All Implemented Interfaces:
Serializable
ExternalReferenceRequestBody describes the properties of the external reference plus the optional identifiers for an
owning element.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructorCopy/clone constructor.Copy/clone constructor. -
Method Summary
Modifier and TypeMethodDescriptionboolean
Return comparison result based on the content of the properties.Return the unique identifier of the element that this is to be attached to.int
hashCode()
Return hash code for this objectvoid
setAnchorGUID
(String anchorGUID) Set up the unique identifier of the element that this is to be attached to.toString()
JSON-style toStringMethods inherited from class org.odpi.openmetadata.accessservices.datamanager.properties.ExternalReferenceProperties
getAdditionalProperties, getExtendedProperties, getLinkDescription, getLinkId, getOwningOrganization, getResourceDescription, getResourceDisplayName, getResourceId, getResourceURL, getResourceVersion, getTypeName, setAdditionalProperties, setExtendedProperties, setLinkDescription, setLinkId, setOwningOrganization, setResourceDescription, setResourceDisplayName, setResourceId, setResourceURL, setResourceVersion, setTypeName
-
Constructor Details
-
ExternalReferenceRequestBody
public ExternalReferenceRequestBody()Default constructor -
ExternalReferenceRequestBody
Copy/clone constructor.- Parameters:
template
- object to copy
-
ExternalReferenceRequestBody
Copy/clone constructor.- Parameters:
template
- object to copy
-
-
Method Details
-
getAnchorGUID
Return the unique identifier of the element that this is to be attached to.- Returns:
- string guid
-
setAnchorGUID
Set up the unique identifier of the element that this is to be attached to.- Parameters:
anchorGUID
- string guid
-
toString
JSON-style toString- Overrides:
toString
in classExternalReferenceProperties
- Returns:
- return string containing the property names and values
-
equals
Return comparison result based on the content of the properties.- Overrides:
equals
in classExternalReferenceProperties
- Parameters:
objectToCompare
- test object- Returns:
- result of comparison
-
hashCode
public int hashCode()Return hash code for this object- Overrides:
hashCode
in classExternalReferenceProperties
- Returns:
- int hash code
-