org.apache.ojb.broker.query
Class ValueCriteria

java.lang.Object
  extended by org.apache.ojb.broker.query.SelectionCriteria
      extended by org.apache.ojb.broker.query.ValueCriteria
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
BetweenCriteria, InCriteria, LikeCriteria, NullCriteria

public class ValueCriteria
extends SelectionCriteria

Models a Criteria comparing an attribute to a value
ie: name = 'Mark' , name like 'M%'

Version:
$Id: ValueCriteria.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
 String getClause()
          Answer the SQL compare-clause for this criteria
 
Methods inherited from class org.apache.ojb.broker.query.SelectionCriteria
bind, getAlias, getAttribute, getClassesForPath, getCriteria, getNumberOfExtentsToBind, getPathClasses, getQuery, getUserAlias, getValue, isBindable, isBound, isTranslateAttribute, setAlias, setAlias, setAlias, setBound, setNumberOfExtentsToBind, setValue, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getClause

public String getClause()
Description copied from class: SelectionCriteria
Answer the SQL compare-clause for this criteria

Specified by:
getClause in class SelectionCriteria
See Also:
SelectionCriteria.getClause()


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