public class WeatherStations extends Object
WeatherStation and WeatherStationDto.| Constructor and Description |
|---|
WeatherStations() |
| Modifier and Type | Method and Description |
|---|---|
protected static void |
dtoToWeatherStation(WeatherStationDto dto,
WeatherStation weatherStation,
RefStationMeteo refStationMeteo)
Uses
WeatherStationDto corresponding getter from each
WeatherStation instance setter. |
protected static com.google.common.base.Function<WeatherStation,WeatherStationDto> |
getFunctionWeatherStationToDto(String defaultWeatherStationId)
Creates a function that returns a
WeatherStationDto instance from a given WeatherStation. |
protected static final com.google.common.base.Function<WeatherStation,WeatherStationDto> getFunctionWeatherStationToDto(String defaultWeatherStationId)
WeatherStationDto instance from a given WeatherStation.defaultWeatherStationId - if this WeatherStation is the default weather station selected (may be null)WeatherStationDto instance from a given WeatherStationprotected static final void dtoToWeatherStation(WeatherStationDto dto, WeatherStation weatherStation, RefStationMeteo refStationMeteo)
WeatherStationDto corresponding getter from each
WeatherStation instance setter.dto - WeatherStationDto DTO instanceweatherStation - WeatherStation to updateCopyright © 2013–2014 Inra. All rights reserved.