org.fpml.fpml_5.confirmation.RateTreatmentEnum 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 RateTreatmentEnum.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <simpleType name="RateTreatmentEnum">
* <restriction base="{http://www.w3.org/2001/XMLSchema}token">
* <enumeration value="BondEquivalentYield"/>
* <enumeration value="MoneyMarketYield"/>
* </restriction>
* </simpleType>
*
*
*/
@XmlType(name = "RateTreatmentEnum")
@XmlEnum
public enum RateTreatmentEnum {
/**
* Bond Equivalent Yield. Per Annex to the 2000 ISDA Definitions (June 2000 Version), Section 7.3. Certain General Definitions Relating to Floating Rate Options, paragraph (g).
*
*/
@XmlEnumValue("BondEquivalentYield")
BOND_EQUIVALENT_YIELD("BondEquivalentYield"),
/**
* Money Market Yield. Per Annex to the 2000 ISDA Definitions (June 2000 Version), Section 7.3. Certain General Definitions Relating to Floating Rate Options, paragraph (h).
*
*/
@XmlEnumValue("MoneyMarketYield")
MONEY_MARKET_YIELD("MoneyMarketYield");
private final String value;
RateTreatmentEnum(String v) {
value = v;
}
public String value() {
return value;
}
public static RateTreatmentEnum fromValue(String v) {
for (RateTreatmentEnum c: RateTreatmentEnum.values()) {
if (c.value.equals(v)) {
return c;
}
}
throw new IllegalArgumentException(v);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy