public interface NotNode extends LogicalOperatorNode, java.io.Serializable
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");
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT |
getSubNodes
static final java.lang.String COPYRIGHT