thredds.catalog.query
Class Station
java.lang.Object
thredds.catalog.query.ListChoice
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
Station
public Station(Selector parent,
String name,
String value,
String description)
- Construct from fields in XML catalog.
- See Also:
Choice
Station
public Station(Selector parent,
String name,
String value,
String state,
String country,
String description)
setLocation
public void setLocation(Location location)
getLocation
public Location getLocation()
getLatitude
public double getLatitude()
getLongitude
public double getLongitude()
getElevation
public double getElevation()
getStationName
public String getStationName()
getStationID
public String getStationID()
getState
public String getState()
getCountry
public String getCountry()
equals
public boolean equals(Object o)
- Overrides:
equals
in class ListChoice
hashCode
public int hashCode()
- Override Object.hashCode() to implement equals.
- Overrides:
hashCode
in class ListChoice
Copyright © 1999-2011 UCAR/Unidata. All Rights Reserved.