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 int
EXCEPT
static int
EXCEPT_ALL
static int
INTERSECT
static int
INTERSECT_ALL
protected int
operator
protected List
sets
static int
UNION
static int
UNION_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 int
getOperator()
List
getSets()
int
getType()
INTERNAL: Returns the type of JDO expression indicated by one of the constants in theJDOExpressionIF
interface.String
toString()
void
visit(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:JDOExpressionIF
INTERNAL: Returns the type of JDO expression indicated by one of the constants in theJDOExpressionIF
interface.- Specified by:
getType
in interfaceJDOExpressionIF
-
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
-
-