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
FieldsModifier and TypeFieldDescriptionprotected XMLGregorianCalendarprotected BigDecimalprotected Stringprotected BigIntegerprotected BigDecimalprotected RateReferenceprotected XMLGregorianCalendarprotected BigDecimalprotected BigDecimal -
Constructor Summary
Constructors -
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.voidSets the value of the adjustedFixingDate property.voidsetForecastRate(BigDecimal value) Sets the value of the forecastRate property.voidSets the value of the id property.voidsetObservationWeight(BigInteger value) Sets the value of the observationWeight property.voidsetObservedRate(BigDecimal value) Sets the value of the observedRate property.voidsetRateReference(RateReference value) Sets the value of the rateReference property.voidsetResetDate(XMLGregorianCalendar value) Sets the value of the resetDate property.voidsetTreatedForecastRate(BigDecimal value) Sets the value of the treatedForecastRate property.voidsetTreatedRate(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
-