org.fpml.fpml_5.confirmation.DataDocument 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.XmlSeeAlso;
import javax.xml.bind.annotation.XmlType;
/**
* A type defining a content model that is backwards compatible with older FpML releases and which can be used to contain sets of data without expressing any processing intention.
*
* Java class for DataDocument complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="DataDocument">
* <complexContent>
* <extension base="{http://www.fpml.org/FpML-5/confirmation}Document">
* <sequence>
* <group ref="{http://www.fpml.org/FpML-5/confirmation}Validation.model"/>
* <sequence>
* <element name="onBehalfOf" type="{http://www.fpml.org/FpML-5/confirmation}OnBehalfOf" minOccurs="0"/>
* <element name="originatingEvent" type="{http://www.fpml.org/FpML-5/confirmation}OriginatingEvent" minOccurs="0"/>
* <element name="trade" type="{http://www.fpml.org/FpML-5/confirmation}Trade" maxOccurs="unbounded" minOccurs="0"/>
* <element name="portfolio" type="{http://www.fpml.org/FpML-5/confirmation}Portfolio" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* <group ref="{http://www.fpml.org/FpML-5/confirmation}PartiesAndAccounts.model" minOccurs="0"/>
* </sequence>
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "DataDocument", propOrder = {
"validation",
"onBehalfOf",
"originatingEvent",
"trade",
"portfolio",
"party",
"account"
})
@XmlSeeAlso({
ValuationDocument.class
})
public class DataDocument
extends Document
{
protected List validation;
protected OnBehalfOf onBehalfOf;
protected OriginatingEvent originatingEvent;
protected List trade;
protected List portfolio;
protected List party;
protected List account;
/**
* Gets the value of the validation 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 validation property.
*
*
* For example, to add a new item, do as follows:
*
* getValidation().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link Validation }
*
*
*/
public List getValidation() {
if (validation == null) {
validation = new ArrayList();
}
return this.validation;
}
/**
* Gets the value of the onBehalfOf property.
*
* @return
* possible object is
* {@link OnBehalfOf }
*
*/
public OnBehalfOf getOnBehalfOf() {
return onBehalfOf;
}
/**
* Sets the value of the onBehalfOf property.
*
* @param value
* allowed object is
* {@link OnBehalfOf }
*
*/
public void setOnBehalfOf(OnBehalfOf value) {
this.onBehalfOf = value;
}
/**
* Gets the value of the originatingEvent property.
*
* @return
* possible object is
* {@link OriginatingEvent }
*
*/
public OriginatingEvent getOriginatingEvent() {
return originatingEvent;
}
/**
* Sets the value of the originatingEvent property.
*
* @param value
* allowed object is
* {@link OriginatingEvent }
*
*/
public void setOriginatingEvent(OriginatingEvent value) {
this.originatingEvent = value;
}
/**
* Gets the value of the trade 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 trade property.
*
*
* For example, to add a new item, do as follows:
*
* getTrade().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link Trade }
*
*
*/
public List getTrade() {
if (trade == null) {
trade = new ArrayList();
}
return this.trade;
}
/**
* Gets the value of the portfolio 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 portfolio property.
*
*
* For example, to add a new item, do as follows:
*
* getPortfolio().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link Portfolio }
*
*
*/
public List getPortfolio() {
if (portfolio == null) {
portfolio = new ArrayList();
}
return this.portfolio;
}
/**
* 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;
}
}