Class StatusRequestBody

java.lang.Object
org.odpi.openmetadata.accessservices.assetowner.rest.AssetOwnerOMASAPIRequestBody
org.odpi.openmetadata.accessservices.assetowner.rest.StatusRequestBody

public class StatusRequestBody extends AssetOwnerOMASAPIRequestBody
StatusRequestBody provides a structure for passing the annotation status of an Annotation. This value is used to restrict the values that are returned.
  • 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(AnnotationStatus annotationStatus)
      Set up the fully qualified name.
      Parameters:
      annotationStatus - String name
    • getAnnotationStatus

      public 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 AssetOwnerOMASAPIRequestBody
      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