net.finmath.smartcontract.product.xml.InstrumentSet Maven / Gradle / Ivy
Show all versions of finmath-smart-derivative-contract Show documentation
//
// 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 collection of instruments usable for quotation purposes. In future
* releases, quotable derivative assets may be added after the underlying asset.
*
*
* Java class for InstrumentSet complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="InstrumentSet">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence maxOccurs="unbounded" minOccurs="0">
* <choice>
* <element ref="{http://www.fpml.org/FpML-5/confirmation}underlyingAsset"/>
* <element ref="{http://www.fpml.org/FpML-5/confirmation}curveInstrument"/>
* </choice>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "InstrumentSet", propOrder = {
"underlyingAssetOrCurveInstrument"
})
public class InstrumentSet {
@XmlElementRefs({
@XmlElementRef(name = "underlyingAsset", namespace = "http://www.fpml.org/FpML-5/confirmation", type = JAXBElement.class, required = false),
@XmlElementRef(name = "curveInstrument", namespace = "http://www.fpml.org/FpML-5/confirmation", type = JAXBElement.class, required = false)
})
protected List> underlyingAssetOrCurveInstrument;
/**
* Gets the value of the underlyingAssetOrCurveInstrument 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 underlyingAssetOrCurveInstrument property.
*
*
* For example, to add a new item, do as follows:
*
* getUnderlyingAssetOrCurveInstrument().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link JAXBElement }{@code <}{@link Index }{@code >}
* {@link JAXBElement }{@code <}{@link Mortgage }{@code >}
* {@link JAXBElement }{@code <}{@link Cash }{@code >}
* {@link JAXBElement }{@code <}{@link EquityAsset }{@code >}
* {@link JAXBElement }{@code <}{@link Future }{@code >}
* {@link JAXBElement }{@code <}{@link Bond }{@code >}
* {@link JAXBElement }{@code <}{@link ConvertibleBond }{@code >}
* {@link JAXBElement }{@code <}{@link Basket }{@code >}
* {@link JAXBElement }{@code <}{@link ExchangeTradedFund }{@code >}
* {@link JAXBElement }{@code <}{@link Loan }{@code >}
* {@link JAXBElement }{@code <}{@link MutualFund }{@code >}
* {@link JAXBElement }{@code <}{@link ExchangeTradedOption }{@code >}
* {@link JAXBElement }{@code <}{@link Commodity }{@code >}
* {@link JAXBElement }{@code <}{@link Asset }{@code >}
* {@link JAXBElement }{@code <}{@link RateIndex }{@code >}
* {@link JAXBElement }{@code <}{@link FxRateAsset }{@code >}
* {@link JAXBElement }{@code <}{@link SimpleFra }{@code >}
* {@link JAXBElement }{@code <}{@link SimpleCreditDefaultSwap }{@code >}
* {@link JAXBElement }{@code <}{@link Deposit }{@code >}
* {@link JAXBElement }{@code <}{@link SimpleIRSwap }{@code >}
* {@link JAXBElement }{@code <}{@link Asset }{@code >}
*
*
*/
public List> getUnderlyingAssetOrCurveInstrument() {
if (underlyingAssetOrCurveInstrument == null) {
underlyingAssetOrCurveInstrument = new ArrayList>();
}
return this.underlyingAssetOrCurveInstrument;
}
}