public class Station extends ListChoice
| Constructor and Description |
|---|
Station(Selector parent,
String name,
String value,
String description)
Construct from fields in XML catalog.
|
Station(Selector parent,
String name,
String value,
String state,
String country,
String description) |
| Modifier and Type | Method and 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) |
addNestedSelector, getDescription, getName, getNestedSelectors, getParentSelector, getTemplate, getValue, hasNestedSelectors, setDescription, toStringpublic Station(Selector parent, String name, String value, String description)
Choicepublic void setLocation(Location location)
public Location getLocation()
public double getLatitude()
public double getLongitude()
public double getElevation()
public String getStationName()
public String getStationID()
public String getState()
public String getCountry()
public boolean equals(Object o)
equals in class ListChoicepublic int hashCode()
hashCode in class ListChoice