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 Details

    • 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 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.