net.finmath.smartcontract.product.xml.RequestAllocation 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.XmlElement;
import jakarta.xml.bind.annotation.XmlType;
/**
* A message requesting that a trade be split among several accounts.
*
*
* Java class for RequestAllocation complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="RequestAllocation">
* <complexContent>
* <extension base="{http://www.fpml.org/FpML-5/confirmation}CorrectableRequestMessage">
* <sequence>
* <element name="relatedParty" type="{http://www.fpml.org/FpML-5/confirmation}RelatedParty" maxOccurs="unbounded" minOccurs="0"/>
* <element name="blockTradeIdentifier" type="{http://www.fpml.org/FpML-5/confirmation}TradeIdentifier"/>
* <element name="allocations" type="{http://www.fpml.org/FpML-5/confirmation}Allocations"/>
* <group ref="{http://www.fpml.org/FpML-5/confirmation}PartiesAndAccounts.model"/>
* </sequence>
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "RequestAllocation", propOrder = {
"relatedParty",
"blockTradeIdentifier",
"allocations",
"party",
"account"
})
public class RequestAllocation
extends CorrectableRequestMessage
{
protected List relatedParty;
@XmlElement(required = true)
protected TradeIdentifier blockTradeIdentifier;
@XmlElement(required = true)
protected Allocations allocations;
@XmlElement(required = true)
protected List party;
protected List account;
/**
* Gets the value of the relatedParty 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 relatedParty property.
*
*
* For example, to add a new item, do as follows:
*
* getRelatedParty().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link RelatedParty }
*
*
*/
public List getRelatedParty() {
if (relatedParty == null) {
relatedParty = new ArrayList();
}
return this.relatedParty;
}
/**
* 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;
}
}