net.ontopia.persistence.query.jdo
Class JDOSetOperation

java.lang.Object
  extended by net.ontopia.persistence.query.jdo.JDOSetOperation
All Implemented Interfaces:
JDOExpressionIF

public class JDOSetOperation
extends java.lang.Object
implements JDOExpressionIF

INTERNAL: JDOQL set operation.


Field Summary
static int EXCEPT
           
static int EXCEPT_ALL
           
static int INTERSECT
           
static int INTERSECT_ALL
           
protected  int operator
           
protected  java.util.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
JDOSetOperation(java.util.List sets, int operator)
           
 
Method Summary
 int getOperator()
           
 java.util.List getSets()
           
 int getType()
          INTERNAL: Returns the type of JDO expression indicated by one of the constants in the JDOExpressionIF interface.
 java.lang.String toString()
           
 void visit(JDOVisitorIF visitor)
          INTERNAL: Allows the value to be visited.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

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 java.util.List sets

operator

protected int operator
Constructor Detail

JDOSetOperation

public JDOSetOperation(java.util.List sets,
                       int operator)
Method Detail

getOperator

public int getOperator()

getSets

public java.util.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 the JDOExpressionIF interface.

Specified by:
getType in interface JDOExpressionIF

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

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 interface JDOExpressionIF


Copyright © 2000-2012 Ontopia.