com.ibm.wbiserver.brules.mgmt.query

Interface NotNode

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

  1. public interface NotNode
  2. extends LogicalOperatorNode, java.io.Serializable
This interface represents a logical NOT operation for a query. The logical NOT operation can be applied to any of the other query nodes. The result of calling the performQuery method on a NotNode is the set of all business rule groups whose properties do not match the query specified by the sub-node of the NotNode.

Here is an example:

    // Find all business rule groups where the value of property "Region" is not equal to
    // "East".
    PropertyQueryNode propertyNode = QueryNodeFactory.createPropertyQueryNode("Region", QueryOperator.EQUAL, "East");
    NotNode notNode = QueryNodeFactory.createNotNode(propertyNode);
 
Note that this is the same as doing the following:
    PropertyQueryNode propertyNode = QueryNodeFactory.createPropertyQueryNode("Region", QueryOperator.NOT_EQUAL, "East");
 

Field Summary

Modifier and Type Field and Description
  1. static
  2. java.lang.String
COPYRIGHT

Method Summary

Methods inherited from interface com.ibm.wbiserver.brules.mgmt.query.LogicalOperatorNode
getSubNodes

Field Detail

  1. static final java.lang.String COPYRIGHT
See Also: