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)


Field Summary
 java.lang.String elementName
           
 int[] matches
           
 
Fields inherited from class ojb.broker.query.SearchFilter.SearchBase
oper
 
Constructor Summary
(package private) SearchFilter.SearchBaseLeafInt(java.lang.String ElementName, int oper, int match)
          Constructor for only one value.
(package private) SearchFilter.SearchBaseLeafInt(java.lang.String ElementName, int oper, int[] matches)
          Constructor.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

elementName

public java.lang.String elementName

matches

public int[] matches
Constructor Detail

SearchFilter.SearchBaseLeafInt

SearchFilter.SearchBaseLeafInt(java.lang.String ElementName,
                               int oper,
                               int[] matches)
Constructor.

Parameters:
ElementName - is the name of the element to be tested
oper - is the operator (IN or NOT_IN) to be used for the comparison
matches - 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 tested
oper - is the operator (IN or NOT_IN) to be used for the comparison
match - 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