treeBuilder
Class tbConstraint

java.lang.Object
  |
  +--treeBuilder.tbConstraint

public class tbConstraint
extends java.lang.Object

a constraint of the form tbItem tbItem or tbItem LIKE tbItem


Field Summary
static int EQ
           
static int ERROR
           
static int GE
           
static int GT
           
static int JOIN
           
static int LE
           
 tbItem left
           
static int LG
           
static int LIKE
           
static int LOCAL
           
static int LT
           
static int NE
           
static int NOTLIKE
           
 int operator
           
(package private) static java.lang.String[] opNames
           
 tbItem right
           
 int type
           
 
Constructor Summary
tbConstraint()
           
 
Method Summary
 boolean equals(tbConstraint other)
          we define that two tbConstraints are equal if their toString-representations are equal.
 java.lang.String getOperator()
           
 java.lang.String toString()
          function is complicated to prevent infinite loops with the toString-function of "tbFromItem"
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, wait, wait, wait
 

Field Detail

EQ

public static final int EQ

NE

public static final int NE

LG

public static final int LG

GT

public static final int GT

GE

public static final int GE

LT

public static final int LT

LE

public static final int LE

LIKE

public static final int LIKE

NOTLIKE

public static final int NOTLIKE

ERROR

public static final int ERROR

LOCAL

public static final int LOCAL

JOIN

public static final int JOIN

left

public tbItem left

operator

public int operator

right

public tbItem right

type

public int type

opNames

static final java.lang.String[] opNames
Constructor Detail

tbConstraint

public tbConstraint()
Method Detail

getOperator

public java.lang.String getOperator()

equals

public boolean equals(tbConstraint other)
we define that two tbConstraints are equal if their toString-representations are equal. Should be okay for this purpose.

toString

public java.lang.String toString()
function is complicated to prevent infinite loops with the toString-function of "tbFromItem"
Overrides:
toString in class java.lang.Object