gov.nih.nlm.mms.browser
Class SearchOptions

java.lang.Object
  extended by gov.nih.nlm.mms.browser.SearchOptions

public class SearchOptions
extends Object

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

DEFAULT_MAX_RESULTS

public static final int DEFAULT_MAX_RESULTS
Default maximum number of search results if not explicitly set by setMaxResults(int).

See Also:
Constant Field Values
Constructor Detail

SearchOptions

public SearchOptions()
Constructor

Method Detail

getMaxResults

public int getMaxResults()
Gets the maximum number of search results.

Returns:
the maximum number of search results.

setMaxResults

public void setMaxResults(int maxResults)
Sets the maximum number of search results.

Parameters:
maxResults - maximum number of search results

getRestrictor

public Restrictor getRestrictor()

setRestrictor

public void setRestrictor(Restrictor restrictor)


Copyright ©2005