Package org.silverpeas.looks.aurora.service.weather

# 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

  Modifier and Type
  Method
  Description
  `String`
  `getData()`
  Gets the data of the weather forecast itself.
  `jakarta.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.

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

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