org.fpml.fpml_5.confirmation.TradeHeader 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.XmlElement;
import javax.xml.bind.annotation.XmlType;
/**
* A type defining trade related information which is not product specific.
*
* Java class for TradeHeader complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="TradeHeader">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="partyTradeIdentifier" type="{http://www.fpml.org/FpML-5/confirmation}PartyTradeIdentifier" maxOccurs="unbounded"/>
* <element name="partyTradeInformation" type="{http://www.fpml.org/FpML-5/confirmation}PartyTradeInformation" maxOccurs="unbounded" minOccurs="0"/>
* <element name="tradeSummary" type="{http://www.fpml.org/FpML-5/confirmation}TradeSummary" minOccurs="0"/>
* <element name="productSummary" type="{http://www.fpml.org/FpML-5/confirmation}ProductSummary" minOccurs="0"/>
* <element name="originatingPackage" type="{http://www.fpml.org/FpML-5/confirmation}PackageSummary" minOccurs="0"/>
* <element name="tradeDate" type="{http://www.fpml.org/FpML-5/confirmation}IdentifiedDate"/>
* <element name="clearedDate" type="{http://www.fpml.org/FpML-5/confirmation}IdentifiedDate" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "TradeHeader", propOrder = {
"partyTradeIdentifier",
"partyTradeInformation",
"tradeSummary",
"productSummary",
"originatingPackage",
"tradeDate",
"clearedDate"
})
public class TradeHeader {
@XmlElement(required = true)
protected List partyTradeIdentifier;
protected List partyTradeInformation;
protected TradeSummary tradeSummary;
protected ProductSummary productSummary;
protected PackageSummary originatingPackage;
@XmlElement(required = true)
protected IdentifiedDate tradeDate;
protected IdentifiedDate clearedDate;
/**
* Gets the value of the partyTradeIdentifier 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 partyTradeIdentifier property.
*
*
* For example, to add a new item, do as follows:
*
* getPartyTradeIdentifier().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link PartyTradeIdentifier }
*
*
*/
public List getPartyTradeIdentifier() {
if (partyTradeIdentifier == null) {
partyTradeIdentifier = new ArrayList();
}
return this.partyTradeIdentifier;
}
/**
* Gets the value of the partyTradeInformation 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 partyTradeInformation property.
*
*
* For example, to add a new item, do as follows:
*
* getPartyTradeInformation().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link PartyTradeInformation }
*
*
*/
public List getPartyTradeInformation() {
if (partyTradeInformation == null) {
partyTradeInformation = new ArrayList();
}
return this.partyTradeInformation;
}
/**
* Gets the value of the tradeSummary property.
*
* @return
* possible object is
* {@link TradeSummary }
*
*/
public TradeSummary getTradeSummary() {
return tradeSummary;
}
/**
* Sets the value of the tradeSummary property.
*
* @param value
* allowed object is
* {@link TradeSummary }
*
*/
public void setTradeSummary(TradeSummary value) {
this.tradeSummary = value;
}
/**
* Gets the value of the productSummary property.
*
* @return
* possible object is
* {@link ProductSummary }
*
*/
public ProductSummary getProductSummary() {
return productSummary;
}
/**
* Sets the value of the productSummary property.
*
* @param value
* allowed object is
* {@link ProductSummary }
*
*/
public void setProductSummary(ProductSummary value) {
this.productSummary = value;
}
/**
* Gets the value of the originatingPackage property.
*
* @return
* possible object is
* {@link PackageSummary }
*
*/
public PackageSummary getOriginatingPackage() {
return originatingPackage;
}
/**
* Sets the value of the originatingPackage property.
*
* @param value
* allowed object is
* {@link PackageSummary }
*
*/
public void setOriginatingPackage(PackageSummary value) {
this.originatingPackage = value;
}
/**
* Gets the value of the tradeDate property.
*
* @return
* possible object is
* {@link IdentifiedDate }
*
*/
public IdentifiedDate getTradeDate() {
return tradeDate;
}
/**
* Sets the value of the tradeDate property.
*
* @param value
* allowed object is
* {@link IdentifiedDate }
*
*/
public void setTradeDate(IdentifiedDate value) {
this.tradeDate = value;
}
/**
* Gets the value of the clearedDate property.
*
* @return
* possible object is
* {@link IdentifiedDate }
*
*/
public IdentifiedDate getClearedDate() {
return clearedDate;
}
/**
* Sets the value of the clearedDate property.
*
* @param value
* allowed object is
* {@link IdentifiedDate }
*
*/
public void setClearedDate(IdentifiedDate value) {
this.clearedDate = value;
}
}