net.finmath.smartcontract.product.xml.ValuationMethodEnum 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 ValuationMethodEnum.
*
*
The following schema fragment specifies the expected content contained within this class.
*
* <simpleType name="ValuationMethodEnum">
* <restriction base="{http://www.w3.org/2001/XMLSchema}token">
* <enumeration value="Market"/>
* <enumeration value="Highest"/>
* <enumeration value="AverageMarket"/>
* <enumeration value="AverageHighest"/>
* <enumeration value="BlendedMarket"/>
* <enumeration value="BlendedHighest"/>
* <enumeration value="AverageBlendedMarket"/>
* <enumeration value="AverageBlendedHighest"/>
* </restriction>
* </simpleType>
*
*
*/
@XmlType(name = "ValuationMethodEnum")
@XmlEnum
public enum ValuationMethodEnum {
@XmlEnumValue("Market")
MARKET("Market"),
@XmlEnumValue("Highest")
HIGHEST("Highest"),
@XmlEnumValue("AverageMarket")
AVERAGE_MARKET("AverageMarket"),
@XmlEnumValue("AverageHighest")
AVERAGE_HIGHEST("AverageHighest"),
@XmlEnumValue("BlendedMarket")
BLENDED_MARKET("BlendedMarket"),
@XmlEnumValue("BlendedHighest")
BLENDED_HIGHEST("BlendedHighest"),
@XmlEnumValue("AverageBlendedMarket")
AVERAGE_BLENDED_MARKET("AverageBlendedMarket"),
@XmlEnumValue("AverageBlendedHighest")
AVERAGE_BLENDED_HIGHEST("AverageBlendedHighest");
private final String value;
ValuationMethodEnum(String v) {
value = v;
}
public String value() {
return value;
}
public static ValuationMethodEnum fromValue(String v) {
for (ValuationMethodEnum c: ValuationMethodEnum.values()) {
if (c.value.equals(v)) {
return c;
}
}
throw new IllegalArgumentException(v);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy