Class InstrumentSet

java.lang.Object
net.finmath.smartcontract.product.xml.InstrumentSet

public class InstrumentSet extends Object
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>
 
  • Field Details

    • underlyingAssetOrCurveInstrument

      protected List<jakarta.xml.bind.JAXBElement<? extends Asset>> underlyingAssetOrCurveInstrument
  • Constructor Details

    • InstrumentSet

      public InstrumentSet()
  • Method Details

    • getUnderlyingAssetOrCurveInstrument

      public List<jakarta.xml.bind.JAXBElement<? extends Asset>> getUnderlyingAssetOrCurveInstrument()
      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 JAXBElement<EquityAsset> JAXBElement<Future> JAXBElement<Cash> JAXBElement<Loan> JAXBElement<Bond> JAXBElement<ConvertibleBond> JAXBElement<Basket> JAXBElement<Commodity> JAXBElement<ExchangeTradedFund> JAXBElement<Index> JAXBElement<MutualFund> JAXBElement<Mortgage> JAXBElement<ExchangeTradedOption> JAXBElement<Asset> JAXBElement<RateIndex> JAXBElement<FxRateAsset> JAXBElement<SimpleFra> JAXBElement<SimpleIRSwap> JAXBElement<Deposit> JAXBElement<SimpleCreditDefaultSwap> JAXBElement<Asset>