org.fpml.fpml_5.confirmation.OptionExpiry 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.07.26 at 10:31:12 AM 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.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
import javax.xml.datatype.XMLGregorianCalendar;
/**
* A structure describing an option expiring (i.e. passing its last exercise time and becoming worthless.)
*
* Java class for OptionExpiry complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="OptionExpiry">
* <complexContent>
* <extension base="{http://www.fpml.org/FpML-5/confirmation}AbstractEvent">
* <sequence>
* <choice>
* <element name="originalTrade" type="{http://www.fpml.org/FpML-5/confirmation}Trade"/>
* <element name="tradeIdentifier" type="{http://www.fpml.org/FpML-5/confirmation}PartyTradeIdentifier" maxOccurs="unbounded"/>
* </choice>
* <element name="date" type="{http://www.w3.org/2001/XMLSchema}date"/>
* <element name="time" type="{http://www.w3.org/2001/XMLSchema}time"/>
* <element name="exerciseProcedure" type="{http://www.fpml.org/FpML-5/confirmation}ExerciseProcedureOption" minOccurs="0"/>
* <element name="actionOnExpiration" type="{http://www.fpml.org/FpML-5/confirmation}ActionOnExpiration" minOccurs="0"/>
* </sequence>
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "OptionExpiry", propOrder = {
"originalTrade",
"tradeIdentifier",
"date",
"time",
"exerciseProcedure",
"actionOnExpiration"
})
public class OptionExpiry
extends AbstractEvent
{
protected Trade originalTrade;
protected List tradeIdentifier;
@XmlElement(required = true)
@XmlSchemaType(name = "date")
protected XMLGregorianCalendar date;
@XmlElement(required = true)
@XmlSchemaType(name = "time")
protected XMLGregorianCalendar time;
protected ExerciseProcedureOption exerciseProcedure;
protected ActionOnExpiration actionOnExpiration;
/**
* Gets the value of the originalTrade property.
*
* @return
* possible object is
* {@link Trade }
*
*/
public Trade getOriginalTrade() {
return originalTrade;
}
/**
* Sets the value of the originalTrade property.
*
* @param value
* allowed object is
* {@link Trade }
*
*/
public void setOriginalTrade(Trade value) {
this.originalTrade = value;
}
/**
* Gets the value of the tradeIdentifier 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 tradeIdentifier property.
*
*
* For example, to add a new item, do as follows:
*
* getTradeIdentifier().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link PartyTradeIdentifier }
*
*
*/
public List getTradeIdentifier() {
if (tradeIdentifier == null) {
tradeIdentifier = new ArrayList();
}
return this.tradeIdentifier;
}
/**
* Gets the value of the date property.
*
* @return
* possible object is
* {@link XMLGregorianCalendar }
*
*/
public XMLGregorianCalendar getDate() {
return date;
}
/**
* Sets the value of the date property.
*
* @param value
* allowed object is
* {@link XMLGregorianCalendar }
*
*/
public void setDate(XMLGregorianCalendar value) {
this.date = value;
}
/**
* Gets the value of the time property.
*
* @return
* possible object is
* {@link XMLGregorianCalendar }
*
*/
public XMLGregorianCalendar getTime() {
return time;
}
/**
* Sets the value of the time property.
*
* @param value
* allowed object is
* {@link XMLGregorianCalendar }
*
*/
public void setTime(XMLGregorianCalendar value) {
this.time = value;
}
/**
* Gets the value of the exerciseProcedure property.
*
* @return
* possible object is
* {@link ExerciseProcedureOption }
*
*/
public ExerciseProcedureOption getExerciseProcedure() {
return exerciseProcedure;
}
/**
* Sets the value of the exerciseProcedure property.
*
* @param value
* allowed object is
* {@link ExerciseProcedureOption }
*
*/
public void setExerciseProcedure(ExerciseProcedureOption value) {
this.exerciseProcedure = value;
}
/**
* Gets the value of the actionOnExpiration property.
*
* @return
* possible object is
* {@link ActionOnExpiration }
*
*/
public ActionOnExpiration getActionOnExpiration() {
return actionOnExpiration;
}
/**
* Sets the value of the actionOnExpiration property.
*
* @param value
* allowed object is
* {@link ActionOnExpiration }
*
*/
public void setActionOnExpiration(ActionOnExpiration value) {
this.actionOnExpiration = value;
}
}