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

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

//
// 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.JAXBElement;
import jakarta.xml.bind.annotation.XmlAccessType;
import jakarta.xml.bind.annotation.XmlAccessorType;
import jakarta.xml.bind.annotation.XmlElementRef;
import jakarta.xml.bind.annotation.XmlElementRefs;
import jakarta.xml.bind.annotation.XmlType;


/**
 * A type for defining exercise procedures associated with an American style
 *                 exercise of a commodity option.
 *             
 * 
 * 

Java class for CommodityAmericanExercise complex type. * *

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

 * <complexType name="CommodityAmericanExercise">
 *   <complexContent>
 *     <extension base="{http://www.fpml.org/FpML-5/confirmation}Exercise">
 *       <sequence>
 *         <element name="exercisePeriod" type="{http://www.fpml.org/FpML-5/confirmation}CommodityExercisePeriods"/>
 *         <sequence minOccurs="0">
 *           <element name="exercisePeriod" type="{http://www.fpml.org/FpML-5/confirmation}CommodityExercisePeriods" maxOccurs="unbounded"/>
 *           <element name="exerciseFrequency" type="{http://www.fpml.org/FpML-5/confirmation}Frequency" minOccurs="0"/>
 *         </sequence>
 *         <choice minOccurs="0">
 *           <element name="latestExerciseTime" type="{http://www.fpml.org/FpML-5/confirmation}BusinessCenterTime"/>
 *           <element name="latestExerciseTimeDetermination" type="{http://www.fpml.org/FpML-5/confirmation}DeterminationMethod"/>
 *         </choice>
 *         <element name="expirationTime" type="{http://www.fpml.org/FpML-5/confirmation}BusinessCenterTime" minOccurs="0"/>
 *         <element name="multipleExercise" type="{http://www.fpml.org/FpML-5/confirmation}CommodityMultipleExercise" minOccurs="0"/>
 *       </sequence>
 *     </extension>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "CommodityAmericanExercise", propOrder = { "rest" }) public class CommodityAmericanExercise extends Exercise { @XmlElementRefs({ @XmlElementRef(name = "exercisePeriod", namespace = "http://www.fpml.org/FpML-5/confirmation", type = JAXBElement.class, required = false), @XmlElementRef(name = "exerciseFrequency", namespace = "http://www.fpml.org/FpML-5/confirmation", type = JAXBElement.class, required = false), @XmlElementRef(name = "latestExerciseTime", namespace = "http://www.fpml.org/FpML-5/confirmation", type = JAXBElement.class, required = false), @XmlElementRef(name = "latestExerciseTimeDetermination", namespace = "http://www.fpml.org/FpML-5/confirmation", type = JAXBElement.class, required = false), @XmlElementRef(name = "expirationTime", namespace = "http://www.fpml.org/FpML-5/confirmation", type = JAXBElement.class, required = false), @XmlElementRef(name = "multipleExercise", namespace = "http://www.fpml.org/FpML-5/confirmation", type = JAXBElement.class, required = false) }) protected List> rest; /** * Gets the rest of the content model. * *

* You are getting this "catch-all" property because of the following reason: * The field name "ExercisePeriod" is used by two different parts of a schema. See: * line 474 of file:/Users/fries/git-sdc/finmath-smart-derivative-contract/target/checkout/src/main/resources/schemas/fpml-schemas/fpml-com-5-9.xsd * line 464 of file:/Users/fries/git-sdc/finmath-smart-derivative-contract/target/checkout/src/main/resources/schemas/fpml-schemas/fpml-com-5-9.xsd *

* To get rid of this property, apply a property customization to one * of both of the following declarations to change their names: * Gets the value of the rest 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 rest property. * *

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

     *    getRest().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link JAXBElement }{@code <}{@link CommodityExercisePeriods }{@code >} * {@link JAXBElement }{@code <}{@link Frequency }{@code >} * {@link JAXBElement }{@code <}{@link BusinessCenterTime }{@code >} * {@link JAXBElement }{@code <}{@link DeterminationMethod }{@code >} * {@link JAXBElement }{@code <}{@link BusinessCenterTime }{@code >} * {@link JAXBElement }{@code <}{@link CommodityMultipleExercise }{@code >} * * */ public List> getRest() { if (rest == null) { rest = new ArrayList>(); } return this.rest; } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy