thredds.catalog.query
Class Station

java.lang.Object
  extended by thredds.catalog.query.ListChoice
      extended by thredds.catalog.query.Station
All Implemented Interfaces:
Choice

public class Station
extends ListChoice

Implementation of a DQC station element. This extends Choice with a location.

Author:
john caron

Constructor Summary
Station(Selector parent, java.lang.String name, java.lang.String value, java.lang.String description)
          Construct from fields in XML catalog.
 
Method Summary
 boolean equals(java.lang.Object o)
           
 Location getLocation()
           
 int hashCode()
          Override Object.hashCode() to implement equals.
 void setLocation(Location location)
           
 
Methods inherited from class thredds.catalog.query.ListChoice
addNestedSelector, getDescription, getName, getNestedSelectors, getParentSelector, getTemplate, getValue, hasNestedSelectors, setDescription, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Station

public Station(Selector parent,
               java.lang.String name,
               java.lang.String value,
               java.lang.String description)
Construct from fields in XML catalog.

See Also:
Choice
Method Detail

setLocation

public void setLocation(Location location)

getLocation

public Location getLocation()

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class ListChoice

hashCode

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

Overrides:
hashCode in class ListChoice