Class JDOBoolean
- java.lang.Object
-
- net.ontopia.persistence.query.jdo.JDOBoolean
-
- All Implemented Interfaces:
JDOExpressionIF
public class JDOBoolean extends Object implements JDOExpressionIF
INTERNAL: JDOQL boolean expression value: true or false.
-
-
Field Summary
Fields Modifier and Type Field Description static JDOBoolean
FALSE
static JDOBoolean
TRUE
protected boolean
value
-
Fields inherited from interface net.ontopia.persistence.query.jdo.JDOExpressionIF
AND, BOOLEAN, CONTAINS, ENDS_WITH, EQUALS, IS_EMPTY, LIKE, NOT, NOT_EQUALS, OR, SET_OPERATION, STARTS_WITH, VALUE_EXPRESSION
-
-
Constructor Summary
Constructors Constructor Description JDOBoolean(boolean value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
int
getType()
INTERNAL: Returns the type of JDO expression indicated by one of the constants in theJDOExpressionIF
interface.boolean
getValue()
int
hashCode()
String
toString()
void
visit(JDOVisitorIF visitor)
INTERNAL: Allows the value to be visited.
-
-
-
Field Detail
-
TRUE
public static final JDOBoolean TRUE
-
FALSE
public static final JDOBoolean FALSE
-
value
protected boolean value
-
-
Method Detail
-
getType
public int getType()
Description copied from interface:JDOExpressionIF
INTERNAL: Returns the type of JDO expression indicated by one of the constants in theJDOExpressionIF
interface.- Specified by:
getType
in interfaceJDOExpressionIF
-
getValue
public boolean getValue()
-
visit
public void visit(JDOVisitorIF visitor)
Description copied from interface:JDOExpressionIF
INTERNAL: Allows the value to be visited. This method is used for retrieval of nested data in expressions.- Specified by:
visit
in interfaceJDOExpressionIF
-
-