org.fpml.fpml_5.confirmation.PayRelativeToEnum 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 PayRelativeToEnum.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <simpleType name="PayRelativeToEnum">
* <restriction base="{http://www.w3.org/2001/XMLSchema}token">
* <enumeration value="CalculationPeriodStartDate"/>
* <enumeration value="CalculationPeriodEndDate"/>
* <enumeration value="LastPricingDate"/>
* <enumeration value="ResetDate"/>
* <enumeration value="ValuationDate"/>
* </restriction>
* </simpleType>
*
*
*/
@XmlType(name = "PayRelativeToEnum")
@XmlEnum
public enum PayRelativeToEnum {
/**
* Payments will occur relative to the first day of each calculation period.
*
*/
@XmlEnumValue("CalculationPeriodStartDate")
CALCULATION_PERIOD_START_DATE("CalculationPeriodStartDate"),
/**
* Payments will occur relative to the last day of each calculation period.
*
*/
@XmlEnumValue("CalculationPeriodEndDate")
CALCULATION_PERIOD_END_DATE("CalculationPeriodEndDate"),
/**
* Payments will occur relative to the last Pricing Date of each Calculation Period.
*
*/
@XmlEnumValue("LastPricingDate")
LAST_PRICING_DATE("LastPricingDate"),
/**
* Payments will occur relative to the reset date.
*
*/
@XmlEnumValue("ResetDate")
RESET_DATE("ResetDate"),
/**
* Payments will occur relative to the valuation date.
*
*/
@XmlEnumValue("ValuationDate")
VALUATION_DATE("ValuationDate");
private final String value;
PayRelativeToEnum(String v) {
value = v;
}
public String value() {
return value;
}
public static PayRelativeToEnum fromValue(String v) {
for (PayRelativeToEnum c: PayRelativeToEnum.values()) {
if (c.value.equals(v)) {
return c;
}
}
throw new IllegalArgumentException(v);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy