Class RateObservation
java.lang.Object
net.finmath.smartcontract.product.xml.RateObservation
A type defining parameters associated with an individual observation or
fixing. This type forms part of the cashflow representation of a stream.
Java class for RateObservation complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="RateObservation"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="resetDate" type="{http://www.w3.org/2001/XMLSchema}date" minOccurs="0"/> <element name="adjustedFixingDate" type="{http://www.w3.org/2001/XMLSchema}date" minOccurs="0"/> <element name="observedRate" type="{http://www.w3.org/2001/XMLSchema}decimal" minOccurs="0"/> <element name="treatedRate" type="{http://www.w3.org/2001/XMLSchema}decimal" minOccurs="0"/> <element name="observationWeight" type="{http://www.w3.org/2001/XMLSchema}positiveInteger"/> <element name="rateReference" type="{http://www.fpml.org/FpML-5/confirmation}RateReference" minOccurs="0"/> <element name="forecastRate" type="{http://www.w3.org/2001/XMLSchema}decimal" minOccurs="0"/> <element name="treatedForecastRate" type="{http://www.w3.org/2001/XMLSchema}decimal" minOccurs="0"/> </sequence> <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" /> </restriction> </complexContent> </complexType>
-
Field Summary
Modifier and TypeFieldDescriptionprotected XMLGregorianCalendar
protected BigDecimal
protected String
protected BigInteger
protected BigDecimal
protected RateReference
protected XMLGregorianCalendar
protected BigDecimal
protected BigDecimal
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGets the value of the adjustedFixingDate property.Gets the value of the forecastRate property.getId()
Gets the value of the id property.Gets the value of the observationWeight property.Gets the value of the observedRate property.Gets the value of the rateReference property.Gets the value of the resetDate property.Gets the value of the treatedForecastRate property.Gets the value of the treatedRate property.void
Sets the value of the adjustedFixingDate property.void
setForecastRate
(BigDecimal value) Sets the value of the forecastRate property.void
Sets the value of the id property.void
setObservationWeight
(BigInteger value) Sets the value of the observationWeight property.void
setObservedRate
(BigDecimal value) Sets the value of the observedRate property.void
setRateReference
(RateReference value) Sets the value of the rateReference property.void
setResetDate
(XMLGregorianCalendar value) Sets the value of the resetDate property.void
setTreatedForecastRate
(BigDecimal value) Sets the value of the treatedForecastRate property.void
setTreatedRate
(BigDecimal value) Sets the value of the treatedRate property.
-
Field Details
-
resetDate
-
adjustedFixingDate
-
observedRate
-
treatedRate
-
observationWeight
-
rateReference
-
forecastRate
-
treatedForecastRate
-
id
-
-
Constructor Details
-
RateObservation
public RateObservation()
-
-
Method Details
-
getResetDate
Gets the value of the resetDate property.- Returns:
- possible object is
XMLGregorianCalendar
-
setResetDate
Sets the value of the resetDate property.- Parameters:
value
- allowed object isXMLGregorianCalendar
-
getAdjustedFixingDate
Gets the value of the adjustedFixingDate property.- Returns:
- possible object is
XMLGregorianCalendar
-
setAdjustedFixingDate
Sets the value of the adjustedFixingDate property.- Parameters:
value
- allowed object isXMLGregorianCalendar
-
getObservedRate
Gets the value of the observedRate property.- Returns:
- possible object is
BigDecimal
-
setObservedRate
Sets the value of the observedRate property.- Parameters:
value
- allowed object isBigDecimal
-
getTreatedRate
Gets the value of the treatedRate property.- Returns:
- possible object is
BigDecimal
-
setTreatedRate
Sets the value of the treatedRate property.- Parameters:
value
- allowed object isBigDecimal
-
getObservationWeight
Gets the value of the observationWeight property.- Returns:
- possible object is
BigInteger
-
setObservationWeight
Sets the value of the observationWeight property.- Parameters:
value
- allowed object isBigInteger
-
getRateReference
Gets the value of the rateReference property.- Returns:
- possible object is
RateReference
-
setRateReference
Sets the value of the rateReference property.- Parameters:
value
- allowed object isRateReference
-
getForecastRate
Gets the value of the forecastRate property.- Returns:
- possible object is
BigDecimal
-
setForecastRate
Sets the value of the forecastRate property.- Parameters:
value
- allowed object isBigDecimal
-
getTreatedForecastRate
Gets the value of the treatedForecastRate property.- Returns:
- possible object is
BigDecimal
-
setTreatedForecastRate
Sets the value of the treatedForecastRate property.- Parameters:
value
- allowed object isBigDecimal
-
getId
-
setId
-