Class ExternalReferenceRequestBody
- java.lang.Object
-
- org.odpi.openmetadata.accessservices.datamanager.properties.ExternalReferenceProperties
-
- org.odpi.openmetadata.accessservices.datamanager.rest.ExternalReferenceRequestBody
-
- All Implemented Interfaces:
Serializable
public class ExternalReferenceRequestBody extends ExternalReferenceProperties
ExternalReferenceRequestBody describes the properties of the external reference plus the optional identifiers for an owning element.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ExternalReferenceRequestBody()
Default constructorExternalReferenceRequestBody(ExternalReferenceProperties template)
Copy/clone constructor.ExternalReferenceRequestBody(ExternalReferenceRequestBody template)
Copy/clone constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object objectToCompare)
Return comparison result based on the content of the properties.String
getAnchorGUID()
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.String
toString()
JSON-style toString-
Methods 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 Detail
-
ExternalReferenceRequestBody
public ExternalReferenceRequestBody()
Default constructor
-
ExternalReferenceRequestBody
public ExternalReferenceRequestBody(ExternalReferenceRequestBody template)
Copy/clone constructor.- Parameters:
template
- object to copy
-
ExternalReferenceRequestBody
public ExternalReferenceRequestBody(ExternalReferenceProperties template)
Copy/clone constructor.- Parameters:
template
- object to copy
-
-
Method Detail
-
getAnchorGUID
public String getAnchorGUID()
Return the unique identifier of the element that this is to be attached to.- Returns:
- string guid
-
setAnchorGUID
public void setAnchorGUID(String anchorGUID)
Set up the unique identifier of the element that this is to be attached to.- Parameters:
anchorGUID
- string guid
-
toString
public String toString()
JSON-style toString- Overrides:
toString
in classExternalReferenceProperties
- Returns:
- return string containing the property names and values
-
equals
public boolean equals(Object objectToCompare)
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
-
-