Class LinkedExternalReferenceRequestBody
java.lang.Object
org.odpi.openmetadata.commonservices.ffdc.rest.ExternalReferenceRequestBody
org.odpi.openmetadata.commonservices.ffdc.rest.LinkedExternalReferenceRequestBody
-
Constructor Summary
ConstructorDescriptionDefault constructorCopy/clone constructor. -
Method Summary
Modifier and TypeMethodDescriptionboolean
Return comparison result based on the content of the properties.Return the link description.Return the link id.int
hashCode()
Return hash code for this objectvoid
setLinkDescription
(String linkDescription) Set up the link description.void
Set up the link id.toString()
JSON-style toStringMethods inherited from class org.odpi.openmetadata.commonservices.ffdc.rest.ExternalReferenceRequestBody
getAnchorGUID, getProperties, setAnchorGUID, setProperties
-
Constructor Details
-
LinkedExternalReferenceRequestBody
public LinkedExternalReferenceRequestBody()Default constructor -
LinkedExternalReferenceRequestBody
Copy/clone constructor.- Parameters:
template
- object to copy
-
-
Method Details
-
getLinkId
Return the link id.- Returns:
- string identifier
-
setLinkId
Set up the link id.- Parameters:
linkId
- string identifier
-
getLinkDescription
Return the link description.- Returns:
- string description
-
setLinkDescription
Set up the link description.- Parameters:
linkDescription
- string description
-
toString
JSON-style toString- Overrides:
toString
in classExternalReferenceRequestBody
- Returns:
- return string containing the property names and values
-
equals
Return comparison result based on the content of the properties.- Overrides:
equals
in classExternalReferenceRequestBody
- Parameters:
objectToCompare
- test object- Returns:
- result of comparison
-
hashCode
public int hashCode()Return hash code for this object- Overrides:
hashCode
in classExternalReferenceRequestBody
- Returns:
- int hash code
-