org.apache.ojb.broker.query
Class NullCriteria

java.lang.Object
  extended by org.apache.ojb.broker.query.SelectionCriteria
      extended by org.apache.ojb.broker.query.ValueCriteria
          extended by org.apache.ojb.broker.query.NullCriteria
All Implemented Interfaces:
Serializable

public class NullCriteria
extends ValueCriteria

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

Version:
$Id: NullCriteria.java,v 1.1 2007-08-24 22:17:36 ewestfal Exp $
Author:
Jakob Braeuchi
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.apache.ojb.broker.query.SelectionCriteria
BETWEEN, EQUAL, GREATER, IN, IS_NULL, LESS, LIKE, NOT_BETWEEN, NOT_EQUAL, NOT_GREATER, NOT_IN, NOT_IS_NULL, NOT_LESS, NOT_LIKE
 
Method Summary
protected  boolean isBindable()
          answer true if the selection criteria is bindable BRJ: value null is bindable
 boolean isBound()
          BRJ : Used by the ODMG OQLQuery.bind() operation
 String toString()
          String representation
 
Methods inherited from class org.apache.ojb.broker.query.ValueCriteria
getClause
 
Methods inherited from class org.apache.ojb.broker.query.SelectionCriteria
bind, getAlias, getAttribute, getClassesForPath, getCriteria, getNumberOfExtentsToBind, getPathClasses, getQuery, getUserAlias, getValue, isTranslateAttribute, setAlias, setAlias, setAlias, setBound, setNumberOfExtentsToBind, setValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

toString

public String toString()
Description copied from class: SelectionCriteria
String representation

Overrides:
toString in class SelectionCriteria

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
See Also:
SelectionCriteria.isBound()

isBindable

protected boolean isBindable()
Description copied from class: SelectionCriteria
answer true if the selection criteria is bindable BRJ: value null is bindable

Overrides:
isBindable in class SelectionCriteria
See Also:
SelectionCriteria.isBindable()


Copyright © 2004-2012 The Kuali Foundation. All Rights Reserved.