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