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 booleanequals(Object objectToCompare)Return comparison result based on the content of the properties.StringgetAnchorGUID()Return the unique identifier of the element that this is to be attached to.StringgetLinkDescription()Return the link description.StringgetLinkId()Return the link id.inthashCode()Return hash code for this objectvoidsetAnchorGUID(String anchorGUID)Set up the unique identifier of the element that this is to be attached to.voidsetLinkDescription(String linkDescription)Set up the link description.voidsetLinkId(String linkId)Set up the link id.StringtoString()JSON-style toString-
Methods inherited from class org.odpi.openmetadata.accessservices.datamanager.properties.ExternalReferenceProperties
getAdditionalProperties, getExtendedProperties, getOwningOrganization, getResourceDescription, getResourceDisplayName, getResourceId, getResourceURL, getResourceVersion, getTypeName, setAdditionalProperties, setExtendedProperties, 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
-
getLinkId
public String getLinkId()
Return the link id.- Overrides:
getLinkIdin classExternalReferenceProperties- Returns:
- string identifier
-
setLinkId
public void setLinkId(String linkId)
Set up the link id.- Overrides:
setLinkIdin classExternalReferenceProperties- Parameters:
linkId- string identifier
-
getLinkDescription
public String getLinkDescription()
Return the link description.- Overrides:
getLinkDescriptionin classExternalReferenceProperties- Returns:
- string description
-
setLinkDescription
public void setLinkDescription(String linkDescription)
Set up the link description.- Overrides:
setLinkDescriptionin classExternalReferenceProperties- Parameters:
linkDescription- string description
-
toString
public String toString()
JSON-style toString- Overrides:
toStringin 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:
equalsin classExternalReferenceProperties- Parameters:
objectToCompare- test object- Returns:
- result of comparison
-
hashCode
public int hashCode()
Return hash code for this object- Overrides:
hashCodein classExternalReferenceProperties- Returns:
- int hash code
-
-