IBM WebSphere Application ServerTM
Release 7

com.ibm.wbiserver.brules.mgmt.query
Interface AndNode

All Superinterfaces:
LogicalOperatorNode, QueryNode, java.io.Serializable

public interface AndNode
extends LogicalOperatorNode, java.io.Serializable

This interface represents a logical AND operation for a query. The result of performing the query represented by an AndNode is be the set of all objects whose properties match all of the queries specified by all of the sub-nodes of the AndNode.

Here is an example:

    // Find business rule groups where the value of property "Department" is "Marketing" and
    // the value of property "Region" is "Midwest".
    PropertyQueryNode leftNode = QueryNodeFactory.createPropertyQueryNode("Department", QueryOperator.EQUAL, "Marketing");
    PropertyQueryNode rightNode = QueryNodeFactory.createPropertyQueryNode("Region", QueryOperator.EQUAL, "Midwest");
    AndNode rootNode = QueryNodeFactory.createAndNode(leftNode, rightNode);
 


Field Summary
static java.lang.String COPYRIGHT
           
 
Method Summary
 
Methods inherited from interface com.ibm.wbiserver.brules.mgmt.query.LogicalOperatorNode
getSubNodes
 

Field Detail

COPYRIGHT

static final java.lang.String COPYRIGHT
See Also:
Constant Field Values

IBM WebSphere Application ServerTM
Release 7