thredds.catalog.query
Class SelectStation
java.lang.Object
thredds.catalog.query.Selector
thredds.catalog.query.SelectStation
public class SelectStation
- extends Selector
Implementation of a DQC station selector element.
A SelectService contains a list of Objects of type Station.
- Author:
- john caron
|
Constructor Summary |
SelectStation()
|
SelectStation(java.lang.String label,
java.lang.String id,
java.lang.String template,
java.lang.String selectType,
java.lang.String required)
Construct from fields in XML catalog. |
| Methods inherited from class thredds.catalog.query.Selector |
appendQuery, getDescription, getId, getSelectType, 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 |
SelectStation
public SelectStation()
SelectStation
public SelectStation(java.lang.String label,
java.lang.String id,
java.lang.String template,
java.lang.String selectType,
java.lang.String required)
- Construct from fields in XML catalog.
- See Also:
Selector
addStation
public void addStation(Station s)
getStations
public java.util.ArrayList getStations()
getNumStations
public int getNumStations()
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