net.finmath.smartcontract.product.xml.AllocationRefused 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 jakarta.xml.bind.annotation.XmlAccessType;
import jakarta.xml.bind.annotation.XmlAccessorType;
import jakarta.xml.bind.annotation.XmlType;
/**
* A message indicating that a request to allocate a trade has been refused by
* the sender.
*
*
* Java class for AllocationRefused complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="AllocationRefused">
* <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"/>
* <element name="reason" type="{http://www.fpml.org/FpML-5/confirmation}Reason" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "AllocationRefused", propOrder = {
"blockTradeIdentifier",
"allocations",
"party",
"account",
"reason"
})
public class AllocationRefused
extends ResponseMessage
{
protected TradeIdentifier blockTradeIdentifier;
protected Allocations allocations;
protected List party;
protected List account;
protected List reason;
/**
* 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 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;
}
/**
* Gets the value of the reason 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 reason property.
*
*
* For example, to add a new item, do as follows:
*
* getReason().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link Reason }
*
*
*/
public List getReason() {
if (reason == null) {
reason = new ArrayList();
}
return this.reason;
}
}