Class BooleanRequestBody
java.lang.Object
org.odpi.openmetadata.commonservices.ffdc.rest.BooleanRequestBody
BooleanRequestBody is the request body structure used on OMAG REST API calls that passed a boolean flag.
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructorBooleanRequestBody(BooleanRequestBody template) Copy/clone constructor -
Method Summary
Modifier and TypeMethodDescriptionbooleanCompare the values of the supplied object with those stored in the current object.inthashCode()Create a hash code for this element type.booleanisFlag()Return the boolean result.voidsetFlag(boolean flag) Set up the boolean result.toString()Standard toString method.
-
Constructor Details
-
BooleanRequestBody
public BooleanRequestBody()Default constructor -
BooleanRequestBody
Copy/clone constructor- Parameters:
template- object to copy
-
-
Method Details
-
isFlag
public boolean isFlag()Return the boolean result.- Returns:
- boolean
-
setFlag
public void setFlag(boolean flag) Set up the boolean result.- Parameters:
flag- boolean
-
toString
Standard toString method. -
equals
Compare the values of the supplied object with those stored in the current object. -
hashCode
public int hashCode()Create a hash code for this element type.
-