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 JDOBooleanFALSEstatic JDOBooleanTRUEprotected booleanvalue-
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 booleanequals(Object obj)intgetType()INTERNAL: Returns the type of JDO expression indicated by one of the constants in theJDOExpressionIFinterface.booleangetValue()inthashCode()StringtoString()voidvisit(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:JDOExpressionIFINTERNAL: Returns the type of JDO expression indicated by one of the constants in theJDOExpressionIFinterface.- Specified by:
getTypein interfaceJDOExpressionIF
-
getValue
public boolean getValue()
-
visit
public void visit(JDOVisitorIF visitor)
Description copied from interface:JDOExpressionIFINTERNAL: Allows the value to be visited. This method is used for retrieval of nested data in expressions.- Specified by:
visitin interfaceJDOExpressionIF
-
-