public class TermQueryCriteria extends QueryCriteria
A Term Criteria element for a Query to the Catalog.
Constructor and Description |
---|
TermQueryCriteria()
Default constructor.
|
TermQueryCriteria(String elementName,
String v)
Constructor for the TermQueryECriteria Class.
|
Modifier and Type | Method and Description |
---|---|
String |
getElementName()
Implementation of the abstract method inherited from QueryCriteria for
accessing the element name to search on.
|
String |
getValue()
Accessor method for the value of the element to search on.
|
void |
setElementName(String elementName)
Implementation of the abstract method inherited from QueryCriteria for
mutating the element name to search on.
|
void |
setValue(String value)
Mutator method for the value 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 String getValue()
public void setValue(String value)
value
- The value of the element to search on as a String.public String getElementName()
getElementName
in class QueryCriteria
public void setElementName(String elementName)
setElementName
in class QueryCriteria
elementName
- The element name to search on as a String.public String toString()
toString
in class QueryCriteria
Copyright © 1999–2017 Apache OODT. All rights reserved.