Class StringRequestBody
- java.lang.Object
-
- org.odpi.openmetadata.commonservices.ffdc.rest.StringRequestBody
-
- All Implemented Interfaces:
Serializable
public class StringRequestBody extends Object implements Serializable
StringRequestBody is the request body structure used on OMAG REST API calls that passed a string.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description StringRequestBody()Default constructorStringRequestBody(StringRequestBody template)Copy/clone constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object objectToCompare)Compare the values of the supplied object with those stored in the current object.StringgetString()Return the boolean result.inthashCode()Create a hash code for this element type.voidsetString(String string)Set up the boolean result.StringtoString()Standard toString method.
-
-
-
Constructor Detail
-
StringRequestBody
public StringRequestBody()
Default constructor
-
StringRequestBody
public StringRequestBody(StringRequestBody template)
Copy/clone constructor- Parameters:
template- object to copy
-
-
Method Detail
-
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.
-
equals
public boolean equals(Object objectToCompare)
Compare the values of the supplied object with those stored in the current object.
-
-