Class WeatherForecastData
java.lang.Object
org.silverpeas.looks.aurora.service.weather.WeatherForecastData
Weather forecast on several days as returned by a remote weather service.
- Author:
- mmoquillon
-
Method Summary
Modifier and TypeMethodDescriptiongetData()Gets the data of the weather forecast itself.jakarta.ws.rs.core.MediaTypeGets the media type in which is formatted the weather forecast data.Gets the name of the weather service from which this data is.
-
Method Details
-
getWeatherService
Gets the name of the weather service from which this data is.- Returns:
- the name of the weather service that returned this data.
-
getData
Gets the data of the weather forecast itself.- Returns:
- a textual representation of the data.
-
getMediaType
public jakarta.ws.rs.core.MediaType getMediaType()Gets the media type in which is formatted the weather forecast data.- Returns:
- the media type of the data.
-