Class WeatherForecastData
- java.lang.Object
-
- org.silverpeas.looks.aurora.service.weather.WeatherForecastData
-
public class WeatherForecastData extends Object
Weather forecast on several days as returned by a remote weather service.- Author:
- mmoquillon
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getData()
Gets the data of the weather forecast itself.javax.ws.rs.core.MediaType
getMediaType()
Gets the media type in which is formatted the weather forecast data.String
getWeatherService()
Gets the name of the weather service from which this data is.
-
-
-
Method Detail
-
getWeatherService
public String 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
public String getData()
Gets the data of the weather forecast itself.- Returns:
- a textual representation of the data.
-
getMediaType
public javax.ws.rs.core.MediaType getMediaType()
Gets the media type in which is formatted the weather forecast data.- Returns:
- the media type of the data.
-
-