|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectnet.agmodel.metBroker.ServerStationImpl
Holds details about a met data source's weather stations which are used by both client-side and database-side classes via their respective interfaces.
| Method Summary | |
boolean |
checkMetElementCatalog(MetElement element,
Duration resolution,
Period period)
Check whether a station has recorded an element at a particular resolution over the period. |
int |
compareTo(Object a)
|
Location |
getLocation()
Get the weather station's position on the globe. |
String |
getName(String language)
|
Period |
getOperational()
Get the period of operation of the weather station |
String |
getRegionID()
Get the ID that the host database uses to refer to the region. |
Duration |
getShortestResolution()
|
String |
getStationID()
Get the ID that the host database uses to refer to the station. |
WeatherStation |
getWeatherStation(String language)
|
boolean |
metCatalogCardExists(MetElement element,
Duration resolution)
Check whether a station has ever recorded an element at a particular resolution. |
void |
recordElementStatus(MetElement element,
Duration resolution,
Period period,
boolean status)
Record that a station measured or didn't measure an element at a particular resolution over a period. |
String |
report(String language)
Provide a description of the station and the data it holds |
void |
setShortestResolution(Duration shortestResolution)
|
String |
toString()
|
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Method Detail |
public void recordElementStatus(MetElement element,
Duration resolution,
Period period,
boolean status)
element - the meteorological elementperiod - the period of time (which might not have an end specified)resolution - the temporal resolution. There are useful constants in weatherData.MetDurationstatus - true if the element was recorded over the period, false if it wasn'tpublic String getStationID()
public String getRegionID()
public boolean metCatalogCardExists(MetElement element,
Duration resolution)
public boolean checkMetElementCatalog(MetElement element,
Duration resolution,
Period period)
public String report(String language)
public Period getOperational()
public Location getLocation()
public String toString()
public String getName(String language)
public WeatherStation getWeatherStation(String language)
public void setShortestResolution(Duration shortestResolution)
public Duration getShortestResolution()
public int compareTo(Object a)
compareTo in interface Comparable
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||