|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.oodt.cas.filemgr.structs.QueryCriteria org.apache.oodt.cas.filemgr.structs.FreeTextQueryCriteria
public class FreeTextQueryCriteria
A Free Text Criteria element for a Query to the Catalog.
Constructor Summary | |
---|---|
FreeTextQueryCriteria()
Default constructor. |
|
FreeTextQueryCriteria(String elementName,
List<String> v)
Constructor for the FreeTextQueryECriteria Class. |
Method Summary | |
---|---|
void |
addFreeText(String text)
A method for adding unparsed free text to the FreeTextCriteria. |
void |
addValue(String v)
A method for adding a value to search on to the list of values. |
String |
getElementName()
Implementation of the abstract method inherited from QueryCriteria for accessing the element ID to search on. |
List<String> |
getValues()
Accessor method for the values of the element to search on. |
void |
setElementName(String elementName)
Implementation of the abstract method inherited from QueryCriteria for mutating the element ID to search on. |
void |
setValue(List<String> v)
Mutator method for the values of the element to search on. |
String |
toString()
Implementation of the abstract method inherited from QueryCriteria for generating a human-parsable string version of the query criteria. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public FreeTextQueryCriteria()
public FreeTextQueryCriteria(String elementName, List<String> v)
elementId
- The name of the element to search on.v
- A List of terms to search for.Method Detail |
---|
public List<String> getValues()
public void setValue(List<String> v)
value
- The values of the element to search on as a List of Strings.public void addValue(String v)
v
- The value to be added to the search as a String.public void addFreeText(String text)
text
- The free text to be parsed and searched on.public String getElementName()
getElementName
in class QueryCriteria
public void setElementName(String elementName)
setElementName
in class QueryCriteria
elementId
- The element ID to search on as a String.public String toString()
toString
in class QueryCriteria
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |