com.ibm.websphere.brb.query
Class ClassifierNode
java.lang.Object
|
+--com.ibm.websphere.brb.query.QueryNode
|
+--com.ibm.websphere.brb.query.AttributeNode
|
+--com.ibm.websphere.brb.query.ClassifierNode
- All Implemented Interfaces:
- java.io.Serializable
- public class ClassifierNode
- extends AttributeNode
Allows the classifier
attribute of a rule to be queried.
A ClassifierNode
is given a boolean that indicates
whether to search for rules that classify (true
) or to
search for rules that do not classify (false
).
The following example finds all rules that classify true:
IRuleFolder root = RuleMgmtHelper.getRootFolder();
ClassifierNode node = new ClassifierNode(true);
Collection collection = root.findRules(node, true, IRule.TYPE_REFERENCE);
These nodes can be combined with other QueryNode
s by using an AndNode
or
an OrNode
.
- See Also:
- Serialized Form
Constructor Summary |
ClassifierNode(boolean classifyIn)
Constructs a ClassifierNode that searches
the classifier field either for rules that
classify (true) or for rules that do not classify (false) |
Method Summary |
void |
buildWhereClause(java.lang.StringBuffer sb,
java.util.Vector boundAttributes)
FOR IBM INTERNAL USE ONLY. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ClassifierNode
public ClassifierNode(boolean classifyIn)
- Constructs a
ClassifierNode
that searches
the classifier
field either for rules that
classify (true) or for rules that do not classify (false)
- Parameters:
classifyIn
- indicates whether to find rules that classify or find rules that do not classify
buildWhereClause
public void buildWhereClause(java.lang.StringBuffer sb,
java.util.Vector boundAttributes)
- FOR IBM INTERNAL USE ONLY.