ojb.broker.query
Class SearchFilter.SearchBaseLeafInt
java.lang.Object
|
+--ojb.broker.query.SearchFilter.SearchBase
|
+--ojb.broker.query.SearchFilter.SearchBaseLeafInt
- Enclosing class:
- SearchFilter
- protected class SearchFilter.SearchBaseLeafInt
- extends SearchFilter.SearchBase
SearchBaseLeafInt holds a leaf of the search tree with integers
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 integers in the array (IN), or does not match any (NOT_IN)
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 int[] matches
SearchFilter.SearchBaseLeafInt
SearchFilter.SearchBaseLeafInt(java.lang.String ElementName,
int oper,
int[] 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 integer values to be matched
SearchFilter.SearchBaseLeafInt
SearchFilter.SearchBaseLeafInt(java.lang.String ElementName,
int oper,
int 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 an int 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