ojb.broker.query
Class InCriteria

java.lang.Object
  |
  +--ojb.broker.query.SelectionCriteria
        |
        +--ojb.broker.query.InCriteria
All Implemented Interfaces:
java.io.Serializable

public class InCriteria
extends SelectionCriteria

SelectionCriteria for 'in (a,b,c..)'

See Also:
Serialized Form

Constructor Summary
(package private) InCriteria(java.lang.String anAttribute, java.lang.Object values, boolean negative)
          Constructor for InCriteria.
 
Method Summary
 java.lang.String getClause()
          Gets the clause.
 
Methods inherited from class ojb.broker.query.SelectionCriteria
bind, getAttribute, getO, getValue, isBound, isNegative, setBound, setO, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

InCriteria

InCriteria(java.lang.String anAttribute,
           java.lang.Object values,
           boolean negative)
Constructor for InCriteria.

Parameters:
anAttribute -
values - , the Collection of values
Method Detail

getClause

public java.lang.String getClause()
Gets the clause.

Specified by:
getClause in class SelectionCriteria
Returns:
Returns a String


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