Package 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.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)StringgetCountry()doublegetElevation()doublegetLatitude()LocationgetLocation()doublegetLongitude()StringgetState()StringgetStationID()StringgetStationName()inthashCode()Override Object.hashCode() to implement equals.voidsetLocation(Location location)-
Methods inherited from class thredds.catalog.query.ListChoice
addNestedSelector, getDescription, getName, getNestedSelectors, getParentSelector, getTemplate, getValue, hasNestedSelectors, setDescription, toString
-
-
-
-
Method Detail
-
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:
equalsin classListChoice
-
hashCode
public int hashCode()
Override Object.hashCode() to implement equals.- Overrides:
hashCodein classListChoice
-
-