Class QuotedCurrencyPair
java.lang.Object
net.finmath.smartcontract.product.xml.QuotedCurrencyPair
- Direct Known Subclasses:
CrossRate
,FxFlexibleForwardRate
A type that describes the composition of a rate that has been quoted or is
to be quoted. This includes the two currencies and the quotation relationship between the two currencies
and is used as a building block throughout the FX specification.
Java class for QuotedCurrencyPair complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="QuotedCurrencyPair"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="currency1" type="{http://www.fpml.org/FpML-5/confirmation}Currency"/> <element name="currency2" type="{http://www.fpml.org/FpML-5/confirmation}Currency"/> <element name="quoteBasis" type="{http://www.fpml.org/FpML-5/confirmation}QuoteBasisEnum"/> </sequence> </restriction> </complexContent> </complexType>
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGets the value of the currency1 property.Gets the value of the currency2 property.Gets the value of the quoteBasis property.void
setCurrency1
(Currency value) Sets the value of the currency1 property.void
setCurrency2
(Currency value) Sets the value of the currency2 property.void
setQuoteBasis
(QuoteBasisEnum value) Sets the value of the quoteBasis property.
-
Field Details
-
currency1
-
currency2
-
quoteBasis
-
-
Constructor Details
-
QuotedCurrencyPair
public QuotedCurrencyPair()
-
-
Method Details
-
getCurrency1
-
setCurrency1
-
getCurrency2
-
setCurrency2
-
getQuoteBasis
Gets the value of the quoteBasis property.- Returns:
- possible object is
QuoteBasisEnum
-
setQuoteBasis
Sets the value of the quoteBasis property.- Parameters:
value
- allowed object isQuoteBasisEnum
-