org.fpml.fpml_5.confirmation.MaturityNotification 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 used to notify another party that a trade has matured. This can be used to report, for example, that a swap has passed its final payment and can be removed, or that an option has expired without being executed.
*
* Java class for MaturityNotification complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="MaturityNotification">
* <complexContent>
* <extension base="{http://www.fpml.org/FpML-5/confirmation}CorrectableRequestMessage">
* <sequence>
* <choice>
* <element name="optionExpiry" type="{http://www.fpml.org/FpML-5/confirmation}OptionExpiryBase"/>
* <element name="tradeMaturity" type="{http://www.fpml.org/FpML-5/confirmation}TradeMaturity"/>
* </choice>
* <group ref="{http://www.fpml.org/FpML-5/confirmation}PartiesAndAccounts.model"/>
* </sequence>
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "MaturityNotification", propOrder = {
"optionExpiry",
"tradeMaturity",
"party",
"account"
})
public class MaturityNotification
extends CorrectableRequestMessage
{
protected OptionExpiryBase optionExpiry;
protected TradeMaturity tradeMaturity;
@XmlElement(required = true)
protected List party;
protected List account;
/**
* Gets the value of the optionExpiry property.
*
* @return
* possible object is
* {@link OptionExpiryBase }
*
*/
public OptionExpiryBase getOptionExpiry() {
return optionExpiry;
}
/**
* Sets the value of the optionExpiry property.
*
* @param value
* allowed object is
* {@link OptionExpiryBase }
*
*/
public void setOptionExpiry(OptionExpiryBase value) {
this.optionExpiry = value;
}
/**
* Gets the value of the tradeMaturity property.
*
* @return
* possible object is
* {@link TradeMaturity }
*
*/
public TradeMaturity getTradeMaturity() {
return tradeMaturity;
}
/**
* Sets the value of the tradeMaturity property.
*
* @param value
* allowed object is
* {@link TradeMaturity }
*
*/
public void setTradeMaturity(TradeMaturity value) {
this.tradeMaturity = 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;
}
}