com.atlassian.user.search.query
Class AbstractBooleanQuery
java.lang.Object
com.atlassian.user.search.query.AbstractBooleanQuery
- All Implemented Interfaces:
- BooleanQuery, Query
- Direct Known Subclasses:
- MultiTermBooleanQuery, TwoTermBooleanQuery
public abstract class AbstractBooleanQuery
- extends Object
- implements BooleanQuery
|
Method Summary |
List |
getQueries()
|
boolean |
isAND()
It is impossible for isAND() and isOR() to both return true or false. |
boolean |
isOR()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
anding
protected boolean anding
queries
protected List<Query> queries
AbstractBooleanQuery
protected AbstractBooleanQuery(boolean anding)
AbstractBooleanQuery
protected AbstractBooleanQuery(String anding)
isAND
public boolean isAND()
- It is impossible for isAND() and isOR() to both return true or false.
- Specified by:
isAND in interface BooleanQuery
- Returns:
- true if the clause is set to AND the two queries.
isOR
public boolean isOR()
- Specified by:
isOR in interface BooleanQuery
- Returns:
- true if the clause is set to OR the two queries
getQueries
public List getQueries()
- Specified by:
getQueries in interface BooleanQuery
Copyright © 2005-2009 Atlassian Software Systems Pty Ltd. All Rights Reserved.