Class FxAverageRateObservation
java.lang.Object
net.finmath.smartcontract.product.xml.FxAverageRateObservation
A type that, for average rate options, is used to describe each specific
observation date, as opposed to a parametric frequency of rate observations.
Java class for FxAverageRateObservation complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="FxAverageRateObservation"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="date" type="{http://www.w3.org/2001/XMLSchema}date"/> <element name="averageRateWeightingFactor" type="{http://www.w3.org/2001/XMLSchema}decimal"/> <element name="rate" type="{http://www.fpml.org/FpML-5/confirmation}NonNegativeDecimal" minOccurs="0"/> </sequence> </restriction> </complexContent> </complexType>
-
Field Summary
Modifier and TypeFieldDescriptionprotected BigDecimal
protected XMLGregorianCalendar
protected BigDecimal
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGets the value of the averageRateWeightingFactor property.getDate()
Gets the value of the date property.getRate()
Gets the value of the rate property.void
Sets the value of the averageRateWeightingFactor property.void
setDate
(XMLGregorianCalendar value) Sets the value of the date property.void
setRate
(BigDecimal value) Sets the value of the rate property.
-
Field Details
-
date
-
averageRateWeightingFactor
-
rate
-
-
Constructor Details
-
FxAverageRateObservation
public FxAverageRateObservation()
-
-
Method Details
-
getDate
Gets the value of the date property.- Returns:
- possible object is
XMLGregorianCalendar
-
setDate
Sets the value of the date property.- Parameters:
value
- allowed object isXMLGregorianCalendar
-
getAverageRateWeightingFactor
Gets the value of the averageRateWeightingFactor property.- Returns:
- possible object is
BigDecimal
-
setAverageRateWeightingFactor
Sets the value of the averageRateWeightingFactor property.- Parameters:
value
- allowed object isBigDecimal
-
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
-