Class WeatherForecastData


  • public class WeatherForecastData
    extends Object
    Weather forecast on several days as returned by a remote weather service.
    Author:
    mmoquillon
    • 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.