net.finmath.smartcontract.product.xml.WeatherSettlementLevelEnum Maven / Gradle / Ivy
//
// This file was generated by the Eclipse Implementation of JAXB, v3.0.0
// See https://eclipse-ee4j.github.io/jaxb-ri
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2024.12.05 at 10:53:57 AM CET
//
package net.finmath.smartcontract.product.xml;
import jakarta.xml.bind.annotation.XmlEnum;
import jakarta.xml.bind.annotation.XmlEnumValue;
import jakarta.xml.bind.annotation.XmlType;
/**
* 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>
*
*
*/
@XmlType(name = "WeatherSettlementLevelEnum")
@XmlEnum
public enum WeatherSettlementLevelEnum {
/**
* The cumulative number of Weather Index Units for each day in the
* Calculation Period.
*
*
*/
@XmlEnumValue("Cumulative")
CUMULATIVE("Cumulative"),
/**
* The cumulative number of Weather Index Units for each day in the
* Calculation Period divided by the number of days in the Calculation Period.
*
*
*/
@XmlEnumValue("Average")
AVERAGE("Average"),
/**
* The maximum number of Weather Index Units for any day in the
* Calculation Period.
*
*
*/
@XmlEnumValue("Mximum")
MXIMUM("Mximum"),
/**
* The minimum number of Weather Index Units for any day in the
* Calculation Period.
*
*
*/
@XmlEnumValue("Minimum")
MINIMUM("Minimum");
private final String value;
WeatherSettlementLevelEnum(String v) {
value = v;
}
public String value() {
return value;
}
public static WeatherSettlementLevelEnum fromValue(String v) {
for (WeatherSettlementLevelEnum c: WeatherSettlementLevelEnum.values()) {
if (c.value.equals(v)) {
return c;
}
}
throw new IllegalArgumentException(v);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy