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

net.finmath.smartcontract.product.xml.TradeChangeBase Maven / Gradle / Ivy

There is a newer version: 1.0.6
Show newest version
//
// 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 javax.xml.datatype.XMLGregorianCalendar;
import jakarta.xml.bind.annotation.XmlAccessType;
import jakarta.xml.bind.annotation.XmlAccessorType;
import jakarta.xml.bind.annotation.XmlElement;
import jakarta.xml.bind.annotation.XmlSchemaType;
import jakarta.xml.bind.annotation.XmlSeeAlso;
import jakarta.xml.bind.annotation.XmlType;


/**
 * A structure describing a trade change.
 * 
 * 

Java class for TradeChangeBase complex type. * *

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

 * <complexType name="TradeChangeBase">
 *   <complexContent>
 *     <extension base="{http://www.fpml.org/FpML-5/confirmation}AbstractEvent">
 *       <sequence>
 *         <choice>
 *           <element name="tradeIdentifier" type="{http://www.fpml.org/FpML-5/confirmation}PartyTradeIdentifier" maxOccurs="unbounded"/>
 *           <element name="originalTrade" type="{http://www.fpml.org/FpML-5/confirmation}Trade"/>
 *         </choice>
 *         <element name="resultingTrade" type="{http://www.fpml.org/FpML-5/confirmation}Trade" minOccurs="0"/>
 *         <group ref="{http://www.fpml.org/FpML-5/confirmation}AgreementAndEffectiveDates.model"/>
 *         <group ref="{http://www.fpml.org/FpML-5/confirmation}TradeAlterationPayment.model"/>
 *       </sequence>
 *     </extension>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "TradeChangeBase", propOrder = { "tradeIdentifier", "originalTrade", "resultingTrade", "agreementDate", "executionDateTime", "effectiveDate", "payment" }) @XmlSeeAlso({ TradeNotionalChange.class }) public class TradeChangeBase extends AbstractEvent { protected List tradeIdentifier; protected Trade originalTrade; protected Trade resultingTrade; @XmlElement(required = true) @XmlSchemaType(name = "date") protected XMLGregorianCalendar agreementDate; protected ExecutionDateTime executionDateTime; @XmlElement(required = true) @XmlSchemaType(name = "date") protected XMLGregorianCalendar effectiveDate; protected List payment; /** * Gets the value of the tradeIdentifier 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 tradeIdentifier property. * *

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

     *    getTradeIdentifier().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link PartyTradeIdentifier } * * */ public List getTradeIdentifier() { if (tradeIdentifier == null) { tradeIdentifier = new ArrayList(); } return this.tradeIdentifier; } /** * Gets the value of the originalTrade property. * * @return * possible object is * {@link Trade } * */ public Trade getOriginalTrade() { return originalTrade; } /** * Sets the value of the originalTrade property. * * @param value * allowed object is * {@link Trade } * */ public void setOriginalTrade(Trade value) { this.originalTrade = value; } /** * Gets the value of the resultingTrade property. * * @return * possible object is * {@link Trade } * */ public Trade getResultingTrade() { return resultingTrade; } /** * Sets the value of the resultingTrade property. * * @param value * allowed object is * {@link Trade } * */ public void setResultingTrade(Trade value) { this.resultingTrade = value; } /** * Gets the value of the agreementDate property. * * @return * possible object is * {@link XMLGregorianCalendar } * */ public XMLGregorianCalendar getAgreementDate() { return agreementDate; } /** * Sets the value of the agreementDate property. * * @param value * allowed object is * {@link XMLGregorianCalendar } * */ public void setAgreementDate(XMLGregorianCalendar value) { this.agreementDate = value; } /** * Gets the value of the executionDateTime property. * * @return * possible object is * {@link ExecutionDateTime } * */ public ExecutionDateTime getExecutionDateTime() { return executionDateTime; } /** * Sets the value of the executionDateTime property. * * @param value * allowed object is * {@link ExecutionDateTime } * */ public void setExecutionDateTime(ExecutionDateTime value) { this.executionDateTime = value; } /** * Gets the value of the effectiveDate property. * * @return * possible object is * {@link XMLGregorianCalendar } * */ public XMLGregorianCalendar getEffectiveDate() { return effectiveDate; } /** * Sets the value of the effectiveDate property. * * @param value * allowed object is * {@link XMLGregorianCalendar } * */ public void setEffectiveDate(XMLGregorianCalendar value) { this.effectiveDate = value; } /** * Gets the value of the payment 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 payment property. * *

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

     *    getPayment().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link Payment } * * */ public List getPayment() { if (payment == null) { payment = new ArrayList(); } return this.payment; } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy