Class ExternalReferenceRequestBody

java.lang.Object
org.odpi.openmetadata.accessservices.governanceprogram.rest.GovernanceProgramOMASAPIRequestBody
org.odpi.openmetadata.accessservices.governanceprogram.rest.ExternalReferenceRequestBody
All Implemented Interfaces:
Serializable

public class ExternalReferenceRequestBody extends GovernanceProgramOMASAPIRequestBody
ExternalReferenceRequestBody provides a structure for a new ExternalReference.
See Also:
  • Constructor Details

    • ExternalReferenceRequestBody

      public ExternalReferenceRequestBody()
      Default constructor
    • ExternalReferenceRequestBody

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

    • getAnchorGUID

      public String getAnchorGUID()
      Return the optional anchor unique identifier.
      Returns:
      String guid
    • setAnchorGUID

      public void setAnchorGUID(String guid)
      Set up the optional anchor unique identifier.
      Parameters:
      guid - String guid
    • getProperties

      public ExternalReferenceProperties getProperties()
      Return the properties for this external reference.
      Returns:
      date
    • setProperties

      public void setProperties(ExternalReferenceProperties properties)
      Set up the properties for this external reference.
      Parameters:
      properties - date
    • toString

      public String toString()
      JSON-style toString.
      Overrides:
      toString in class GovernanceProgramOMASAPIRequestBody
      Returns:
      list of properties and their values.
    • equals

      public boolean equals(Object objectToCompare)
      Equals method that returns true if containing properties are the same.
      Overrides:
      equals in class Object
      Parameters:
      objectToCompare - object to compare
      Returns:
      boolean result of comparison
    • hashCode

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