net.finmath.smartcontract.product.xml.ApprovalStatusNotification 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;
/**
* A message describing the approvals currently applied to the trade and their
* status (e.g. pending, approved, refused).
*
*
* Java class for ApprovalStatusNotification complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="ApprovalStatusNotification">
* <complexContent>
* <extension base="{http://www.fpml.org/FpML-5/confirmation}NotificationMessage">
* <sequence>
* <choice>
* <element name="trade" type="{http://www.fpml.org/FpML-5/confirmation}Trade"/>
* <element name="tradeIdentifier" type="{http://www.fpml.org/FpML-5/confirmation}TradeIdentifier"/>
* </choice>
* <element name="approvals" type="{http://www.fpml.org/FpML-5/confirmation}Approvals"/>
* <group ref="{http://www.fpml.org/FpML-5/confirmation}PartiesAndAccounts.model" minOccurs="0"/>
* </sequence>
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "ApprovalStatusNotification", propOrder = {
"trade",
"tradeIdentifier",
"approvals",
"party",
"account"
})
public class ApprovalStatusNotification
extends NotificationMessage
{
protected Trade trade;
protected TradeIdentifier tradeIdentifier;
@XmlElement(required = true)
protected Approvals approvals;
protected List party;
protected List account;
/**
* 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 tradeIdentifier property.
*
* @return
* possible object is
* {@link TradeIdentifier }
*
*/
public TradeIdentifier getTradeIdentifier() {
return tradeIdentifier;
}
/**
* Sets the value of the tradeIdentifier property.
*
* @param value
* allowed object is
* {@link TradeIdentifier }
*
*/
public void setTradeIdentifier(TradeIdentifier value) {
this.tradeIdentifier = value;
}
/**
* Gets the value of the approvals property.
*
* @return
* possible object is
* {@link Approvals }
*
*/
public Approvals getApprovals() {
return approvals;
}
/**
* Sets the value of the approvals property.
*
* @param value
* allowed object is
* {@link Approvals }
*
*/
public void setApprovals(Approvals value) {
this.approvals = value;
}
/**
* 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;
}
}