net.finmath.smartcontract.product.xml.TradeChangeAdvice 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.annotation.XmlAccessType;
import jakarta.xml.bind.annotation.XmlAccessorType;
import jakarta.xml.bind.annotation.XmlElement;
import jakarta.xml.bind.annotation.XmlType;
/**
* Defines the structure for a message indicating that a trade is being
* changed due to a non-negotiated event.
*
*
* Java class for TradeChangeAdvice complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="TradeChangeAdvice">
* <complexContent>
* <extension base="{http://www.fpml.org/FpML-5/confirmation}CorrectableRequestMessage">
* <sequence>
* <element name="change" type="{http://www.fpml.org/FpML-5/confirmation}TradeChangeContent"/>
* <group ref="{http://www.fpml.org/FpML-5/confirmation}EventValuation.model" minOccurs="0"/>
* <element name="paymentDetails" type="{http://www.fpml.org/FpML-5/confirmation}PaymentDetails" maxOccurs="unbounded" minOccurs="0"/>
* <group ref="{http://www.fpml.org/FpML-5/confirmation}PartiesAndAccounts.model"/>
* </sequence>
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "TradeChangeAdvice", propOrder = {
"change",
"quote",
"paymentDetails",
"party",
"account"
})
public class TradeChangeAdvice
extends CorrectableRequestMessage
{
@XmlElement(required = true)
protected TradeChangeContent change;
protected List quote;
protected List paymentDetails;
@XmlElement(required = true)
protected List party;
protected List account;
/**
* Gets the value of the change property.
*
* @return
* possible object is
* {@link TradeChangeContent }
*
*/
public TradeChangeContent getChange() {
return change;
}
/**
* Sets the value of the change property.
*
* @param value
* allowed object is
* {@link TradeChangeContent }
*
*/
public void setChange(TradeChangeContent value) {
this.change = value;
}
/**
* Gets the value of the quote 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 quote property.
*
*
* For example, to add a new item, do as follows:
*
* getQuote().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link BasicQuotation }
*
*
*/
public List getQuote() {
if (quote == null) {
quote = new ArrayList();
}
return this.quote;
}
/**
* Gets the value of the paymentDetails 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 paymentDetails property.
*
*
* For example, to add a new item, do as follows:
*
* getPaymentDetails().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link PaymentDetails }
*
*
*/
public List getPaymentDetails() {
if (paymentDetails == null) {
paymentDetails = new ArrayList();
}
return this.paymentDetails;
}
/**
* Gets the value of the party 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 party property.
*
*
* For example, to add a new item, do as follows:
*
* getParty().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link Party }
*
*
*/
public List getParty() {
if (party == null) {
party = new ArrayList();
}
return this.party;
}
/**
* Gets the value of the account 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 account property.
*
*
* For example, to add a new item, do as follows:
*
* getAccount().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link Account }
*
*
*/
public List getAccount() {
if (account == null) {
account = new ArrayList();
}
return this.account;
}
}