thredds.catalog.query
Class SelectStation

java.lang.Object
  extended by thredds.catalog.query.Selector
      extended by 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

Field Summary
 
Fields inherited from class thredds.catalog.query.Selector
children, compound, desc, id, isUsed, multiple, required, template, title
 
Constructor Summary
SelectStation()
           
SelectStation(String label, String id, String template, String selectType, String required)
          Construct from fields in XML catalog.
 
Method Summary
 void addStation(Station s)
           
 boolean equals(Object o)
          Instances which have same id are equal.
 int getNumStations()
           
 ArrayList getStations()
           
 int hashCode()
          Override Object.hashCode() to implement equals.
 
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
 

Constructor Detail

SelectStation

public SelectStation()

SelectStation

public SelectStation(String label,
                     String id,
                     String template,
                     String selectType,
                     String required)
Construct from fields in XML catalog.

See Also:
Selector
Method Detail

addStation

public void addStation(Station s)

getStations

public ArrayList getStations()

getNumStations

public int getNumStations()

equals

public boolean equals(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


Copyright © 1999-2011 UCAR/Unidata. All Rights Reserved.