Class ExternalReferenceRequestBody
- java.lang.Object
-
- org.odpi.openmetadata.accessservices.assetmanager.rest.ExternalReferenceRequestBody
-
- All Implemented Interfaces:
Serializable
public class ExternalReferenceRequestBody extends Object implements Serializable
ExternalReferenceRequestBody describes the request body used to create/update external reference properties.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ExternalReferenceRequestBody()Default constructorExternalReferenceRequestBody(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()Set up an optional anchor GUID for the new external reference.ExternalReferencePropertiesgetElementProperties()Return the properties for the element.MetadataCorrelationPropertiesgetMetadataCorrelationProperties()Return the properties used to correlate the external metadata element with the open metadata 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.voidsetMetadataCorrelationProperties(MetadataCorrelationProperties metadataCorrelationProperties)Set up the properties used to correlate the external metadata element with the open metadata element.StringtoString()JSON-style toString
-
-
-
Constructor Detail
-
ExternalReferenceRequestBody
public ExternalReferenceRequestBody()
Default constructor
-
ExternalReferenceRequestBody
public ExternalReferenceRequestBody(ExternalReferenceRequestBody template)
Copy/clone constructor.- Parameters:
template- object to copy
-
-
Method Detail
-
getMetadataCorrelationProperties
public MetadataCorrelationProperties getMetadataCorrelationProperties()
Return the properties used to correlate the external metadata element with the open metadata element.- Returns:
- properties object
-
setMetadataCorrelationProperties
public void setMetadataCorrelationProperties(MetadataCorrelationProperties metadataCorrelationProperties)
Set up the properties used to correlate the external metadata element with the open metadata element.- Parameters:
metadataCorrelationProperties- properties object
-
getElementProperties
public ExternalReferenceProperties getElementProperties()
Return the properties for the element.- Returns:
- properties object
-
setElementProperties
public void setElementProperties(ExternalReferenceProperties elementProperties)
Set up the properties for the element.- Parameters:
elementProperties- properties object
-
getAnchorGUID
public String 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
public void setAnchorGUID(String anchorGUID)
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
public String toString()
JSON-style toString
-
equals
public boolean equals(Object objectToCompare)
Return comparison result based on the content of the properties.
-
-