public class FreeTextQueryCriteria extends QueryCriteria
A Free Text Criteria element for a Query to the Catalog.
| Constructor and Description |
|---|
FreeTextQueryCriteria()
Default constructor.
|
FreeTextQueryCriteria(String elementName,
List<String> v)
Constructor for the FreeTextQueryECriteria Class.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
public List<String> getValues()
public void setValue(List<String> v)
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 QueryCriteriapublic void setElementName(String elementName)
setElementName in class QueryCriteriapublic String toString()
toString in class QueryCriteriaCopyright © 1999–2017 Apache OODT. All rights reserved.