com.atlassian.user.search.query
Class AbstractSingleTermQuery
java.lang.Object
com.atlassian.user.search.query.AbstractSingleTermQuery
- All Implemented Interfaces:
- Query, TermQuery
- Direct Known Subclasses:
- EmailTermQuery, ExternalEntityNameTermQuery, FullNameTermQuery, GroupNameTermQuery, UserNameTermQuery
public class AbstractSingleTermQuery
- extends Object
- implements TermQuery
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
matchingRule
protected String matchingRule
matchingSubstring
protected boolean matchingSubstring
term
protected String term
AbstractSingleTermQuery
public AbstractSingleTermQuery(String term)
AbstractSingleTermQuery
public AbstractSingleTermQuery(String term,
String matchingRule)
getTerm
public String getTerm()
- Specified by:
getTerm in interface TermQuery
- Returns:
- a String holding the system indepdent value of the term to match for equality.
For example, in a ColourQuery this term might be 'red' but, when rendered, would be
represented as "select colour from colour_table where colour == 'red'"
getMatchingRule
public String getMatchingRule()
- Specified by:
getMatchingRule in interface TermQuery
isMatchingSubstring
public boolean isMatchingSubstring()
- Specified by:
isMatchingSubstring in interface TermQuery
Copyright © 2005-2009 Atlassian Software Systems Pty Ltd. All Rights Reserved.