|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectgov.nih.nlm.mms.browser.SearchOptions
public class SearchOptions
This class is used for object searches, to specify the search parameters.
| Field Summary | |
|---|---|
static int |
DEFAULT_MAX_RESULTS
Default maximum number of search results if not explicitly set by setMaxResults(int). |
| Constructor Summary | |
|---|---|
SearchOptions()
Constructor |
|
| Method Summary | |
|---|---|
int |
getMaxResults()
Gets the maximum number of search results. |
Restrictor |
getRestrictor()
|
void |
setMaxResults(int maxResults)
Sets the maximum number of search results. |
void |
setRestrictor(Restrictor restrictor)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int DEFAULT_MAX_RESULTS
setMaxResults(int).
| Constructor Detail |
|---|
public SearchOptions()
| Method Detail |
|---|
public int getMaxResults()
public void setMaxResults(int maxResults)
maxResults - maximum number of search resultspublic Restrictor getRestrictor()
public void setRestrictor(Restrictor restrictor)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||