org.apache.ojb.broker.query
Class FieldCriteria

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

public class FieldCriteria
extends SelectionCriteria

Abstract superclass for Criteria using a field to compare with

Version:
$Id: FieldCriteria.java 365232 2005-12-21 22:36:07Z tomdz $
Author:
Jakob Braeuchi
See Also:
Serialized Form

Method Summary
 java.lang.String getClause()
          Answer the SQL compare-clause for this criteria
 boolean isTranslateField()
           
 
Methods inherited from class org.apache.ojb.broker.query.SelectionCriteria
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

isTranslateField

public boolean isTranslateField()
Returns:
true if field name should be translated into column name

getClause

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

Specified by:
getClause in class SelectionCriteria


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