org.fpml.fpml_5.confirmation.FxOffsetConventionEnum 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.05.10 at 03:58:40 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 FxOffsetConventionEnum.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <simpleType name="FxOffsetConventionEnum">
* <restriction base="{http://www.w3.org/2001/XMLSchema}token">
* <enumeration value="FxSpot"/>
* <enumeration value="FxForward"/>
* </restriction>
* </simpleType>
*
*
*/
@XmlType(name = "FxOffsetConventionEnum")
@XmlEnum
public enum FxOffsetConventionEnum {
@XmlEnumValue("FxSpot")
FX_SPOT("FxSpot"),
@XmlEnumValue("FxForward")
FX_FORWARD("FxForward");
private final String value;
FxOffsetConventionEnum(String v) {
value = v;
}
public String value() {
return value;
}
public static FxOffsetConventionEnum fromValue(String v) {
for (FxOffsetConventionEnum c: FxOffsetConventionEnum.values()) {
if (c.value.equals(v)) {
return c;
}
}
throw new IllegalArgumentException(v);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy