net.finmath.smartcontract.product.xml.TradeAmendmentContent Maven / Gradle / Ivy
//
// 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.XmlType;
/**
* A structure describing a negotiated amendment.
*
* Java class for TradeAmendmentContent complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="TradeAmendmentContent">
* <complexContent>
* <extension base="{http://www.fpml.org/FpML-5/confirmation}AbstractEvent">
* <sequence>
* <element name="trade" type="{http://www.fpml.org/FpML-5/confirmation}Trade"/>
* <group ref="{http://www.fpml.org/FpML-5/confirmation}AgreementAndEffectiveDates.model"/>
* <group ref="{http://www.fpml.org/FpML-5/confirmation}ReportingNotionalChange.model" minOccurs="0"/>
* <group ref="{http://www.fpml.org/FpML-5/confirmation}TradeAlterationPayment.model"/>
* </sequence>
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "TradeAmendmentContent", propOrder = {
"trade",
"agreementDate",
"executionDateTime",
"effectiveDate",
"notionalChange",
"changeInNotional",
"changeInNumberOfOptions",
"changeInQuantity",
"payment"
})
public class TradeAmendmentContent
extends AbstractEvent
{
@XmlElement(required = true)
protected Trade trade;
@XmlElement(required = true)
@XmlSchemaType(name = "date")
protected XMLGregorianCalendar agreementDate;
protected ExecutionDateTime executionDateTime;
@XmlElement(required = true)
@XmlSchemaType(name = "date")
protected XMLGregorianCalendar effectiveDate;
@XmlSchemaType(name = "token")
protected NotionalChangeEnum notionalChange;
protected List changeInNotional;
protected List changeInNumberOfOptions;
protected List changeInQuantity;
protected List payment;
/**
* Gets the value of the trade property.
*
* @return
* possible object is
* {@link Trade }
*
*/
public Trade getTrade() {
return trade;
}
/**
* Sets the value of the trade property.
*
* @param value
* allowed object is
* {@link Trade }
*
*/
public void setTrade(Trade value) {
this.trade = 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 notionalChange property.
*
* @return
* possible object is
* {@link NotionalChangeEnum }
*
*/
public NotionalChangeEnum getNotionalChange() {
return notionalChange;
}
/**
* Sets the value of the notionalChange property.
*
* @param value
* allowed object is
* {@link NotionalChangeEnum }
*
*/
public void setNotionalChange(NotionalChangeEnum value) {
this.notionalChange = value;
}
/**
* Gets the value of the changeInNotional 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 changeInNotional property.
*
*
* For example, to add a new item, do as follows:
*
* getChangeInNotional().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link MoneyRef }
*
*
*/
public List getChangeInNotional() {
if (changeInNotional == null) {
changeInNotional = new ArrayList();
}
return this.changeInNotional;
}
/**
* Gets the value of the changeInNumberOfOptions 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 changeInNumberOfOptions property.
*
*
* For example, to add a new item, do as follows:
*
* getChangeInNumberOfOptions().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link AmountRef }
*
*
*/
public List getChangeInNumberOfOptions() {
if (changeInNumberOfOptions == null) {
changeInNumberOfOptions = new ArrayList();
}
return this.changeInNumberOfOptions;
}
/**
* Gets the value of the changeInQuantity 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 changeInQuantity property.
*
*
* For example, to add a new item, do as follows:
*
* getChangeInQuantity().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link UnitQuantityRef }
*
*
*/
public List getChangeInQuantity() {
if (changeInQuantity == null) {
changeInQuantity = new ArrayList();
}
return this.changeInQuantity;
}
/**
* 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;
}
}