org.apache.jdo.impl.jdoql.jdoqlc
Class VariableChecker.VarInfo

java.lang.Object
  extended byorg.apache.jdo.impl.jdoql.jdoqlc.VariableChecker.VarInfo
Enclosing class:
VariableChecker

static class VariableChecker.VarInfo
extends java.lang.Object

A VarInfo consists of two info fields: - constraint: the variable is constraint with the specified expr - used: the variable is used


Field Summary
(package private) static int CHECKED
           
(package private)  JDOQLAST constraint
          The constraint expression.
(package private)  java.lang.String dependsOn
          Dependency for this variable.
(package private) static int IN_PROGRESS
           
(package private)  int status
          Flag whether this varInfo is checked already (see checkConstraints)
(package private) static int UNCHECKED
           
(package private)  java.util.Set used
          Set of JDOQLAST nodes denoting an access of this variable.
 
Constructor Summary
(package private) VariableChecker.VarInfo()
           
(package private) VariableChecker.VarInfo(VariableChecker.VarInfo other)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

constraint

JDOQLAST constraint
The constraint expression.


used

java.util.Set used
Set of JDOQLAST nodes denoting an access of this variable.


dependsOn

java.lang.String dependsOn
Dependency for this variable. The constraint for this variable may use another variable.


status

int status
Flag whether this varInfo is checked already (see checkConstraints)


UNCHECKED

static final int UNCHECKED
See Also:
Constant Field Values

IN_PROGRESS

static final int IN_PROGRESS
See Also:
Constant Field Values

CHECKED

static final int CHECKED
See Also:
Constant Field Values
Constructor Detail

VariableChecker.VarInfo

VariableChecker.VarInfo()

VariableChecker.VarInfo

VariableChecker.VarInfo(VariableChecker.VarInfo other)