thredds.dqc
Class SelectFromRange
java.lang.Object
thredds.dqc.Selector
thredds.dqc.SelectFromRange
public class SelectFromRange
- extends Selector
A description
User: edavis
Date: Jan 22, 2004
Time: 8:40:05 PM
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
allowedRangeMin
protected double allowedRangeMin
allowedRangeMax
protected double allowedRangeMax
units
protected java.lang.String units
template
protected java.lang.String template
modulo
protected boolean modulo
moduloValue
protected double moduloValue
SelectFromRange
public SelectFromRange()
- Public constructor.
getAllowedRangeMin
public double getAllowedRangeMin()
getAllowedRangeMax
public double getAllowedRangeMax()
setAllowedRange
public void setAllowedRange(double min,
double max)
- Set the allowed range.
- Parameters:
min - - minimum point in the allowed range.max - - maximum point in the allowed range.
- Throws:
java.lang.IllegalArgumentException - if min is greater than max.
getUnits
public java.lang.String getUnits()
setUnits
public void setUnits(java.lang.String units)
getTemplate
public java.lang.String getTemplate()
- Description copied from class:
Selector
- Get the template of this selector.
- Overrides:
getTemplate in class Selector
setTemplate
public void setTemplate(java.lang.String template)
- Description copied from class:
Selector
- Set the template of this selector.
- Overrides:
setTemplate in class Selector
isModulo
public boolean isModulo()
setModulo
public void setModulo(boolean modulo)
validateSelection
public Selection validateSelection(Selection selection)
- Specified by:
validateSelection in class Selector