Class FxFlexibleForwardRate
java.lang.Object
net.finmath.smartcontract.product.xml.QuotedCurrencyPair
net.finmath.smartcontract.product.xml.FxFlexibleForwardRate
Java class for FxFlexibleForwardRate complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="FxFlexibleForwardRate"> <complexContent> <extension base="{http://www.fpml.org/FpML-5/confirmation}QuotedCurrencyPair"> <sequence> <element name="rate" type="{http://www.fpml.org/FpML-5/confirmation}PositiveDecimal"/> <element name="spotRate" type="{http://www.fpml.org/FpML-5/confirmation}PositiveDecimal" minOccurs="0"/> </sequence> </extension> </complexContent> </complexType>
-
Field Summary
Fields inherited from class net.finmath.smartcontract.product.xml.QuotedCurrencyPair
currency1, currency2, quoteBasis
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetRate()
Gets the value of the rate property.Gets the value of the spotRate property.void
setRate
(BigDecimal value) Sets the value of the rate property.void
setSpotRate
(BigDecimal value) Sets the value of the spotRate property.Methods inherited from class net.finmath.smartcontract.product.xml.QuotedCurrencyPair
getCurrency1, getCurrency2, getQuoteBasis, setCurrency1, setCurrency2, setQuoteBasis
-
Field Details
-
rate
-
spotRate
-
-
Constructor Details
-
FxFlexibleForwardRate
public FxFlexibleForwardRate()
-
-
Method Details
-
getRate
Gets the value of the rate property.- Returns:
- possible object is
BigDecimal
-
setRate
Sets the value of the rate 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
-