Class JDOSetOperation
- java.lang.Object
-
- net.ontopia.persistence.query.jdo.JDOSetOperation
-
- All Implemented Interfaces:
JDOExpressionIF
public class JDOSetOperation extends Object implements JDOExpressionIF
INTERNAL: JDOQL set operation.
-
-
Field Summary
Fields Modifier and Type Field Description static intEXCEPTstatic intEXCEPT_ALLstatic intINTERSECTstatic intINTERSECT_ALLprotected intoperatorprotected Listsetsstatic intUNIONstatic intUNION_ALL-
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 JDOSetOperation(List sets, int operator)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetOperator()ListgetSets()intgetType()INTERNAL: Returns the type of JDO expression indicated by one of the constants in theJDOExpressionIFinterface.StringtoString()voidvisit(JDOVisitorIF visitor)INTERNAL: Allows the value to be visited.
-
-
-
Field Detail
-
UNION
public static final int UNION
- See Also:
- Constant Field Values
-
UNION_ALL
public static final int UNION_ALL
- See Also:
- Constant Field Values
-
INTERSECT
public static final int INTERSECT
- See Also:
- Constant Field Values
-
INTERSECT_ALL
public static final int INTERSECT_ALL
- See Also:
- Constant Field Values
-
EXCEPT
public static final int EXCEPT
- See Also:
- Constant Field Values
-
EXCEPT_ALL
public static final int EXCEPT_ALL
- See Also:
- Constant Field Values
-
sets
protected List sets
-
operator
protected int operator
-
-
Constructor Detail
-
JDOSetOperation
public JDOSetOperation(List sets, int operator)
-
-
Method Detail
-
getOperator
public int getOperator()
-
getSets
public List getSets()
-
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
-
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
-
-