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