
org.fpml.fpml_5.confirmation.ExchangeTradedContractUnderlyer Maven / Gradle / Ivy
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.3.2
// See https://javaee.github.io/jaxb-v2/
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2024.04.04 at 04:56:21 PM UTC
//
package org.fpml.fpml_5.confirmation;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.JAXBElement;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElementRef;
import javax.xml.bind.annotation.XmlType;
/**
* A type describing a single underlyer
*
* Java class for ExchangeTradedContractUnderlyer complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="ExchangeTradedContractUnderlyer">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <choice>
* <group ref="{http://www.fpml.org/FpML-5/confirmation}FloatingRateIndex.model"/>
* <element name="quotedCurrencyPair" type="{http://www.fpml.org/FpML-5/confirmation}QuotedCurrencyPair"/>
* <element ref="{http://www.fpml.org/FpML-5/confirmation}underlyingAsset" maxOccurs="unbounded"/>
* </choice>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "ExchangeTradedContractUnderlyer", propOrder = {
"floatingRateIndex",
"indexTenor",
"quotedCurrencyPair",
"underlyingAsset"
})
public class ExchangeTradedContractUnderlyer {
protected FloatingRateIndex floatingRateIndex;
protected Period indexTenor;
protected QuotedCurrencyPair quotedCurrencyPair;
@XmlElementRef(name = "underlyingAsset", namespace = "http://www.fpml.org/FpML-5/confirmation", type = JAXBElement.class, required = false)
protected List> underlyingAsset;
/**
* Gets the value of the floatingRateIndex property.
*
* @return
* possible object is
* {@link FloatingRateIndex }
*
*/
public FloatingRateIndex getFloatingRateIndex() {
return floatingRateIndex;
}
/**
* Sets the value of the floatingRateIndex property.
*
* @param value
* allowed object is
* {@link FloatingRateIndex }
*
*/
public void setFloatingRateIndex(FloatingRateIndex value) {
this.floatingRateIndex = value;
}
/**
* Gets the value of the indexTenor property.
*
* @return
* possible object is
* {@link Period }
*
*/
public Period getIndexTenor() {
return indexTenor;
}
/**
* Sets the value of the indexTenor property.
*
* @param value
* allowed object is
* {@link Period }
*
*/
public void setIndexTenor(Period value) {
this.indexTenor = value;
}
/**
* Gets the value of the quotedCurrencyPair property.
*
* @return
* possible object is
* {@link QuotedCurrencyPair }
*
*/
public QuotedCurrencyPair getQuotedCurrencyPair() {
return quotedCurrencyPair;
}
/**
* Sets the value of the quotedCurrencyPair property.
*
* @param value
* allowed object is
* {@link QuotedCurrencyPair }
*
*/
public void setQuotedCurrencyPair(QuotedCurrencyPair value) {
this.quotedCurrencyPair = value;
}
/**
* Gets the value of the underlyingAsset 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 JAXB object.
* This is why there is not a set
method for the underlyingAsset property.
*
*
* For example, to add a new item, do as follows:
*
* getUnderlyingAsset().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link JAXBElement }{@code <}{@link Future }{@code >}
* {@link JAXBElement }{@code <}{@link Commodity }{@code >}
* {@link JAXBElement }{@code <}{@link MutualFund }{@code >}
* {@link JAXBElement }{@code <}{@link Cash }{@code >}
* {@link JAXBElement }{@code <}{@link Mortgage }{@code >}
* {@link JAXBElement }{@code <}{@link Index }{@code >}
* {@link JAXBElement }{@code <}{@link ExchangeTradedContract }{@code >}
* {@link JAXBElement }{@code <}{@link EquityAsset }{@code >}
* {@link JAXBElement }{@code <}{@link Loan }{@code >}
* {@link JAXBElement }{@code <}{@link Bond }{@code >}
* {@link JAXBElement }{@code <}{@link ExchangeTradedOption }{@code >}
* {@link JAXBElement }{@code <}{@link Basket }{@code >}
* {@link JAXBElement }{@code <}{@link ConvertibleBond }{@code >}
* {@link JAXBElement }{@code <}{@link ExchangeTradedFund }{@code >}
* {@link JAXBElement }{@code <}{@link Asset }{@code >}
*
*
*/
public List> getUnderlyingAsset() {
if (underlyingAsset == null) {
underlyingAsset = new ArrayList>();
}
return this.underlyingAsset;
}
}