| java.lang.Object org.apache.ojb.broker.query.SelectionCriteria org.apache.ojb.broker.query.FieldCriteria
FieldCriteria | public class FieldCriteria extends SelectionCriteria (Code) | | Abstract superclass for Criteria using a field to compare with
author: Jakob Braeuchi version: $Id: FieldCriteria.java,v 1.9.2.1 2005/12/21 22:27:09 tomdz Exp $ |
Method Summary | |
static FieldCriteria | buildEqualToCriteria(Object anAttribute, Object aValue, UserAlias anAlias) | static FieldCriteria | buildGreaterCriteria(Object anAttribute, Object aValue, UserAlias anAlias) | static FieldCriteria | buildLessCriteria(Object anAttribute, Object aValue, UserAlias anAlias) | static FieldCriteria | buildNotEqualToCriteria(Object anAttribute, Object aValue, UserAlias anAlias) | static FieldCriteria | buildNotGreaterCriteria(Object anAttribute, Object aValue, UserAlias anAlias) | static FieldCriteria | buildNotLessCriteria(Object anAttribute, Object aValue, UserAlias anAlias) | public String | getClause() | protected boolean | isBindable() | public boolean | isTranslateField() | void | setTranslateField(boolean b) |
FieldCriteria | FieldCriteria(Object anAttribute, Object aValue, String aClause, UserAlias alias)(Code) | | Constructor declaration
Parameters: anAttribute - column- or fieldName Parameters: aValue - the value to compare with Parameters: negative - criteria is negated (ie NOT LIKE instead of LIKE) Parameters: alias - use alias to link anAttribute to |
isTranslateField | public boolean isTranslateField()(Code) | | true if field name should be translated into column name |
setTranslateField | void setTranslateField(boolean b)(Code) | | Parameters: b - |
|
|