Enum Class FWSimIOAdapter.FREQUENCE
- All Implemented Interfaces:
Serializable, Comparable<FWSimIOAdapter.FREQUENCE>, Constable
- Enclosing class:
FWSimIOAdapter
Frequency with which the data is read (resources) or written (outputs).
- Author:
- Andreas Enders
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionBoolean - data accessed when the boolean variable named by the rule is trueOutput is only performed when calibration has endedComplex - data accessed when the JEXL rule of the adapter is trueDaily frequency - data accessed in every time step if time step == dailyData only once written at the end of the simulation phase of the model runOutput is only performed when data exchange is taking placeMonthly - resources are updated on the first day, outputs written at the end of the monthNo frequency means no update - data accessed only once at the initialization phase of the model runNo frequency means no update - data accessed only once at the initialization phase of the model runYearly - resources are updated on the first day, outputs written at the end of the year -
Method Summary
Modifier and TypeMethodDescriptionstatic FWSimIOAdapter.FREQUENCEReturns the enum constant of this class with the specified name.static FWSimIOAdapter.FREQUENCE[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NON
No frequency means no update - data accessed only once at the initialization phase of the model run -
DAILY
Daily frequency - data accessed in every time step if time step == daily -
YEARLY
Yearly - resources are updated on the first day, outputs written at the end of the year -
COMPLEX
Complex - data accessed when the JEXL rule of the adapter is true -
BOOLEAN
Boolean - data accessed when the boolean variable named by the rule is true -
MONTHLY
Monthly - resources are updated on the first day, outputs written at the end of the month -
ONCE
No frequency means no update - data accessed only once at the initialization phase of the model run -
END
Data only once written at the end of the simulation phase of the model run -
CAL
Output is only performed when calibration has ended -
EXCHANGE
Output is only performed when data exchange is taking place
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-