org.fpml.fpml_5.confirmation.AllocationApproved 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.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlType;
/**
* A message indicating that a request to allocate a trade has been approved by the sender.
*
* Java class for AllocationApproved complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="AllocationApproved">
* <complexContent>
* <extension base="{http://www.fpml.org/FpML-5/confirmation}ResponseMessage">
* <sequence>
* <element name="blockTradeIdentifier" type="{http://www.fpml.org/FpML-5/confirmation}TradeIdentifier" minOccurs="0"/>
* <element name="allocations" type="{http://www.fpml.org/FpML-5/confirmation}Allocations" minOccurs="0"/>
* <group ref="{http://www.fpml.org/FpML-5/confirmation}PartiesAndAccounts.model" minOccurs="0"/>
* </sequence>
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "AllocationApproved", propOrder = {
"blockTradeIdentifier",
"allocations",
"party",
"account"
})
public class AllocationApproved
extends ResponseMessage
{
protected TradeIdentifier blockTradeIdentifier;
protected Allocations allocations;
protected List party;
protected List account;
/**
* Gets the value of the blockTradeIdentifier property.
*
* @return
* possible object is
* {@link TradeIdentifier }
*
*/
public TradeIdentifier getBlockTradeIdentifier() {
return blockTradeIdentifier;
}
/**
* Sets the value of the blockTradeIdentifier property.
*
* @param value
* allowed object is
* {@link TradeIdentifier }
*
*/
public void setBlockTradeIdentifier(TradeIdentifier value) {
this.blockTradeIdentifier = value;
}
/**
* Gets the value of the allocations property.
*
* @return
* possible object is
* {@link Allocations }
*
*/
public Allocations getAllocations() {
return allocations;
}
/**
* Sets the value of the allocations property.
*
* @param value
* allowed object is
* {@link Allocations }
*
*/
public void setAllocations(Allocations value) {
this.allocations = 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 JAXB 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 JAXB 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;
}
}