|
||||||||||
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.RangeQueryCriteria
public class RangeQueryCriteria
A Range Criteria element for a Query to the Catalog.
Constructor Summary | |
---|---|
RangeQueryCriteria()
Default constructor. |
|
RangeQueryCriteria(String elementName,
String start,
String end)
Constructor for the RangeQuerycriteria class. |
|
RangeQueryCriteria(String elementName,
String start,
String end,
boolean inclusive)
Constructor for the RangeQueryCriteria clas that can be used to specify both inclusive and exclusive ranges. |
Method Summary | |
---|---|
String |
getElementName()
Implementation of the abstract method inherited from QueryCriteria for accessing the element name to search on. |
String |
getEndValue()
Accessor method for the end value of the element to search on. |
boolean |
getInclusive()
Accessor method for the inclusive setting for the range. |
String |
getStartValue()
Accessor method for the start 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 |
setEndValue(String value)
Mutator method for the end value fo the element to search on. |
void |
setInclusive(boolean flag)
Mutator method for the inclusive setting for the range. |
void |
setStartValue(String value)
Mutator method for the start value fo 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 RangeQueryCriteria()
public RangeQueryCriteria(String elementName, String start, String end)
elementName
- The name of the element to search on.start
- The start value for the range search as a String.end
- The end value for the range search as a String.public RangeQueryCriteria(String elementName, String start, String end, boolean inclusive)
elementName
- The name of the element to search on.start
- The start value for the range search as a String.end
- The end value for the range search as a String.inclusive
- Boolean: true for inclusive, false for exclusive.Method Detail |
---|
public String getStartValue()
public void setStartValue(String value)
value
- The start value of the range as a String.public String getEndValue()
public void setEndValue(String value)
value
- The end value of the range as a String.public boolean getInclusive()
public void setInclusive(boolean flag)
inclusive
- The boolean inclusive/exclusive flag.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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |