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:
BufrConfig.BufrStation
,StationFeatureImpl
,StationImpl
@Deprecated public class StationImpl extends EarthLocationImpl implements Station
Deprecated.only use Station in 6.Implementation of Station
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
StationImpl()
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 int
compareTo(Station so)
Deprecated.String
getDescription()
Deprecated.Station descriptionString
getName()
Deprecated.Station name or id.int
getNobs()
Deprecated.get Number of obs at this stationString
getWmoId()
Deprecated.WMO station idvoid
incrNobs()
Deprecated.protected void
setDescription(String desc)
Deprecated.protected void
setName(String name)
Deprecated.protected void
setNobs(int nobs)
Deprecated.protected void
setWmoId(String wmoId)
Deprecated.String
toString()
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:
getDescription
in interfaceStation
- Returns:
- station description
-
getWmoId
public String getWmoId()
Deprecated.WMO station id
-
getNobs
public int getNobs()
Deprecated.Description copied from interface:Station
get 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:
compareTo
in interfaceComparable<Station>
-
toString
public String toString()
Deprecated.- Overrides:
toString
in classEarthLocationImpl
-
-