ojb.broker.query
Class SearchFilter.SearchBaseLeaf
java.lang.Object
|
+--ojb.broker.query.SearchFilter.SearchBase
|
+--ojb.broker.query.SearchFilter.SearchBaseLeaf
- Enclosing class:
- SearchFilter
- protected class SearchFilter.SearchBaseLeaf
- extends SearchFilter.SearchBase
SearchBaseLeaf holds a leaf of the search tree
This class holds an element name, and a vector of possible matches.
It searches for an element of the given name that matches at least
one of the strings in the array (IN), or does not match any (NOT_IN)
Constructor Summary |
(package private) |
SearchFilter.SearchBaseLeaf(java.lang.String ElementName,
int oper,
java.lang.String match)
Constructor for only one value. |
(package private) |
SearchFilter.SearchBaseLeaf(java.lang.String ElementName,
int oper,
java.lang.String[] matches)
Constructor. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
elementName
public java.lang.String elementName
matches
public java.lang.String[] matches
SearchFilter.SearchBaseLeaf
SearchFilter.SearchBaseLeaf(java.lang.String ElementName,
int oper,
java.lang.String[] matches)
- Constructor.
- Parameters:
ElementName
- is the name of the element to be testedoper
- is the operator (IN or NOT_IN) to be used for the comparisonmatches
- is an array of String values to be matched
SearchFilter.SearchBaseLeaf
SearchFilter.SearchBaseLeaf(java.lang.String ElementName,
int oper,
java.lang.String match)
- Constructor for only one value.
- Parameters:
ElementName
- is the name of the element to be testedoper
- is the operator (IN or NOT_IN) to be used for the comparisonmatch
- is a string value to be matched
Authors: Thomas Mahler and others. (C) 2000, 2001.
All rights reserved. Published under the Gnu Public License.
http://objectbridge.sourceforge.net
Version: 0.8.375, 2002-04-04