
org.fpml.fpml_5.confirmation.CalendarSourceEnum Maven / Gradle / Ivy
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.3.2
// See https://javaee.github.io/jaxb-v2/
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2024.04.04 at 04:56:21 PM UTC
//
package org.fpml.fpml_5.confirmation;
import javax.xml.bind.annotation.XmlEnum;
import javax.xml.bind.annotation.XmlEnumValue;
import javax.xml.bind.annotation.XmlType;
/**
* Java class for CalendarSourceEnum.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <simpleType name="CalendarSourceEnum">
* <restriction base="{http://www.w3.org/2001/XMLSchema}token">
* <enumeration value="ListedOption"/>
* <enumeration value="Future"/>
* </restriction>
* </simpleType>
*
*
*/
@XmlType(name = "CalendarSourceEnum")
@XmlEnum
public enum CalendarSourceEnum {
/**
* Pricing Dates (based off of listed options dates) in respect of each Calculation Period, the last Commodity Business Day on which the relevant Options Contract is scheduled to trade on the Exchange.
*
*/
@XmlEnumValue("ListedOption")
LISTED_OPTION("ListedOption"),
/**
* Pricing Dates (based off of futures dates) in respect of each Calculation Period, the last Commodity Business Day on which the relevant Futures Contract is scheduled to trade on the Exchange.
*
*/
@XmlEnumValue("Future")
FUTURE("Future");
private final String value;
CalendarSourceEnum(String v) {
value = v;
}
public String value() {
return value;
}
public static CalendarSourceEnum fromValue(String v) {
for (CalendarSourceEnum c: CalendarSourceEnum.values()) {
if (c.value.equals(v)) {
return c;
}
}
throw new IllegalArgumentException(v);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy