org.fpml.fpml_5.confirmation.NegativeInterestRateTreatmentEnum 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 NegativeInterestRateTreatmentEnum.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <simpleType name="NegativeInterestRateTreatmentEnum">
* <restriction base="{http://www.w3.org/2001/XMLSchema}token">
* <enumeration value="NegativeInterestRateMethod"/>
* <enumeration value="ZeroInterestRateMethod"/>
* </restriction>
* </simpleType>
*
*
*/
@XmlType(name = "NegativeInterestRateTreatmentEnum")
@XmlEnum
public enum NegativeInterestRateTreatmentEnum {
/**
* Negative Interest Rate Method. Per 2000 ISDA Definitions, Section 6.4 Negative Interest Rates, paragraphs (b) and (c).
*
*/
@XmlEnumValue("NegativeInterestRateMethod")
NEGATIVE_INTEREST_RATE_METHOD("NegativeInterestRateMethod"),
/**
* Zero Interest Rate Method. Per 2000 ISDA Definitions, Section 6.4. Negative Interest Rates, paragraphs (d) and (e).
*
*/
@XmlEnumValue("ZeroInterestRateMethod")
ZERO_INTEREST_RATE_METHOD("ZeroInterestRateMethod");
private final String value;
NegativeInterestRateTreatmentEnum(String v) {
value = v;
}
public String value() {
return value;
}
public static NegativeInterestRateTreatmentEnum fromValue(String v) {
for (NegativeInterestRateTreatmentEnum c: NegativeInterestRateTreatmentEnum.values()) {
if (c.value.equals(v)) {
return c;
}
}
throw new IllegalArgumentException(v);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy