public class JDOBoolean extends Object implements JDOExpressionIF
Modifier and Type | Field and Description |
---|---|
static JDOBoolean |
FALSE |
static JDOBoolean |
TRUE |
protected boolean |
value |
AND, BOOLEAN, CONTAINS, ENDS_WITH, EQUALS, IS_EMPTY, LIKE, NOT, NOT_EQUALS, OR, SET_OPERATION, STARTS_WITH, VALUE_EXPRESSION
Constructor and Description |
---|
JDOBoolean(boolean value) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
int |
getType()
INTERNAL: Returns the type of JDO expression indicated by one of
the constants in the
JDOExpressionIF interface. |
boolean |
getValue() |
int |
hashCode() |
String |
toString() |
void |
visit(JDOVisitorIF visitor)
INTERNAL: Allows the value to be visited.
|
public static final JDOBoolean TRUE
public static final JDOBoolean FALSE
protected boolean value
public int getType()
JDOExpressionIF
JDOExpressionIF
interface.getType
in interface JDOExpressionIF
public boolean getValue()
public void visit(JDOVisitorIF visitor)
JDOExpressionIF
visit
in interface JDOExpressionIF