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

net.finmath.smartcontract.product.xml.FxTargetStyleEnum 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 FxTargetStyleEnum. * *

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

 * <simpleType name="FxTargetStyleEnum">
 *   <restriction base="{http://www.w3.org/2001/XMLSchema}token">
 *     <enumeration value="Exact"/>
 *     <enumeration value="Exclusive"/>
 *     <enumeration value="Inclusive"/>
 *   </restriction>
 * </simpleType>
 * 
* */ @XmlType(name = "FxTargetStyleEnum") @XmlEnum public enum FxTargetStyleEnum { /** * The gain for the knockout period is adjusted to yield a final * accumulated value equal to the target level. * * */ @XmlEnumValue("Exact") EXACT("Exact"), /** * The gain for the knockout period is adjusted to zero i.e. the * target yields zero value in the final period. * * */ @XmlEnumValue("Exclusive") EXCLUSIVE("Exclusive"), /** * The gain for the knockout period is equal to the whole benefit of * the final fixing over spot i.e. the final accumulated value may exceed the target level. * * */ @XmlEnumValue("Inclusive") INCLUSIVE("Inclusive"); private final String value; FxTargetStyleEnum(String v) { value = v; } public String value() { return value; } public static FxTargetStyleEnum fromValue(String v) { for (FxTargetStyleEnum c: FxTargetStyleEnum.values()) { if (c.value.equals(v)) { return c; } } throw new IllegalArgumentException(v); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy