net.finmath.smartcontract.product.xml.EarlyTerminationDateEnum 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 EarlyTerminationDateEnum.
*
*
The following schema fragment specifies the expected content contained within this class.
*
* <simpleType name="EarlyTerminationDateEnum">
* <restriction base="{http://www.w3.org/2001/XMLSchema}token">
* <enumeration value="AnyDay"/>
* <enumeration value="ValuationDate"/>
* <enumeration value="ResetDate"/>
* <enumeration value="AfterFirstResetDate"/>
* <enumeration value="AsSpecifiedInMCA"/>
* </restriction>
* </simpleType>
*
*
*/
@XmlType(name = "EarlyTerminationDateEnum")
@XmlEnum
public enum EarlyTerminationDateEnum {
@XmlEnumValue("AnyDay")
ANY_DAY("AnyDay"),
@XmlEnumValue("ValuationDate")
VALUATION_DATE("ValuationDate"),
@XmlEnumValue("ResetDate")
RESET_DATE("ResetDate"),
@XmlEnumValue("AfterFirstResetDate")
AFTER_FIRST_RESET_DATE("AfterFirstResetDate"),
@XmlEnumValue("AsSpecifiedInMCA")
AS_SPECIFIED_IN_MCA("AsSpecifiedInMCA");
private final String value;
EarlyTerminationDateEnum(String v) {
value = v;
}
public String value() {
return value;
}
public static EarlyTerminationDateEnum fromValue(String v) {
for (EarlyTerminationDateEnum c: EarlyTerminationDateEnum.values()) {
if (c.value.equals(v)) {
return c;
}
}
throw new IllegalArgumentException(v);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy