public class DefaultSearchRequest extends Object implements SearchRequest
The GNU Lesser General Public License for details.
,
Serialized FormModifier and Type | Field and Description |
---|---|
private SearchModifier |
modifier
How the search is to be modified
|
private String |
request
The actual search request
|
private static long |
serialVersionUID
Serialization ID
|
Constructor and Description |
---|
DefaultSearchRequest(String theRequest)
Create a DefaultSearchRequest for the provided request.
|
DefaultSearchRequest(String theRequest,
SearchModifier theModifier)
Create a DefaultSearchRequest for the provided request and the provided
modifiers.
|
private String request
private SearchModifier modifier
private static final long serialVersionUID
public DefaultSearchRequest(String theRequest, SearchModifier theModifier)
theRequest
- what is being searchedtheModifier
- how the search is to be modifiedpublic DefaultSearchRequest(String theRequest)
theRequest
- what is being searchedpublic SearchModifier getSearchModifier()
getSearchModifier
in interface SearchRequest
public String getRequest()
getRequest
in interface SearchRequest