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

net.finmath.smartcontract.product.xml.FxTargetLeverage 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 java.util.ArrayList;
import java.util.List;
import jakarta.xml.bind.annotation.XmlAccessType;
import jakarta.xml.bind.annotation.XmlAccessorType;
import jakarta.xml.bind.annotation.XmlAttribute;
import jakarta.xml.bind.annotation.XmlElement;
import jakarta.xml.bind.annotation.XmlID;
import jakarta.xml.bind.annotation.XmlSchemaType;
import jakarta.xml.bind.annotation.XmlType;
import jakarta.xml.bind.annotation.adapters.CollapsedStringAdapter;
import jakarta.xml.bind.annotation.adapters.XmlJavaTypeAdapter;


/**
 * 

Java class for FxTargetLeverage complex type. * *

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

 * <complexType name="FxTargetLeverage">
 *   <complexContent>
 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       <sequence>
 *         <element name="condition" type="{http://www.fpml.org/FpML-5/confirmation}ConditionEnum"/>
 *         <group ref="{http://www.fpml.org/FpML-5/confirmation}FxTargetConditionLevel.model"/>
 *         <choice>
 *           <element name="ratio" type="{http://www.fpml.org/FpML-5/confirmation}Schedule"/>
 *           <sequence>
 *             <element name="notionalAmount" type="{http://www.fpml.org/FpML-5/confirmation}NonNegativeAmountSchedule"/>
 *             <element name="counterCurrencyAmount" type="{http://www.fpml.org/FpML-5/confirmation}FxCounterCurrencyAmount" maxOccurs="unbounded" minOccurs="0"/>
 *           </sequence>
 *         </choice>
 *       </sequence>
 *       <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" />
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "FxTargetLeverage", propOrder = { "condition", "level", "strikeReference", "pivotReference", "barrierReference", "levelReference", "ratio", "notionalAmount", "counterCurrencyAmount" }) public class FxTargetLeverage { @XmlElement(required = true) @XmlSchemaType(name = "token") protected ConditionEnum condition; protected FxLevel level; protected FxStrikeReference strikeReference; protected FxPivotReference pivotReference; protected FxComplexBarrierBaseReference barrierReference; protected FxLevelReference levelReference; protected Schedule ratio; protected NonNegativeAmountSchedule notionalAmount; protected List counterCurrencyAmount; @XmlAttribute(name = "id") @XmlJavaTypeAdapter(CollapsedStringAdapter.class) @XmlID @XmlSchemaType(name = "ID") protected String id; /** * Gets the value of the condition property. * * @return * possible object is * {@link ConditionEnum } * */ public ConditionEnum getCondition() { return condition; } /** * Sets the value of the condition property. * * @param value * allowed object is * {@link ConditionEnum } * */ public void setCondition(ConditionEnum value) { this.condition = value; } /** * Gets the value of the level property. * * @return * possible object is * {@link FxLevel } * */ public FxLevel getLevel() { return level; } /** * Sets the value of the level property. * * @param value * allowed object is * {@link FxLevel } * */ public void setLevel(FxLevel value) { this.level = value; } /** * Gets the value of the strikeReference property. * * @return * possible object is * {@link FxStrikeReference } * */ public FxStrikeReference getStrikeReference() { return strikeReference; } /** * Sets the value of the strikeReference property. * * @param value * allowed object is * {@link FxStrikeReference } * */ public void setStrikeReference(FxStrikeReference value) { this.strikeReference = value; } /** * Gets the value of the pivotReference property. * * @return * possible object is * {@link FxPivotReference } * */ public FxPivotReference getPivotReference() { return pivotReference; } /** * Sets the value of the pivotReference property. * * @param value * allowed object is * {@link FxPivotReference } * */ public void setPivotReference(FxPivotReference value) { this.pivotReference = value; } /** * Gets the value of the barrierReference property. * * @return * possible object is * {@link FxComplexBarrierBaseReference } * */ public FxComplexBarrierBaseReference getBarrierReference() { return barrierReference; } /** * Sets the value of the barrierReference property. * * @param value * allowed object is * {@link FxComplexBarrierBaseReference } * */ public void setBarrierReference(FxComplexBarrierBaseReference value) { this.barrierReference = value; } /** * Gets the value of the levelReference property. * * @return * possible object is * {@link FxLevelReference } * */ public FxLevelReference getLevelReference() { return levelReference; } /** * Sets the value of the levelReference property. * * @param value * allowed object is * {@link FxLevelReference } * */ public void setLevelReference(FxLevelReference value) { this.levelReference = value; } /** * Gets the value of the ratio property. * * @return * possible object is * {@link Schedule } * */ public Schedule getRatio() { return ratio; } /** * Sets the value of the ratio property. * * @param value * allowed object is * {@link Schedule } * */ public void setRatio(Schedule value) { this.ratio = value; } /** * Gets the value of the notionalAmount property. * * @return * possible object is * {@link NonNegativeAmountSchedule } * */ public NonNegativeAmountSchedule getNotionalAmount() { return notionalAmount; } /** * Sets the value of the notionalAmount property. * * @param value * allowed object is * {@link NonNegativeAmountSchedule } * */ public void setNotionalAmount(NonNegativeAmountSchedule value) { this.notionalAmount = value; } /** * Gets the value of the counterCurrencyAmount property. * *

* This accessor method returns a reference to the live list, * not a snapshot. Therefore any modification you make to the * returned list will be present inside the Jakarta XML Binding object. * This is why there is not a set method for the counterCurrencyAmount property. * *

* For example, to add a new item, do as follows: *

     *    getCounterCurrencyAmount().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link FxCounterCurrencyAmount } * * */ public List getCounterCurrencyAmount() { if (counterCurrencyAmount == null) { counterCurrencyAmount = new ArrayList(); } return this.counterCurrencyAmount; } /** * Gets the value of the id property. * * @return * possible object is * {@link String } * */ public String getId() { return id; } /** * Sets the value of the id property. * * @param value * allowed object is * {@link String } * */ public void setId(String value) { this.id = value; } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy