com.sun.jaw.reference.query
Class AndQueryExp

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

public class AndQueryExp
extends QueryExp

For internal use only.

This class is used by the query building mechanism to represent conjunctions of relational expressions. For internal use only.

See Also:
Serialized Form

Constructor Summary
AndQueryExp()
           
AndQueryExp(QueryExp q1, QueryExp q2)
           
 
Method Summary
 boolean apply(java.lang.Object mo)
           
 java.lang.String getClassVersion()
           
 QueryExp getLeftExp()
           
 QueryExp getRightExp()
           
 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

AndQueryExp

public AndQueryExp()

AndQueryExp

public AndQueryExp(QueryExp q1,
                   QueryExp q2)
Method Detail

getClassVersion

public java.lang.String getClassVersion()

getLeftExp

public QueryExp getLeftExp()

getRightExp

public QueryExp getRightExp()

apply

public boolean apply(java.lang.Object mo)
              throws BadStringOperationException,
                     BadBinaryOpExpressionException,
                     BadAttributeValueException,
                     InvalidApplicationException
Throws:
BadStringOperationException - The string passed to the method is invalid.
BadBinaryOpExpressionException - The expression passed to the method is invalid.
BadAttributeValueException - The attribute value passed to the method is invalid.
InvalidApplicationException - An attempt has been made to apply a subquery expression to a managed object or a qualified attribute expression to a managed object of the wrong class.
Overrides:
apply in class QueryExp

toString

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