Class ExternalReferenceRequestBody

java.lang.Object
org.odpi.openmetadata.accessservices.datamanager.properties.ExternalReferenceProperties
org.odpi.openmetadata.accessservices.datamanager.rest.ExternalReferenceRequestBody

public class ExternalReferenceRequestBody extends ExternalReferenceProperties
ExternalReferenceRequestBody describes the properties of the external reference plus the optional identifiers for an owning element.
  • Constructor Details

    • 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 Details

    • 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 class ExternalReferenceProperties
      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 class ExternalReferenceProperties
      Parameters:
      objectToCompare - test object
      Returns:
      result of comparison
    • hashCode

      public int hashCode()
      Return hash code for this object
      Overrides:
      hashCode in class ExternalReferenceProperties
      Returns:
      int hash code