Package ucar.unidata.geoloc
Class StationImpl
- java.lang.Object
-
- ucar.unidata.geoloc.EarthLocationImpl
-
- ucar.unidata.geoloc.StationImpl
-
- All Implemented Interfaces:
Comparable<Station>,EarthLocation,Station
- Direct Known Subclasses:
StationFeatureImpl
@Deprecated public class StationImpl extends EarthLocationImpl implements Station
Deprecated.only use Station in 6.Implementation of Station
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedStationImpl()Deprecated.StationImpl(String name, String desc, String wmoId, double lat, double lon, double alt)Deprecated.StationImpl(String name, String desc, String wmoId, double lat, double lon, double alt, int nobs)Deprecated.StationImpl(Station s, int nobs)Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description intcompareTo(Station so)Deprecated.StringgetDescription()Deprecated.Station descriptionStringgetName()Deprecated.Station name or id.intgetNobs()Deprecated.get Number of obs at this stationStringgetWmoId()Deprecated.WMO station idvoidincrNobs()Deprecated.protected voidsetDescription(String desc)Deprecated.protected voidsetName(String name)Deprecated.protected voidsetNobs(int nobs)Deprecated.protected voidsetWmoId(String wmoId)Deprecated.StringtoString()Deprecated.-
Methods inherited from class ucar.unidata.geoloc.EarthLocationImpl
getAltitude, getLatitude, getLatLon, getLongitude, isMissing, setAltitude, setLatitude, setLongitude
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface ucar.unidata.geoloc.EarthLocation
getAltitude, getLatitude, getLatLon, getLongitude, isMissing
-
-
-
-
Constructor Detail
-
StationImpl
protected StationImpl()
Deprecated.
-
StationImpl
public StationImpl(String name, String desc, String wmoId, double lat, double lon, double alt)
Deprecated.
-
StationImpl
public StationImpl(String name, String desc, String wmoId, double lat, double lon, double alt, int nobs)
Deprecated.
-
StationImpl
public StationImpl(Station s, int nobs)
Deprecated.
-
-
Method Detail
-
getName
@Nonnull public String getName()
Deprecated.Station name or id. Must be unique within the collection
-
getDescription
public String getDescription()
Deprecated.Station description- Specified by:
getDescriptionin interfaceStation- Returns:
- station description
-
getWmoId
public String getWmoId()
Deprecated.WMO station id
-
getNobs
public int getNobs()
Deprecated.Description copied from interface:Stationget Number of obs at this station
-
setName
protected void setName(String name)
Deprecated.
-
setDescription
protected void setDescription(String desc)
Deprecated.
-
setWmoId
protected void setWmoId(String wmoId)
Deprecated.
-
setNobs
protected void setNobs(int nobs)
Deprecated.
-
incrNobs
public void incrNobs()
Deprecated.
-
compareTo
public int compareTo(Station so)
Deprecated.- Specified by:
compareToin interfaceComparable<Station>
-
toString
public String toString()
Deprecated.- Overrides:
toStringin classEarthLocationImpl
-
-