Class OptionEvent

java.lang.Object
net.finmath.smartcontract.product.xml.AbstractEvent
net.finmath.smartcontract.product.xml.OptionEvent

public class OptionEvent extends AbstractEvent

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 Details

  • Constructor Details

    • OptionEvent

      public OptionEvent()
  • Method Details

    • getOriginalTrade

      public Trade getOriginalTrade()
      Gets the value of the originalTrade property.
      Returns:
      possible object is Trade
    • setOriginalTrade

      public void setOriginalTrade(Trade value)
      Sets the value of the originalTrade property.
      Parameters:
      value - allowed object is Trade
    • getTradeIdentifier

      public List<PartyTradeIdentifier> 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

      public TriggerRateObservation getKnockIn()
      Gets the value of the knockIn property.
      Returns:
      possible object is TriggerRateObservation
    • setKnockIn

      public void setKnockIn(TriggerRateObservation value)
      Sets the value of the knockIn property.
      Parameters:
      value - allowed object is TriggerRateObservation
    • getKnockOut

      public KnockOutRateObservation getKnockOut()
      Gets the value of the knockOut property.
      Returns:
      possible object is KnockOutRateObservation
    • setKnockOut

      public void setKnockOut(KnockOutRateObservation value)
      Sets the value of the knockOut property.
      Parameters:
      value - allowed object is KnockOutRateObservation
    • getTouch

      public List<TouchRateObservation> 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

      public NoTouchRateObservation getNoTouch()
      Gets the value of the noTouch property.
      Returns:
      possible object is NoTouchRateObservation
    • setNoTouch

      public void setNoTouch(NoTouchRateObservation value)
      Sets the value of the noTouch property.
      Parameters:
      value - allowed object is NoTouchRateObservation