net.finmath.smartcontract.product.xml.PartyTradeIdentifier 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.XmlType;
/**
* A type defining one or more trade identifiers allocated to the trade by a
* party. A link identifier allows the trade to be associated with other related trades, e.g. trades
* forming part of a larger structured transaction. It is expected that for external communication of trade
* there will be only one tradeId sent in the document per party.
*
*
* Java class for PartyTradeIdentifier complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="PartyTradeIdentifier">
* <complexContent>
* <extension base="{http://www.fpml.org/FpML-5/confirmation}TradeIdentifier">
* <sequence>
* <element name="linkId" type="{http://www.fpml.org/FpML-5/confirmation}LinkId" maxOccurs="unbounded" minOccurs="0"/>
* <choice>
* <element name="allocationTradeId" type="{http://www.fpml.org/FpML-5/confirmation}TradeIdentifier" maxOccurs="unbounded" minOccurs="0"/>
* <element name="resultingTradeId" type="{http://www.fpml.org/FpML-5/confirmation}TradeIdentifierExtended" maxOccurs="unbounded" minOccurs="0"/>
* </choice>
* <element name="blockTradeId" type="{http://www.fpml.org/FpML-5/confirmation}TradeIdentifier" minOccurs="0"/>
* <element name="originatingTradeId" type="{http://www.fpml.org/FpML-5/confirmation}TradeIdentifier" maxOccurs="unbounded" minOccurs="0"/>
* <element name="productComponentIdentifier" type="{http://www.fpml.org/FpML-5/confirmation}ProductComponentIdentifier" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "PartyTradeIdentifier", propOrder = {
"linkId",
"allocationTradeId",
"resultingTradeId",
"blockTradeId",
"originatingTradeId",
"productComponentIdentifier"
})
public class PartyTradeIdentifier
extends TradeIdentifier
{
protected List linkId;
protected List allocationTradeId;
protected List resultingTradeId;
protected TradeIdentifier blockTradeId;
protected List originatingTradeId;
protected List productComponentIdentifier;
/**
* Gets the value of the linkId 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 linkId property.
*
*
* For example, to add a new item, do as follows:
*
* getLinkId().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link LinkId }
*
*
*/
public List getLinkId() {
if (linkId == null) {
linkId = new ArrayList();
}
return this.linkId;
}
/**
* Gets the value of the allocationTradeId 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 allocationTradeId property.
*
*
* For example, to add a new item, do as follows:
*
* getAllocationTradeId().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link TradeIdentifier }
*
*
*/
public List getAllocationTradeId() {
if (allocationTradeId == null) {
allocationTradeId = new ArrayList();
}
return this.allocationTradeId;
}
/**
* Gets the value of the resultingTradeId 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 resultingTradeId property.
*
*
* For example, to add a new item, do as follows:
*
* getResultingTradeId().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link TradeIdentifierExtended }
*
*
*/
public List getResultingTradeId() {
if (resultingTradeId == null) {
resultingTradeId = new ArrayList();
}
return this.resultingTradeId;
}
/**
* Gets the value of the blockTradeId property.
*
* @return
* possible object is
* {@link TradeIdentifier }
*
*/
public TradeIdentifier getBlockTradeId() {
return blockTradeId;
}
/**
* Sets the value of the blockTradeId property.
*
* @param value
* allowed object is
* {@link TradeIdentifier }
*
*/
public void setBlockTradeId(TradeIdentifier value) {
this.blockTradeId = value;
}
/**
* Gets the value of the originatingTradeId 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 originatingTradeId property.
*
*
* For example, to add a new item, do as follows:
*
* getOriginatingTradeId().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link TradeIdentifier }
*
*
*/
public List getOriginatingTradeId() {
if (originatingTradeId == null) {
originatingTradeId = new ArrayList();
}
return this.originatingTradeId;
}
/**
* Gets the value of the productComponentIdentifier 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 productComponentIdentifier property.
*
*
* For example, to add a new item, do as follows:
*
* getProductComponentIdentifier().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link ProductComponentIdentifier }
*
*
*/
public List getProductComponentIdentifier() {
if (productComponentIdentifier == null) {
productComponentIdentifier = new ArrayList();
}
return this.productComponentIdentifier;
}
}