org.n52.operation.cropmodeling
Class TemporalEnvironmentState

java.lang.Object
  extended by org.n52.operation.cropmodeling.TemporalEnvironmentState

public class TemporalEnvironmentState
extends java.lang.Object

Author:
willem nieuwenhuis

Constructor Summary
TemporalEnvironmentState()
           
TemporalEnvironmentState(java.lang.String type, WeatherData weatherData, int year, double time)
          construct a new object; initalize the temporal fields
TemporalEnvironmentState(java.lang.String type, WeatherData weatherData, JulianTime time)
          construct a new object; initalize the temporal fields
 
Method Summary
 Radiation getCurrentRadiations()
           
 Weather getCurrentWeather()
           
 JulianTime getTime()
           
 double getTimeResolution()
           
static TemporalEnvironmentState increment(TemporalEnvironmentState state)
          Move the temporal state one day forward
 void setTime(JulianTime time)
           
 void setTimeResolution(double timeResolution)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TemporalEnvironmentState

public TemporalEnvironmentState()

TemporalEnvironmentState

public TemporalEnvironmentState(java.lang.String type,
                                WeatherData weatherData,
                                JulianTime time)
construct a new object; initalize the temporal fields

Parameters:
type -
weatherData -
time -

TemporalEnvironmentState

public TemporalEnvironmentState(java.lang.String type,
                                WeatherData weatherData,
                                int year,
                                double time)
construct a new object; initalize the temporal fields

Parameters:
type -
weatherData -
year -
time -
Method Detail

increment

public static TemporalEnvironmentState increment(TemporalEnvironmentState state)
Move the temporal state one day forward

Parameters:
state - temporal state to update
Returns:
the updated state

getTime

public JulianTime getTime()
Returns:
Returns the time.

setTime

public void setTime(JulianTime time)
Parameters:
time - The time to set.

getTimeResolution

public double getTimeResolution()
Returns:
Returns the timeResolution.

setTimeResolution

public void setTimeResolution(double timeResolution)
Parameters:
timeResolution - The timeResolution to set.

getCurrentRadiations

public Radiation getCurrentRadiations()
Returns:
Returns the radiations.

getCurrentWeather

public Weather getCurrentWeather()
Returns:
Returns the weather.