Class FxTriggerBase
java.lang.Object
net.finmath.smartcontract.product.xml.FxTriggerBase
- Direct Known Subclasses:
FxAccrualTrigger
,FxTrigger
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 Summary
Modifier and TypeFieldDescriptionprotected QuotedCurrencyPair
protected BigDecimal
protected TriggerConditionEnum
protected BigDecimal
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGets the value of the quotedCurrencyPair property.Gets the value of the spotRate property.Gets the value of the triggerCondition property.Gets the value of the triggerRate property.void
Sets the value of the quotedCurrencyPair property.void
setSpotRate
(BigDecimal value) Sets the value of the spotRate property.void
Sets the value of the triggerCondition property.void
setTriggerRate
(BigDecimal value) Sets the value of the triggerRate property.
-
Field Details
-
triggerCondition
-
quotedCurrencyPair
-
triggerRate
-
spotRate
-
-
Constructor Details
-
FxTriggerBase
public FxTriggerBase()
-
-
Method Details
-
getTriggerCondition
Gets the value of the triggerCondition property.- Returns:
- possible object is
TriggerConditionEnum
-
setTriggerCondition
Sets the value of the triggerCondition property.- Parameters:
value
- allowed object isTriggerConditionEnum
-
getQuotedCurrencyPair
Gets the value of the quotedCurrencyPair property.- Returns:
- possible object is
QuotedCurrencyPair
-
setQuotedCurrencyPair
Sets the value of the quotedCurrencyPair property.- Parameters:
value
- allowed object isQuotedCurrencyPair
-
getTriggerRate
Gets the value of the triggerRate property.- Returns:
- possible object is
BigDecimal
-
setTriggerRate
Sets the value of the triggerRate property.- Parameters:
value
- allowed object isBigDecimal
-
getSpotRate
Gets the value of the spotRate property.- Returns:
- possible object is
BigDecimal
-
setSpotRate
Sets the value of the spotRate property.- Parameters:
value
- allowed object isBigDecimal
-