ojb.broker.query
Class NullCriteria

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

public class NullCriteria
extends SelectionCriteria

SelectionCriteria for 'is null' and 'is not null'

See Also:
Serialized Form

Constructor Summary
(package private) NullCriteria(java.lang.String anAttribute, boolean negative)
          Constructor for IsNullCriteria.
 
Method Summary
 java.lang.String getClause()
          Method declaration
 boolean isBound()
          BRJ : Used by the ODMG OQLQuery.bind() operation
 java.lang.String toString()
          Method declaration
 
Methods inherited from class ojb.broker.query.SelectionCriteria
bind, getAttribute, getO, getValue, isNegative, setBound, setO
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NullCriteria

NullCriteria(java.lang.String anAttribute,
             boolean negative)
Constructor for IsNullCriteria.

Parameters:
anAttribute -
Method Detail

toString

public java.lang.String toString()
Description copied from class: SelectionCriteria
Method declaration

Overrides:
toString in class SelectionCriteria
Returns:

getClause

public java.lang.String getClause()
Description copied from class: SelectionCriteria
Method declaration

Specified by:
getClause in class SelectionCriteria
Returns:

isBound

public boolean isBound()
Description copied from class: SelectionCriteria
BRJ : Used by the ODMG OQLQuery.bind() operation

Overrides:
isBound in class SelectionCriteria
Returns:
Returns a boolean indicator


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