public class SearchQueryBuilderOptionsBean extends Object implements SearchQueryBuilderOptions
SearchQueryBuilderOptions
as java bean.Modifier and Type | Field and Description |
---|---|
private SearchQueryErrorHandler |
errorHander |
private boolean |
requireTerms |
Constructor and Description |
---|
SearchQueryBuilderOptionsBean()
The constructor.
|
Modifier and Type | Method and Description |
---|---|
SearchQueryErrorHandler |
getErrorHandler()
This method gets the
SearchQueryErrorHandler . |
boolean |
isRequireTerms()
This method determines if search-terms should be required.
|
void |
setErrorHander(SearchQueryErrorHandler errorHander) |
void |
setRequireTerms(boolean requireTerms) |
private boolean requireTerms
isRequireTerms()
private SearchQueryErrorHandler errorHander
getErrorHandler()
public SearchQueryBuilderOptionsBean()
public boolean isRequireTerms()
isRequireTerms
in interface SearchQueryBuilderOptions
true
if regular terms of the query are required ("foo bar" -> "+foo +bar"),
false
otherwise ("foo bar" -> "foo OR bar").public void setRequireTerms(boolean requireTerms)
requireTerms
- is the requireTerms to setpublic SearchQueryErrorHandler getErrorHandler()
SearchQueryErrorHandler
.getErrorHandler
in interface SearchQueryBuilderOptions
SearchQueryErrorHandler
.public void setErrorHander(SearchQueryErrorHandler errorHander)
errorHander
- is the errorHander to setCopyright © 2001–2016 mmm-Team. All rights reserved.