Class StringRequestBody

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

public class StringRequestBody extends Object
StringRequestBody is the request body structure used on OMAG REST API calls that passed a string.
  • Constructor Details

    • StringRequestBody

      public StringRequestBody()
      Default constructor
    • StringRequestBody

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

    • getString

      public String getString()
      Return the boolean result.
      Returns:
      string
    • setString

      public void setString(String string)
      Set up the boolean result.
      Parameters:
      string - string
    • toString

      public String toString()
      Standard toString method.
      Overrides:
      toString in class Object
      Returns:
      print out of variables in a JSON-style
    • equals

      public boolean equals(Object objectToCompare)
      Compare the values of the supplied object with those stored in the current object.
      Overrides:
      equals in class Object
      Parameters:
      objectToCompare - supplied object
      Returns:
      boolean result of comparison
    • hashCode

      public int hashCode()
      Create a hash code for this element type.
      Overrides:
      hashCode in class Object
      Returns:
      int hash code