net.finmath.smartcontract.product.xml.Strategy 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.XmlType;
/**
* A type defining a group of products making up a single trade.
*
*
* Java class for Strategy complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="Strategy">
* <complexContent>
* <extension base="{http://www.fpml.org/FpML-5/confirmation}Product">
* <sequence>
* <element name="strategyComponentIdentifier" type="{http://www.fpml.org/FpML-5/confirmation}StrategyComponentIdentification" maxOccurs="unbounded" minOccurs="0"/>
* <element name="premiumProductReference" type="{http://www.fpml.org/FpML-5/confirmation}ProductReference" minOccurs="0"/>
* <element ref="{http://www.fpml.org/FpML-5/confirmation}product" maxOccurs="unbounded"/>
* </sequence>
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "Strategy", propOrder = {
"strategyComponentIdentifier",
"premiumProductReference",
"product"
})
public class Strategy
extends Product
{
protected List strategyComponentIdentifier;
protected ProductReference premiumProductReference;
@XmlElementRef(name = "product", namespace = "http://www.fpml.org/FpML-5/confirmation", type = JAXBElement.class)
protected List> product;
/**
* Gets the value of the strategyComponentIdentifier 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 strategyComponentIdentifier property.
*
*
* For example, to add a new item, do as follows:
*
* getStrategyComponentIdentifier().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link StrategyComponentIdentification }
*
*
*/
public List getStrategyComponentIdentifier() {
if (strategyComponentIdentifier == null) {
strategyComponentIdentifier = new ArrayList();
}
return this.strategyComponentIdentifier;
}
/**
* Gets the value of the premiumProductReference property.
*
* @return
* possible object is
* {@link ProductReference }
*
*/
public ProductReference getPremiumProductReference() {
return premiumProductReference;
}
/**
* Sets the value of the premiumProductReference property.
*
* @param value
* allowed object is
* {@link ProductReference }
*
*/
public void setPremiumProductReference(ProductReference value) {
this.premiumProductReference = value;
}
/**
* Gets the value of the product 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 product property.
*
*
* For example, to add a new item, do as follows:
*
* getProduct().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link JAXBElement }{@code <}{@link BrokerEquityOption }{@code >}
* {@link JAXBElement }{@code <}{@link Strategy }{@code >}
* {@link JAXBElement }{@code <}{@link FxSingleLeg }{@code >}
* {@link JAXBElement }{@code <}{@link VarianceSwap }{@code >}
* {@link JAXBElement }{@code <}{@link DividendSwapOptionTransactionSupplement }{@code >}
* {@link JAXBElement }{@code <}{@link BulletPayment }{@code >}
* {@link JAXBElement }{@code <}{@link ReturnSwap }{@code >}
* {@link JAXBElement }{@code <}{@link TermDeposit }{@code >}
* {@link JAXBElement }{@code <}{@link FxOption }{@code >}
* {@link JAXBElement }{@code <}{@link CommoditySwaption }{@code >}
* {@link JAXBElement }{@code <}{@link InstrumentTradeDetails }{@code >}
* {@link JAXBElement }{@code <}{@link CreditDefaultSwap }{@code >}
* {@link JAXBElement }{@code <}{@link CommodityPerformanceSwap }{@code >}
* {@link JAXBElement }{@code <}{@link FxPerformanceSwap }{@code >}
* {@link JAXBElement }{@code <}{@link FxAccrualOption }{@code >}
* {@link JAXBElement }{@code <}{@link CorrelationSwap }{@code >}
* {@link JAXBElement }{@code <}{@link CommodityBasketOption }{@code >}
* {@link JAXBElement }{@code <}{@link CommodityDigitalOption }{@code >}
* {@link JAXBElement }{@code <}{@link FxRangeAccrual }{@code >}
* {@link JAXBElement }{@code <}{@link FxAccrualForward }{@code >}
* {@link JAXBElement }{@code <}{@link FxFlexibleForward }{@code >}
* {@link JAXBElement }{@code <}{@link FxPerformanceSwap }{@code >}
* {@link JAXBElement }{@code <}{@link EquityOption }{@code >}
* {@link JAXBElement }{@code <}{@link CommoditySwap }{@code >}
* {@link JAXBElement }{@code <}{@link EquityOptionTransactionSupplement }{@code >}
* {@link JAXBElement }{@code <}{@link CreditDefaultSwapOption }{@code >}
* {@link JAXBElement }{@code <}{@link GenericProduct }{@code >}
* {@link JAXBElement }{@code <}{@link EquityForward }{@code >}
* {@link JAXBElement }{@code <}{@link EquitySwapTransactionSupplement }{@code >}
* {@link JAXBElement }{@code <}{@link DividendSwapTransactionSupplement }{@code >}
* {@link JAXBElement }{@code <}{@link VarianceSwapTransactionSupplement }{@code >}
* {@link JAXBElement }{@code <}{@link VolatilitySwapTransactionSupplement }{@code >}
* {@link JAXBElement }{@code <}{@link VarianceOptionTransactionSupplement }{@code >}
* {@link JAXBElement }{@code <}{@link Repo }{@code >}
* {@link JAXBElement }{@code <}{@link CommodityOption }{@code >}
* {@link JAXBElement }{@code <}{@link CommodityForward }{@code >}
* {@link JAXBElement }{@code <}{@link Swaption }{@code >}
* {@link JAXBElement }{@code <}{@link FxForwardVolatilityAgreement }{@code >}
* {@link JAXBElement }{@code <}{@link BondOption }{@code >}
* {@link JAXBElement }{@code <}{@link FxSwap }{@code >}
* {@link JAXBElement }{@code <}{@link FxTargetKnockoutForward }{@code >}
* {@link JAXBElement }{@code <}{@link FxAccrualDigitalOption }{@code >}
* {@link JAXBElement }{@code <}{@link Swap }{@code >}
* {@link JAXBElement }{@code <}{@link StandardProduct }{@code >}
* {@link JAXBElement }{@code <}{@link VolatilitySwap }{@code >}
* {@link JAXBElement }{@code <}{@link Fra }{@code >}
* {@link JAXBElement }{@code <}{@link CapFloor }{@code >}
* {@link JAXBElement }{@code <}{@link FxDigitalOption }{@code >}
* {@link JAXBElement }{@code <}{@link Product }{@code >}
*
*
*/
public List> getProduct() {
if (product == null) {
product = new ArrayList>();
}
return this.product;
}
}