com.sun.jaw.reference.query
Class BinaryRelQueryExp

java.lang.Object
  |
  +--com.sun.jaw.reference.query.QueryEval
        |
        +--com.sun.jaw.reference.query.QueryExp
              |
              +--com.sun.jaw.reference.query.BinaryRelQueryExp

public class BinaryRelQueryExp
extends QueryExp

For internal use only.

This class is used by the query-building mechanism to represent binary relations.

For internal use only.

See Also:
Serialized Form

Constructor Summary
BinaryRelQueryExp()
           
BinaryRelQueryExp(int op, ValueExp v1, ValueExp v2)
           
 
Method Summary
 boolean apply(java.lang.Object mo)
           
 java.lang.String getClassVersion()
           
 ValueExp getLeftValue()
           
 int getOperator()
           
 ValueExp getRightValue()
           
 java.lang.String toString()
           
 
Methods inherited from class com.sun.jaw.reference.query.QueryEval
setFramework
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BinaryRelQueryExp

public BinaryRelQueryExp(int op,
                         ValueExp v1,
                         ValueExp v2)

BinaryRelQueryExp

public BinaryRelQueryExp()
Method Detail

getClassVersion

public java.lang.String getClassVersion()

getOperator

public int getOperator()

getLeftValue

public ValueExp getLeftValue()

getRightValue

public ValueExp getRightValue()

apply

public boolean apply(java.lang.Object mo)
              throws BadStringOperationException,
                     BadBinaryOpExpressionException,
                     BadAttributeValueException,
                     InvalidApplicationException
Overrides:
apply in class QueryExp

toString

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