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

net.finmath.smartcontract.product.xml.ExerciseActionEnum Maven / Gradle / Ivy

There is a newer version: 1.0.6
Show newest version
//
// This file was generated by the Eclipse Implementation of JAXB, v3.0.0 
// See https://eclipse-ee4j.github.io/jaxb-ri 
// Any modifications to this file will be lost upon recompilation of the source schema. 
// Generated on: 2024.12.05 at 10:53:57 AM CET 
//


package net.finmath.smartcontract.product.xml;

import jakarta.xml.bind.annotation.XmlEnum;
import jakarta.xml.bind.annotation.XmlEnumValue;
import jakarta.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