Class ExternalReferenceLinkRequestBody

java.lang.Object
org.odpi.openmetadata.commonservices.ffdc.rest.ExternalReferenceLinkRequestBody

public class ExternalReferenceLinkRequestBody extends Object
ExternalReferenceRequestBody describes the properties of the external reference plus the optional identifiers for an owning element.
  • 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 Object
      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