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

org.fpml.fpml_5.confirmation.CommoditySwap 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.05.10 at 03:58:40 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.XmlElement;
import javax.xml.bind.annotation.XmlElementRef;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;


/**
 * The commodity swap product model is designed to support fixed-float swaps, float-float swaps, fixed vs. physical swaps, float vs. physical swaps as well as, weather specific swaps. Its design is fully compatible with other FpML products and the product reuses standard common types.
 * 
 * 

Java class for CommoditySwap complex type. * *

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

 * <complexType name="CommoditySwap">
 *   <complexContent>
 *     <extension base="{http://www.fpml.org/FpML-5/confirmation}Product">
 *       <sequence>
 *         <group ref="{http://www.fpml.org/FpML-5/confirmation}CommoditySwapDetails.model"/>
 *       </sequence>
 *     </extension>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "CommoditySwap", propOrder = { "effectiveDate", "terminationDate", "settlementCurrency", "commoditySwapLeg", "weatherLeg", "commonPricing", "marketDisruption", "settlementDisruption", "rounding" }) public class CommoditySwap extends Product { @XmlElement(required = true) protected AdjustableOrRelativeDate effectiveDate; @XmlElement(required = true) protected AdjustableOrRelativeDate terminationDate; @XmlElement(required = true) protected IdentifiedCurrency settlementCurrency; @XmlElementRef(name = "commoditySwapLeg", namespace = "http://www.fpml.org/FpML-5/confirmation", type = JAXBElement.class, required = false) protected List> commoditySwapLeg; protected List weatherLeg; protected Boolean commonPricing; protected CommodityMarketDisruption marketDisruption; @XmlSchemaType(name = "token") protected CommodityBullionSettlementDisruptionEnum settlementDisruption; protected Rounding rounding; /** * Gets the value of the effectiveDate property. * * @return * possible object is * {@link AdjustableOrRelativeDate } * */ public AdjustableOrRelativeDate getEffectiveDate() { return effectiveDate; } /** * Sets the value of the effectiveDate property. * * @param value * allowed object is * {@link AdjustableOrRelativeDate } * */ public void setEffectiveDate(AdjustableOrRelativeDate value) { this.effectiveDate = value; } /** * Gets the value of the terminationDate property. * * @return * possible object is * {@link AdjustableOrRelativeDate } * */ public AdjustableOrRelativeDate getTerminationDate() { return terminationDate; } /** * Sets the value of the terminationDate property. * * @param value * allowed object is * {@link AdjustableOrRelativeDate } * */ public void setTerminationDate(AdjustableOrRelativeDate value) { this.terminationDate = value; } /** * Gets the value of the settlementCurrency property. * * @return * possible object is * {@link IdentifiedCurrency } * */ public IdentifiedCurrency getSettlementCurrency() { return settlementCurrency; } /** * Sets the value of the settlementCurrency property. * * @param value * allowed object is * {@link IdentifiedCurrency } * */ public void setSettlementCurrency(IdentifiedCurrency value) { this.settlementCurrency = value; } /** * Gets the value of the commoditySwapLeg 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 commoditySwapLeg property. * *

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

     *    getCommoditySwapLeg().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link JAXBElement }{@code <}{@link OilPhysicalLeg }{@code >} * {@link JAXBElement }{@code <}{@link EnvironmentalPhysicalLeg }{@code >} * {@link JAXBElement }{@code <}{@link GasPhysicalLeg }{@code >} * {@link JAXBElement }{@code <}{@link CoalPhysicalLeg }{@code >} * {@link JAXBElement }{@code <}{@link FloatingPriceLeg }{@code >} * {@link JAXBElement }{@code <}{@link ElectricityPhysicalLeg }{@code >} * {@link JAXBElement }{@code <}{@link FixedPriceLeg }{@code >} * {@link JAXBElement }{@code <}{@link CommoditySwapLeg }{@code >} * * */ public List> getCommoditySwapLeg() { if (commoditySwapLeg == null) { commoditySwapLeg = new ArrayList>(); } return this.commoditySwapLeg; } /** * Gets the value of the weatherLeg 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 weatherLeg property. * *

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

     *    getWeatherLeg().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link WeatherLeg } * * */ public List getWeatherLeg() { if (weatherLeg == null) { weatherLeg = new ArrayList(); } return this.weatherLeg; } /** * Gets the value of the commonPricing property. * * @return * possible object is * {@link Boolean } * */ public Boolean isCommonPricing() { return commonPricing; } /** * Sets the value of the commonPricing property. * * @param value * allowed object is * {@link Boolean } * */ public void setCommonPricing(Boolean value) { this.commonPricing = value; } /** * Gets the value of the marketDisruption property. * * @return * possible object is * {@link CommodityMarketDisruption } * */ public CommodityMarketDisruption getMarketDisruption() { return marketDisruption; } /** * Sets the value of the marketDisruption property. * * @param value * allowed object is * {@link CommodityMarketDisruption } * */ public void setMarketDisruption(CommodityMarketDisruption value) { this.marketDisruption = value; } /** * Gets the value of the settlementDisruption property. * * @return * possible object is * {@link CommodityBullionSettlementDisruptionEnum } * */ public CommodityBullionSettlementDisruptionEnum getSettlementDisruption() { return settlementDisruption; } /** * Sets the value of the settlementDisruption property. * * @param value * allowed object is * {@link CommodityBullionSettlementDisruptionEnum } * */ public void setSettlementDisruption(CommodityBullionSettlementDisruptionEnum value) { this.settlementDisruption = value; } /** * Gets the value of the rounding property. * * @return * possible object is * {@link Rounding } * */ public Rounding getRounding() { return rounding; } /** * Sets the value of the rounding property. * * @param value * allowed object is * {@link Rounding } * */ public void setRounding(Rounding value) { this.rounding = value; } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy