Class OptionEvent
Java class for OptionEvent complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="OptionEvent"> <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> <choice> <element name="knockIn" type="{http://www.fpml.org/FpML-5/confirmation}TriggerRateObservation"/> <element name="knockOut" type="{http://www.fpml.org/FpML-5/confirmation}KnockOutRateObservation"/> <element name="touch" type="{http://www.fpml.org/FpML-5/confirmation}TouchRateObservation" maxOccurs="2"/> <element name="noTouch" type="{http://www.fpml.org/FpML-5/confirmation}NoTouchRateObservation"/> </choice> </sequence> </extension> </complexContent> </complexType>
-
Field Summary
Modifier and TypeFieldDescriptionprotected TriggerRateObservation
protected KnockOutRateObservation
protected NoTouchRateObservation
protected Trade
protected List
<TouchRateObservation> protected List
<PartyTradeIdentifier> Fields inherited from class net.finmath.smartcontract.product.xml.AbstractEvent
eventIdentifier
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGets the value of the knockIn property.Gets the value of the knockOut property.Gets the value of the noTouch property.Gets the value of the originalTrade property.getTouch()
Gets the value of the touch property.Gets the value of the tradeIdentifier property.void
setKnockIn
(TriggerRateObservation value) Sets the value of the knockIn property.void
Sets the value of the knockOut property.void
setNoTouch
(NoTouchRateObservation value) Sets the value of the noTouch property.void
setOriginalTrade
(Trade value) Sets the value of the originalTrade property.Methods inherited from class net.finmath.smartcontract.product.xml.AbstractEvent
getEventIdentifier
-
Field Details
-
originalTrade
-
tradeIdentifier
-
knockIn
-
knockOut
-
touch
-
noTouch
-
-
Constructor Details
-
OptionEvent
public OptionEvent()
-
-
Method Details
-
getOriginalTrade
-
setOriginalTrade
-
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
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
PartyTradeIdentifier
-
getKnockIn
Gets the value of the knockIn property.- Returns:
- possible object is
TriggerRateObservation
-
setKnockIn
Sets the value of the knockIn property.- Parameters:
value
- allowed object isTriggerRateObservation
-
getKnockOut
Gets the value of the knockOut property.- Returns:
- possible object is
KnockOutRateObservation
-
setKnockOut
Sets the value of the knockOut property.- Parameters:
value
- allowed object isKnockOutRateObservation
-
getTouch
Gets the value of the touch 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
set
method for the touch property.For example, to add a new item, do as follows:
getTouch().add(newItem);
Objects of the following type(s) are allowed in the list
TouchRateObservation
-
getNoTouch
Gets the value of the noTouch property.- Returns:
- possible object is
NoTouchRateObservation
-
setNoTouch
Sets the value of the noTouch property.- Parameters:
value
- allowed object isNoTouchRateObservation
-