Enum Class WeatherSettlementLevelEnum
java.lang.Object
java.lang.Enum<WeatherSettlementLevelEnum>
net.finmath.smartcontract.product.xml.WeatherSettlementLevelEnum
- All Implemented Interfaces:
Serializable
,Comparable<WeatherSettlementLevelEnum>
,Constable
Java class for WeatherSettlementLevelEnum.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="WeatherSettlementLevelEnum"> <restriction base="{http://www.w3.org/2001/XMLSchema}token"> <enumeration value="Cumulative"/> <enumeration value="Average"/> <enumeration value="Mximum"/> <enumeration value="Minimum"/> </restriction> </simpleType>
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionThe cumulative number of Weather Index Units for each day in the Calculation Period divided by the number of days in the Calculation Period.The cumulative number of Weather Index Units for each day in the Calculation Period.The minimum number of Weather Index Units for any day in the Calculation Period.The maximum number of Weather Index Units for any day in the Calculation Period. -
Method Summary
Modifier and TypeMethodDescriptionstatic WeatherSettlementLevelEnum
value()
static WeatherSettlementLevelEnum
Returns the enum constant of this class with the specified name.static WeatherSettlementLevelEnum[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
CUMULATIVE
The cumulative number of Weather Index Units for each day in the Calculation Period. -
AVERAGE
The cumulative number of Weather Index Units for each day in the Calculation Period divided by the number of days in the Calculation Period. -
MXIMUM
The maximum number of Weather Index Units for any day in the Calculation Period. -
MINIMUM
The minimum number of Weather Index Units for any day in the Calculation Period.
-
-
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
-
value
-
fromValue
-