org.apache.ojb.broker.query
Class ExistsCriteria
java.lang.Object
org.apache.ojb.broker.query.SelectionCriteria
org.apache.ojb.broker.query.ExistsCriteria
- All Implemented Interfaces:
- Serializable
public class ExistsCriteria
- extends SelectionCriteria
SelectionCriteria for [not] exists(sub query)
- Version:
- $Id: ExistsCriteria.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, serialVersionUID |
Constructor Summary |
ExistsCriteria(Query subQuery,
boolean negative)
Constructor for ExistsCriteria. |
Method Summary |
String |
getClause()
Answer the SQL compare-clause for this criteria |
Methods inherited from class org.apache.ojb.broker.query.SelectionCriteria |
bind, getAlias, getAttribute, getClassesForPath, getCriteria, getNumberOfExtentsToBind, getPathClasses, getQuery, getUserAlias, getValue, isBindable, isBound, isTranslateAttribute, setAlias, setAlias, setAlias, setBound, setCriteria, setNumberOfExtentsToBind, setTranslateAttribute, setValue, toString |
m_negative
private boolean m_negative
ExistsCriteria
ExistsCriteria(Query subQuery,
boolean negative)
- Constructor for ExistsCriteria.
- Parameters:
subQuery
- negative
- use negative form
getClause
public String getClause()
- Description copied from class:
SelectionCriteria
- Answer the SQL compare-clause for this criteria
- Specified by:
getClause
in class SelectionCriteria
Copyright © 2007-2012 The Kuali Foundation. All Rights Reserved.