All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.fpml.fpml_5.confirmation.AveragingInOutEnum Maven / Gradle / Ivy

There is a newer version: 6.0.0-dev.61
Show newest version
//
// 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 AveragingInOutEnum. * *

The following schema fragment specifies the expected content contained within this class. *

*

 * <simpleType name="AveragingInOutEnum">
 *   <restriction base="{http://www.w3.org/2001/XMLSchema}token">
 *     <enumeration value="In"/>
 *     <enumeration value="Out"/>
 *     <enumeration value="Both"/>
 *   </restriction>
 * </simpleType>
 * 
* */ @XmlType(name = "AveragingInOutEnum") @XmlEnum public enum AveragingInOutEnum { /** * The average price is used to derive the strike price. Also known as "Asian strike" style option. * */ @XmlEnumValue("In") IN("In"), /** * The average price is used to derive the expiration price. Also known as "Asian price" style option. * */ @XmlEnumValue("Out") OUT("Out"), /** * The average price is used to derive both the strike and the expiration price. * */ @XmlEnumValue("Both") BOTH("Both"); private final String value; AveragingInOutEnum(String v) { value = v; } public String value() { return value; } public static AveragingInOutEnum fromValue(String v) { for (AveragingInOutEnum c: AveragingInOutEnum.values()) { if (c.value.equals(v)) { return c; } } throw new IllegalArgumentException(v); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy