org.fpml.fpml_5.confirmation.RequestExecution 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 message requesting that an order be executed.
*
* Java class for RequestExecution complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="RequestExecution">
* <complexContent>
* <extension base="{http://www.fpml.org/FpML-5/confirmation}CorrectableRequestMessage">
* <sequence>
* <choice>
* <group ref="{http://www.fpml.org/FpML-5/confirmation}TradingEvents.model"/>
* <element name="optionExercise" type="{http://www.fpml.org/FpML-5/confirmation}OptionExercise"/>
* </choice>
* <group ref="{http://www.fpml.org/FpML-5/confirmation}PartiesAndAccounts.model"/>
* </sequence>
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "RequestExecution", propOrder = {
"tradePackage",
"originatingEvent",
"trade",
"additionalEvent",
"optionExercise",
"party",
"account"
})
public class RequestExecution
extends CorrectableRequestMessage
{
protected TradePackage tradePackage;
protected OriginatingEvent originatingEvent;
protected Trade trade;
protected AdditionalEvent additionalEvent;
protected OptionExercise optionExercise;
@XmlElement(required = true)
protected List party;
protected List account;
/**
* Gets the value of the tradePackage property.
*
* @return
* possible object is
* {@link TradePackage }
*
*/
public TradePackage getTradePackage() {
return tradePackage;
}
/**
* Sets the value of the tradePackage property.
*
* @param value
* allowed object is
* {@link TradePackage }
*
*/
public void setTradePackage(TradePackage value) {
this.tradePackage = 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.
*
* @return
* possible object is
* {@link Trade }
*
*/
public Trade getTrade() {
return trade;
}
/**
* Sets the value of the trade property.
*
* @param value
* allowed object is
* {@link Trade }
*
*/
public void setTrade(Trade value) {
this.trade = value;
}
/**
* Gets the value of the additionalEvent property.
*
* @return
* possible object is
* {@link AdditionalEvent }
*
*/
public AdditionalEvent getAdditionalEvent() {
return additionalEvent;
}
/**
* Sets the value of the additionalEvent property.
*
* @param value
* allowed object is
* {@link AdditionalEvent }
*
*/
public void setAdditionalEvent(AdditionalEvent value) {
this.additionalEvent = value;
}
/**
* Gets the value of the optionExercise property.
*
* @return
* possible object is
* {@link OptionExercise }
*
*/
public OptionExercise getOptionExercise() {
return optionExercise;
}
/**
* Sets the value of the optionExercise property.
*
* @param value
* allowed object is
* {@link OptionExercise }
*
*/
public void setOptionExercise(OptionExercise value) {
this.optionExercise = 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 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;
}
}