java.lang.Object
org.acs.damsel.srvr.search.AdvancedSearchParams
- public class AdvancedSearchParams
- extends java.lang.Object
Title: AdavancedSearchParams
Description: Instances of this object are used in advanced searching. The
object stores the collection to be searched as well as four vectors
containing search pairs for each of the four different types of advanced
searches (all words, any words, exact phrase, without words).
- Version:
- 1.0
|
Constructor Summary |
AdvancedSearchParams()
Default constructor initializes all of the vectors but does not set a
collection name. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
collectionName
private java.lang.String collectionName
allSearch
private java.util.Vector allSearch
exactSearch
private java.util.Vector exactSearch
anySearch
private java.util.Vector anySearch
notSearch
private java.util.Vector notSearch
AdvancedSearchParams
public AdvancedSearchParams()
- Default constructor initializes all of the vectors but does not set a
collection name.
addAllSearchPair
public void addAllSearchPair(SearchPair sp)
- Method to add a search pair to the all search vector
addAnySearchPair
public void addAnySearchPair(SearchPair sp)
- Method to add a search pair to the any search vector
addExactSearchPair
public void addExactSearchPair(SearchPair sp)
- Method to add a search pair to the exact search vector
addNotSearchPair
public void addNotSearchPair(SearchPair sp)
- Method to add a search pair to the not search vector
getCollectionName
public java.lang.String getCollectionName()
setCollectionName
public void setCollectionName(java.lang.String collectionName)
getAllSearch
public java.util.Vector getAllSearch()
setAllSearch
public void setAllSearch(java.util.Vector allSearch)
getExactSearch
public java.util.Vector getExactSearch()
setExactSearch
public void setExactSearch(java.util.Vector exactSearch)
getAnySearch
public java.util.Vector getAnySearch()
setAnySearch
public void setAnySearch(java.util.Vector anySearch)
getNotSearch
public java.util.Vector getNotSearch()
setNotSearch
public void setNotSearch(java.util.Vector notSearch)