Class GenericProductExchangeRate
java.lang.Object
net.finmath.smartcontract.product.xml.GenericProductExchangeRate
A type that is used for describing the exchange rate for a particular
transaction.
Java class for GenericProductExchangeRate complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="GenericProductExchangeRate"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="quotedCurrencyPair" type="{http://www.fpml.org/FpML-5/confirmation}GenericProductQuotedCurrencyPair"/> <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"/> <sequence minOccurs="0"> <element name="forwardPoints" type="{http://www.w3.org/2001/XMLSchema}decimal"/> <element name="pointValue" type="{http://www.fpml.org/FpML-5/confirmation}PointValue" minOccurs="0"/> </sequence> </sequence> <element name="crossRate" type="{http://www.fpml.org/FpML-5/confirmation}CrossRate" maxOccurs="unbounded" minOccurs="0"/> </sequence> </restriction> </complexContent> </complexType>
-
Field Summary
Modifier and TypeFieldDescriptionprotected BigDecimal
protected BigDecimal
protected GenericProductQuotedCurrencyPair
protected BigDecimal
protected BigDecimal
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGets the value of the crossRate property.Gets the value of the forwardPoints property.Gets the value of the pointValue property.Gets the value of the quotedCurrencyPair 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
setPointValue
(BigDecimal value) Sets the value of the pointValue property.void
Sets the value of the quotedCurrencyPair property.void
setRate
(BigDecimal value) Sets the value of the rate property.void
setSpotRate
(BigDecimal value) Sets the value of the spotRate property.
-
Field Details
-
quotedCurrencyPair
-
rate
-
spotRate
-
forwardPoints
-
pointValue
-
crossRate
-
-
Constructor Details
-
GenericProductExchangeRate
public GenericProductExchangeRate()
-
-
Method Details
-
getQuotedCurrencyPair
Gets the value of the quotedCurrencyPair property.- Returns:
- possible object is
GenericProductQuotedCurrencyPair
-
setQuotedCurrencyPair
Sets the value of the quotedCurrencyPair property.- Parameters:
value
- allowed object isGenericProductQuotedCurrencyPair
-
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
-
getPointValue
Gets the value of the pointValue property.- Returns:
- possible object is
BigDecimal
-
setPointValue
Sets the value of the pointValue property.- Parameters:
value
- allowed object isBigDecimal
-
getCrossRate
Gets the value of the crossRate property.This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the Jakarta XML Binding object. This is why there is not a
set
method for the crossRate property.For example, to add a new item, do as follows:
getCrossRate().add(newItem);
Objects of the following type(s) are allowed in the list
CrossRate
-