com.sun.jaw.reference.query
Class BinaryOpExpression

java.lang.Object
  |
  +--com.sun.jaw.reference.query.QueryEval
        |
        +--com.sun.jaw.reference.query.ValueExp
              |
              +--com.sun.jaw.reference.query.BinaryOpExpression

public class BinaryOpExpression
extends ValueExp

For internal use only.

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

For internal use only.

See Also:
Serialized Form

Constructor Summary
BinaryOpExpression()
           
BinaryOpExpression(int o, ValueExp v1, ValueExp v2)
           
 
Method Summary
 ValueExp 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

BinaryOpExpression

public BinaryOpExpression(int o,
                          ValueExp v1,
                          ValueExp v2)

BinaryOpExpression

public BinaryOpExpression()
Method Detail

getClassVersion

public java.lang.String getClassVersion()

getOperator

public int getOperator()

getLeftValue

public ValueExp getLeftValue()

getRightValue

public ValueExp getRightValue()

apply

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

toString

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