org.fpml.fpml_5.confirmation.ExerciseActionEnum 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 ExerciseActionEnum.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <simpleType name="ExerciseActionEnum">
* <restriction base="{http://www.w3.org/2001/XMLSchema}token">
* <enumeration value="FullExercise"/>
* <enumeration value="PartialExercise"/>
* <enumeration value="Abandon"/>
* </restriction>
* </simpleType>
*
*
*/
@XmlType(name = "ExerciseActionEnum")
@XmlEnum
public enum ExerciseActionEnum {
/**
* The option was or is to be exercised fully.
*
*/
@XmlEnumValue("FullExercise")
FULL_EXERCISE("FullExercise"),
/**
* The option was or is to be exercised partially. The amount of the exercise is specified elsewhere in the document than in the exercise amount; for example, in the case of a physical exercise the size of the resulting trade is the same as the amount that was exercise, so if it is specified it is not necessary to specify the amount of the partial exercise.
*
*/
@XmlEnumValue("PartialExercise")
PARTIAL_EXERCISE("PartialExercise"),
/**
* The option was or is to be allowed to expire without being exercised, i.e. it is being abandoned.
*
*/
@XmlEnumValue("Abandon")
ABANDON("Abandon");
private final String value;
ExerciseActionEnum(String v) {
value = v;
}
public String value() {
return value;
}
public static ExerciseActionEnum fromValue(String v) {
for (ExerciseActionEnum c: ExerciseActionEnum.values()) {
if (c.value.equals(v)) {
return c;
}
}
throw new IllegalArgumentException(v);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy