java.lang.Object
org.odpi.openmetadata.accessservices.discoveryengine.rest.ODFOMASAPIRequestBody
org.odpi.openmetadata.accessservices.discoveryengine.rest.StatusRequestBody
All Implemented Interfaces:
Serializable

public class StatusRequestBody extends ODFOMASAPIRequestBody
StatusRequestBody provides a structure for passing the annotation status of an Annotation. This value is used to restrict the values that are returned.
See Also:
  • Constructor Summary

    Constructors
    Constructor
    Description
    Default constructor
    Copy/clone constructor
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    equals(Object objectToCompare)
    Equals method that returns true if containing properties are the same.
    org.odpi.openmetadata.frameworks.discovery.properties.AnnotationStatus
    Returns the stored qualified name property for the metadata entity.
    int
    Return hash code for this object
    void
    setAnnotationStatus(org.odpi.openmetadata.frameworks.discovery.properties.AnnotationStatus annotationStatus)
    Set up the fully qualified name.
    JSON-style toString.

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • StatusRequestBody

      public StatusRequestBody()
      Default constructor
    • StatusRequestBody

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

    • setAnnotationStatus

      public void setAnnotationStatus(org.odpi.openmetadata.frameworks.discovery.properties.AnnotationStatus annotationStatus)
      Set up the fully qualified name.
      Parameters:
      annotationStatus - String name
    • getAnnotationStatus

      public org.odpi.openmetadata.frameworks.discovery.properties.AnnotationStatus getAnnotationStatus()
      Returns the stored qualified name property for the metadata entity. If no qualified name is available then the empty string is returned.
      Returns:
      annotationStatus
    • toString

      public String toString()
      JSON-style toString.
      Overrides:
      toString in class ODFOMASAPIRequestBody
      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