Class BooleanRequestBody
- java.lang.Object
-
- org.odpi.openmetadata.commonservices.ffdc.rest.BooleanRequestBody
-
- All Implemented Interfaces:
Serializable
public class BooleanRequestBody extends Object implements Serializable
BooleanRequestBody is the request body structure used on OMAG REST API calls that passed a boolean flag.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description BooleanRequestBody()Default constructorBooleanRequestBody(BooleanRequestBody 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.inthashCode()Create a hash code for this element type.booleanisFlag()Return the boolean result.voidsetFlag(boolean flag)Set up the boolean result.StringtoString()Standard toString method.
-
-
-
Constructor Detail
-
BooleanRequestBody
public BooleanRequestBody()
Default constructor
-
BooleanRequestBody
public BooleanRequestBody(BooleanRequestBody template)
Copy/clone constructor- Parameters:
template- object to copy
-
-
Method Detail
-
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
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.
-
-