| java.lang.Object org.apache.ojb.broker.query.SelectionCriteria org.apache.ojb.broker.query.ValueCriteria
All known Subclasses: org.apache.ojb.broker.query.InCriteria, org.apache.ojb.broker.query.BetweenCriteria, org.apache.ojb.broker.query.NullCriteria, org.apache.ojb.broker.query.LikeCriteria,
ValueCriteria | public class ValueCriteria extends SelectionCriteria (Code) | | Models a Criteria comparing an attribute to a value
ie: name = 'Mark' , name like 'M%'
author: Jakob Braeuchi version: $Id: ValueCriteria.java,v 1.8.2.3 2005/12/21 22:27:09 tomdz Exp $ |
Method Summary | |
static BetweenCriteria | buildBeweenCriteria(Object anAttribute, Object aValue1, Object aValue2, String anAlias) | static BetweenCriteria | buildBeweenCriteria(Object anAttribute, Object aValue1, Object aValue2, UserAlias anAlias) | static ValueCriteria | buildEqualToCriteria(Object anAttribute, Object aValue, String anAlias) | static ValueCriteria | buildEqualToCriteria(Object anAttribute, Object aValue, UserAlias anAlias) | static ValueCriteria | buildGreaterCriteria(Object anAttribute, Object aValue, String anAlias) | static ValueCriteria | buildGreaterCriteria(Object anAttribute, Object aValue, UserAlias anAlias) | static InCriteria | buildInCriteria(Object anAttribute, Object aValue, String anAlias) | static InCriteria | buildInCriteria(Object anAttribute, Object aValue, UserAlias anAlias) | static ValueCriteria | buildLessCriteria(Object anAttribute, Object aValue, String anAlias) | static ValueCriteria | buildLessCriteria(Object anAttribute, Object aValue, UserAlias anAlias) | static ValueCriteria | buildLikeCriteria(Object anAttribute, Object aValue, String anAlias) | static ValueCriteria | buildLikeCriteria(Object anAttribute, Object aValue, UserAlias anAlias) | static BetweenCriteria | buildNotBeweenCriteria(Object anAttribute, Object aValue1, Object aValue2, String anAlias) | static BetweenCriteria | buildNotBeweenCriteria(Object anAttribute, Object aValue1, Object aValue2, UserAlias anAlias) | static ValueCriteria | buildNotEqualToCriteria(Object anAttribute, Object aValue, String anAlias) | static ValueCriteria | buildNotEqualToCriteria(Object anAttribute, Object aValue, UserAlias anAlias) | static ValueCriteria | buildNotGreaterCriteria(Object anAttribute, Object aValue, String anAlias) | static ValueCriteria | buildNotGreaterCriteria(Object anAttribute, Object aValue, UserAlias anAlias) | static InCriteria | buildNotInCriteria(Object anAttribute, Object aValue, String anAlias) | static InCriteria | buildNotInCriteria(Object anAttribute, Object aValue, UserAlias anAlias) | static ValueCriteria | buildNotLessCriteria(Object anAttribute, Object aValue, String anAlias) | static ValueCriteria | buildNotLessCriteria(Object anAttribute, Object aValue, UserAlias anAlias) | static ValueCriteria | buildNotLikeCriteria(Object anAttribute, Object aValue, String anAlias) | static ValueCriteria | buildNotLikeCriteria(Object anAttribute, Object aValue, UserAlias anAlias) | static NullCriteria | buildNotNullCriteria(String anAttribute, String anAlias) | static NullCriteria | buildNotNullCriteria(String anAttribute, UserAlias anAlias) | static NullCriteria | buildNullCriteria(String anAttribute, String anAlias) | static NullCriteria | buildNullCriteria(String anAttribute, UserAlias anAlias) | public String | getClause() |
ValueCriteria | ValueCriteria(Object anAttribute, Object aValue, String aClause, String anAlias)(Code) | | Constructor declaration
Parameters: anAttribute - column- or fieldName Parameters: aValue - the value to compare with Parameters: aClause - the SQL compare clause (ie LIKE, = , IS NULL) Parameters: anAlias - use alias to link anAttribute to |
ValueCriteria | ValueCriteria(Object anAttribute, Object aValue, String aClause, UserAlias aUserAlias)(Code) | | Constructor declaration
Parameters: anAttribute - column- or fieldName Parameters: aValue - the value to compare with Parameters: aClause - the SQL compare clause (ie LIKE, = , IS NULL) Parameters: aUserAlias - userAlias to link anAttribute to |
|
|