thredds.catalog.query
Class SelectRange

java.lang.Object
  extended by thredds.catalog.query.Selector
      extended by thredds.catalog.query.SelectRange

public class SelectRange
extends Selector

Implementation of a DQC select range.

Author:
john caron

Field Summary
 
Fields inherited from class thredds.catalog.query.Selector
children, compound, desc, id, isUsed, multiple, required, template, title
 
Constructor Summary
SelectRange(java.lang.String min, java.lang.String max, java.lang.String units, java.lang.String modulo, java.lang.String resolution, java.lang.String selectType)
          Construct from fields in XML catalog.
 
Method Summary
 boolean equals(java.lang.Object o)
          Instances which have same id are equal.
 java.lang.String getMax()
           
 java.lang.String getMin()
           
 java.lang.String getResolution()
           
 java.lang.String getSelectType()
           
 java.lang.String getUnits()
           
 int hashCode()
          Override Object.hashCode() to implement equals.
 boolean isModulo()
           
 
Methods inherited from class thredds.catalog.query.Selector
appendQuery, getDescription, getId, getTemplate, getTitle, isMultiple, isRequired, isUsed, setCompoundSelectors, setDescription, setId, setMultiple, setRequired, setTemplate, setTitle, setUsed
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SelectRange

public SelectRange(java.lang.String min,
                   java.lang.String max,
                   java.lang.String units,
                   java.lang.String modulo,
                   java.lang.String resolution,
                   java.lang.String selectType)
Construct from fields in XML catalog.

See Also:
Selector
Method Detail

getMin

public java.lang.String getMin()

getMax

public java.lang.String getMax()

getUnits

public java.lang.String getUnits()

isModulo

public boolean isModulo()

getResolution

public java.lang.String getResolution()

getSelectType

public java.lang.String getSelectType()
Overrides:
getSelectType in class Selector

equals

public boolean equals(java.lang.Object o)
Description copied from class: Selector
Instances which have same id are equal.

Overrides:
equals in class Selector

hashCode

public int hashCode()
Override Object.hashCode() to implement equals.

Overrides:
hashCode in class Selector