Class OptionExpiry
java.lang.Object
net.finmath.smartcontract.product.xml.AbstractEvent
net.finmath.smartcontract.product.xml.OptionExpiry
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>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected ActionOnExpirationprotected XMLGregorianCalendarprotected ExerciseProcedureOptionprotected Tradeprotected XMLGregorianCalendarprotected List<PartyTradeIdentifier>Fields inherited from class net.finmath.smartcontract.product.xml.AbstractEvent
eventIdentifier -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the value of the actionOnExpiration property.getDate()Gets the value of the date property.Gets the value of the exerciseProcedure property.Gets the value of the originalTrade property.getTime()Gets the value of the time property.Gets the value of the tradeIdentifier property.voidSets the value of the actionOnExpiration property.voidsetDate(XMLGregorianCalendar value)Sets the value of the date property.voidSets the value of the exerciseProcedure property.voidsetOriginalTrade(Trade value)Sets the value of the originalTrade property.voidsetTime(XMLGregorianCalendar value)Sets the value of the time property.Methods inherited from class net.finmath.smartcontract.product.xml.AbstractEvent
getEventIdentifier
-
Field Details
-
originalTrade
-
tradeIdentifier
-
date
-
time
-
exerciseProcedure
-
actionOnExpiration
-
-
Constructor Details
-
OptionExpiry
public OptionExpiry()
-
-
Method Details
-
getOriginalTrade
Gets the value of the originalTrade property.- Returns:
- possible object is
Trade
-
setOriginalTrade
Sets the value of the originalTrade property.- Parameters:
value- allowed object isTrade
-
getTradeIdentifier
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 Jakarta XML Binding object. This is why there is not a
setmethod 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
PartyTradeIdentifier -
getDate
Gets the value of the date property.- Returns:
- possible object is
XMLGregorianCalendar
-
setDate
Sets the value of the date property.- Parameters:
value- allowed object isXMLGregorianCalendar
-
getTime
Gets the value of the time property.- Returns:
- possible object is
XMLGregorianCalendar
-
setTime
Sets the value of the time property.- Parameters:
value- allowed object isXMLGregorianCalendar
-
getExerciseProcedure
Gets the value of the exerciseProcedure property.- Returns:
- possible object is
ExerciseProcedureOption
-
setExerciseProcedure
Sets the value of the exerciseProcedure property.- Parameters:
value- allowed object isExerciseProcedureOption
-
getActionOnExpiration
Gets the value of the actionOnExpiration property.- Returns:
- possible object is
ActionOnExpiration
-
setActionOnExpiration
Sets the value of the actionOnExpiration property.- Parameters:
value- allowed object isActionOnExpiration
-