org.apache.ojb.broker.query
Class FieldCriteria
java.lang.Object
org.apache.ojb.broker.query.SelectionCriteria
org.apache.ojb.broker.query.FieldCriteria
- All Implemented Interfaces:
- Serializable
public class FieldCriteria
- extends SelectionCriteria
Abstract superclass for Criteria using a field to compare with
- Version:
- $Id: FieldCriteria.java,v 1.1 2007-08-24 22:17:36 ewestfal Exp $
- Author:
- Jakob Braeuchi
- See Also:
- Serialized Form
| 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 |
protected boolean |
isBindable()
answer true if the selection criteria is bindable
BRJ: value null is bindable |
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, setBound, setNumberOfExtentsToBind, setValue, toString |
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()
isTranslateField
public boolean isTranslateField()
- Returns:
- true if field name should be translated into column name
getClause
public String getClause()
- Description copied from class:
SelectionCriteria
- Answer the SQL compare-clause for this criteria
- Specified by:
getClause in class SelectionCriteria
Copyright © 2004-2012 The Kuali Foundation. All Rights Reserved.