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 java.lang.Object
- implements TermQuery
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
matchingRule
protected java.lang.String matchingRule
matchingSubstring
protected boolean matchingSubstring
term
protected java.lang.String term
AbstractSingleTermQuery
public AbstractSingleTermQuery(java.lang.String term)
AbstractSingleTermQuery
public AbstractSingleTermQuery(java.lang.String term,
java.lang.String matchingRule)
getTerm
public java.lang.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 java.lang.String getMatchingRule()
- Specified by:
getMatchingRule
in interface TermQuery
isMatchingSubstring
public boolean isMatchingSubstring()
- Specified by:
isMatchingSubstring
in interface TermQuery
Copyright © 2005-2007 Atlassian Software Systems Pty Ltd. All Rights Reserved.