Class ValueCriteria

  extended by
      extended by
All Implemented Interfaces:
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%'

$Id: 365232 2005-12-21 22:36:07Z tomdz $
Jakob Braeuchi
See Also:
Serialized Form

Method Summary
 java.lang.String getClause()
          Answer the SQL compare-clause for this criteria
Methods inherited from class
bind, getAlias, getAttribute, getClassesForPath, getCriteria, getNumberOfExtentsToBind, getPathClasses, getQuery, getUserAlias, getValue, isBound, isTranslateAttribute, setAlias, setAlias, setAlias, setNumberOfExtentsToBind, toString
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait

Method Detail


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

Specified by:
getClause in class SelectionCriteria
See Also:

(C) 2002 - 2006 Apache Software Foundation
All rights reserved. Published under the Apache License 2.0.
Version: 1.0.4, 2005-12-30