Class CrossRate
java.lang.Object
net.finmath.smartcontract.product.xml.QuotedCurrencyPair
net.finmath.smartcontract.product.xml.CrossRate
A type that is used for including the currency exchange rates used to cross
between the traded currencies for non-base currency FX contracts.
Java class for CrossRate complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="CrossRate"> <complexContent> <extension base="{http://www.fpml.org/FpML-5/confirmation}QuotedCurrencyPair"> <sequence> <element name="rate" type="{http://www.fpml.org/FpML-5/confirmation}PositiveDecimal"/> <sequence minOccurs="0"> <element name="spotRate" type="{http://www.fpml.org/FpML-5/confirmation}PositiveDecimal"/> <element name="forwardPoints" type="{http://www.w3.org/2001/XMLSchema}decimal" minOccurs="0"/> </sequence> </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 TypeMethodDescriptionGets the value of the forwardPoints property.getRate()
Gets the value of the rate property.Gets the value of the spotRate property.void
setForwardPoints
(BigDecimal value) Sets the value of the forwardPoints 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
-
forwardPoints
-
-
Constructor Details
-
CrossRate
public CrossRate()
-
-
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
-
getForwardPoints
Gets the value of the forwardPoints property.- Returns:
- possible object is
BigDecimal
-
setForwardPoints
Sets the value of the forwardPoints property.- Parameters:
value
- allowed object isBigDecimal
-