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
|
Constructor Summary |
Station(Selector parent,
java.lang.String name,
java.lang.String value,
java.lang.String description)
Construct from fields in XML catalog. |
Station(Selector parent,
java.lang.String name,
java.lang.String value,
java.lang.String state,
java.lang.String country,
java.lang.String description)
|
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
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
Station
public Station(Selector parent,
java.lang.String name,
java.lang.String value,
java.lang.String state,
java.lang.String country,
java.lang.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 java.lang.String getStationName()
getStationID
public java.lang.String getStationID()
getState
public java.lang.String getState()
getCountry
public java.lang.String getCountry()
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