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 boolean
equals(Object o)
String
getCountry()
double
getElevation()
double
getLatitude()
Location
getLocation()
double
getLongitude()
String
getState()
String
getStationID()
String
getStationName()
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
-
-
-
-
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:
equals
in classListChoice
-
hashCode
public int hashCode()
Override Object.hashCode() to implement equals.- Overrides:
hashCode
in classListChoice
-
-