org.apache.ojb.broker.query
Class SearchFilter.SearchBaseNode

java.lang.Object
  extended byorg.apache.ojb.broker.query.SearchFilter.SearchBase
      extended byorg.apache.ojb.broker.query.SearchFilter.SearchBaseNode
Enclosing class:
SearchFilter

protected class SearchFilter.SearchBaseNode
extends SearchFilter.SearchBase

Define the class to represent a node of the search tree This class holds an operator and a vector other nodes.


Field Summary
 java.util.Vector nodes
           
 
Fields inherited from class org.apache.ojb.broker.query.SearchFilter.SearchBase
oper
 
Constructor Summary
(package private) SearchFilter.SearchBaseNode(int oper, java.lang.Object filter, java.util.Vector new_filters)
          Constructor for a specific filter and a vector of new ones.
(package private) SearchFilter.SearchBaseNode(int oper, java.util.Vector new_filters)
          Constructor.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

nodes

public java.util.Vector nodes
Constructor Detail

SearchFilter.SearchBaseNode

SearchFilter.SearchBaseNode(int oper,
                            java.util.Vector new_filters)
Constructor. Store a list of filters and an operator for combining them.

Parameters:
oper - is the operator (IN or NOT_IN) to be used for the comparison
new_filters - is a vector of filters to be combined

SearchFilter.SearchBaseNode

SearchFilter.SearchBaseNode(int oper,
                            java.lang.Object filter,
                            java.util.Vector new_filters)
Constructor for a specific filter and a vector of new ones. Store a list of filters and an operator for combining them.

Parameters:
oper - is the operator (IN or NOT_IN) to be used for the comparison
filter - is the first filter to be combined
new_filters - is a vector of filters to be combined


Authors: Thomas Mahler and others. (C) 2000 - 2003 Apache Software Foundation
All rights reserved. Published under the Apache License.
http://db.apache.org/ojb
Version: 1.0.rc5, 2003-12-14