Class ExternalReferenceLinkRequestBody

java.lang.Object
org.odpi.openmetadata.accessservices.datamanager.rest.DataManagerOMASAPIRequestBody
org.odpi.openmetadata.accessservices.datamanager.rest.ExternalReferenceLinkRequestBody
All Implemented Interfaces:
Serializable

public class ExternalReferenceLinkRequestBody extends DataManagerOMASAPIRequestBody
ExternalReferenceRequestBody describes the properties of the external reference plus the optional identifiers for an owning element.
See Also:
  • Constructor Details

    • ExternalReferenceLinkRequestBody

      public ExternalReferenceLinkRequestBody()
      Default constructor
    • ExternalReferenceLinkRequestBody

      public ExternalReferenceLinkRequestBody(ExternalReferenceLinkRequestBody template)
      Copy/clone constructor.
      Parameters:
      template - object to copy
  • Method Details

    • getLinkId

      public String getLinkId()
      Return the link id.
      Returns:
      string identifier
    • setLinkId

      public void setLinkId(String linkId)
      Set up the link id.
      Parameters:
      linkId - string identifier
    • getLinkDescription

      public String getLinkDescription()
      Return the link description.
      Returns:
      string description
    • setLinkDescription

      public void setLinkDescription(String linkDescription)
      Set up the link description.
      Parameters:
      linkDescription - string description
    • toString

      public String toString()
      JSON-style toString
      Overrides:
      toString in class DataManagerOMASAPIRequestBody
      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 Object
      Parameters:
      objectToCompare - test object
      Returns:
      result of comparison
    • hashCode

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