Class FxTriggerBase

java.lang.Object
net.finmath.smartcontract.product.xml.FxTriggerBase
Direct Known Subclasses:
FxAccrualTrigger, FxTrigger

public class FxTriggerBase extends Object
Describes a european trigger applied to an FX digtal option.

Java class for FxTriggerBase complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="FxTriggerBase">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="triggerCondition" type="{http://www.fpml.org/FpML-5/confirmation}TriggerConditionEnum"/>
         <element name="quotedCurrencyPair" type="{http://www.fpml.org/FpML-5/confirmation}QuotedCurrencyPair"/>
         <element name="triggerRate" type="{http://www.fpml.org/FpML-5/confirmation}PositiveDecimal"/>
         <element name="spotRate" type="{http://www.fpml.org/FpML-5/confirmation}PositiveDecimal" minOccurs="0"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 
  • Field Details

  • Constructor Details

    • FxTriggerBase

      public FxTriggerBase()
  • Method Details

    • getTriggerCondition

      public TriggerConditionEnum getTriggerCondition()
      Gets the value of the triggerCondition property.
      Returns:
      possible object is TriggerConditionEnum
    • setTriggerCondition

      public void setTriggerCondition(TriggerConditionEnum value)
      Sets the value of the triggerCondition property.
      Parameters:
      value - allowed object is TriggerConditionEnum
    • getQuotedCurrencyPair

      public QuotedCurrencyPair getQuotedCurrencyPair()
      Gets the value of the quotedCurrencyPair property.
      Returns:
      possible object is QuotedCurrencyPair
    • setQuotedCurrencyPair

      public void setQuotedCurrencyPair(QuotedCurrencyPair value)
      Sets the value of the quotedCurrencyPair property.
      Parameters:
      value - allowed object is QuotedCurrencyPair
    • getTriggerRate

      public BigDecimal getTriggerRate()
      Gets the value of the triggerRate property.
      Returns:
      possible object is BigDecimal
    • setTriggerRate

      public void setTriggerRate(BigDecimal value)
      Sets the value of the triggerRate property.
      Parameters:
      value - allowed object is BigDecimal
    • getSpotRate

      public BigDecimal getSpotRate()
      Gets the value of the spotRate property.
      Returns:
      possible object is BigDecimal
    • setSpotRate

      public void setSpotRate(BigDecimal value)
      Sets the value of the spotRate property.
      Parameters:
      value - allowed object is BigDecimal