|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface NamedStation
Interface for a landmark with name, id, lat, lon, altitude (height above msl); and a hash table of "properties". ID is usually a letter or number code like "KICT," and is the "id" part of the NamedLocation. Name is a name or description like "Wichita."
| Method Summary | |
|---|---|
boolean |
equals(Object o)
See if this object is equal to the object in question. |
Real |
getAltitude()
Get the altitude as a Real. |
String |
getID()
Get the id of this station. |
double |
getLatitude()
Get the latitude of this station in degrees. |
double |
getLongitude()
Get the longitude of this station in degrees. |
String |
getName()
Get the name of this station. |
NamedLocation |
getNamedLocation()
Get the VisAD NamedLocation that can be used to represent this NamedStation. |
void |
setAltitude(Real alt)
Set the altitude as a Real. |
void |
setID(String id)
Set the id of this station. |
void |
setLatitude(double lat)
Set the latitude of this station in degrees. |
void |
setLongitude(double lon)
Set the longitude of this station in degrees. |
void |
setName(String name)
Set the name of this station. |
void |
setNamedLocation(NamedLocation nl)
Set the VisAD NamedLocation that can be used to represent this NamedStation. |
| Methods inherited from interface ucar.unidata.metdata.Station |
|---|
getIdentifier |
| Methods inherited from interface java.lang.Comparable |
|---|
compareTo |
| Method Detail |
|---|
NamedLocation getNamedLocation()
NamedLocation object.void setNamedLocation(NamedLocation nl)
nl - NamedLocation to use.double getLatitude()
getLatitude in interface Stationvoid setLatitude(double lat)
lat - latitude in degrees north.double getLongitude()
getLongitude in interface Stationvoid setLongitude(double lon)
lon - longitude in degrees east.Real getAltitude()
Realvoid setAltitude(Real alt)
alt - altitude as a RealString getID()
void setID(String id)
id - name of the stationString getName()
void setName(String name)
name - name of the stationboolean equals(Object o)
equals in class Objecto - Object in question
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||