Package cdm.observable.asset
Class RateObservation.RateObservationImpl
java.lang.Object
cdm.observable.asset.RateObservation.RateObservationImpl
- All Implemented Interfaces:
RateObservation,com.rosetta.model.lib.GlobalKey,com.rosetta.model.lib.RosettaModelObject
- Enclosing interface:
RateObservation
Immutable Implementation of RateObservation
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.rosetta.model.lib.GlobalKey
com.rosetta.model.lib.GlobalKey.GlobalKeyBuilderNested classes/interfaces inherited from interface cdm.observable.asset.RateObservation
RateObservation.RateObservationBuilder, RateObservation.RateObservationBuilderImpl, RateObservation.RateObservationImpl -
Field Summary
Fields inherited from interface cdm.observable.asset.RateObservation
metaData -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected -
Method Summary
Modifier and TypeMethodDescriptionbuild()Build Methodsbooleancom.rosetta.model.lib.records.DateThe adjusted fixing date, i.e. the actual date the rate is observed.The value representing the forecast rate used to calculate the forecast future value of the accrual period.A value of 1% should be represented as 0.01.com.rosetta.model.metafields.MetaFieldsgetMeta()The number of days weighting to be associated with the rate observation, i.e. the number of days such rate is in effect.The actual observed rate before any required rate treatment is applied, e.g. before converting a rate quoted on a discount basis to an equivalent yield.A pointer style reference to a floating rate component defined as part of a stub calculation period amount component.com.rosetta.model.lib.records.DateThe reset date.The value representing the forecast rate after applying rate treatment rules.The observed rate after any required rate treatment is applied.inthashCode()protected voidtoString()Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface cdm.observable.asset.RateObservation
getType, metaData, processMethods inherited from interface com.rosetta.model.lib.RosettaModelObject
processRosetta, processRosetta
-
Constructor Details
-
RateObservationImpl
-
-
Method Details
-
getResetDate
@RosettaAttribute("resetDate") @RuneAttribute("resetDate") public com.rosetta.model.lib.records.Date getResetDate()Description copied from interface:RateObservationThe reset date.- Specified by:
getResetDatein interfaceRateObservation
-
getAdjustedFixingDate
@RosettaAttribute("adjustedFixingDate") @RuneAttribute("adjustedFixingDate") public com.rosetta.model.lib.records.Date getAdjustedFixingDate()Description copied from interface:RateObservationThe adjusted fixing date, i.e. the actual date the rate is observed. The date should already be adjusted for any applicable business day convention.- Specified by:
getAdjustedFixingDatein interfaceRateObservation
-
getObservedRate
@RosettaAttribute("observedRate") @RuneAttribute("observedRate") public BigDecimal getObservedRate()Description copied from interface:RateObservationThe actual observed rate before any required rate treatment is applied, e.g. before converting a rate quoted on a discount basis to an equivalent yield. An observed rate of 5% would be represented as 0.05.- Specified by:
getObservedRatein interfaceRateObservation
-
getTreatedRate
Description copied from interface:RateObservationThe observed rate after any required rate treatment is applied. A treated rate of 5% would be represented as 0.05.- Specified by:
getTreatedRatein interfaceRateObservation
-
getObservationWeight
@RosettaAttribute("observationWeight") @RuneAttribute("observationWeight") public Integer getObservationWeight()Description copied from interface:RateObservationThe number of days weighting to be associated with the rate observation, i.e. the number of days such rate is in effect. This is applicable in the case of a weighted average method of calculation where more than one reset date is established for a single calculation period.- Specified by:
getObservationWeightin interfaceRateObservation
-
getRateReference
@RosettaAttribute("rateReference") @RuneAttribute("rateReference") public ReferenceWithMetaRateObservation getRateReference()Description copied from interface:RateObservationA pointer style reference to a floating rate component defined as part of a stub calculation period amount component. It is only required when it is necessary to distinguish two rate observations for the same fixing date which could occur when linear interpolation of two different rates occurs for a stub calculation period.- Specified by:
getRateReferencein interfaceRateObservation
-
getForecastRate
@RosettaAttribute("forecastRate") @RuneAttribute("forecastRate") public BigDecimal getForecastRate()Description copied from interface:RateObservationThe value representing the forecast rate used to calculate the forecast future value of the accrual period.A value of 1% should be represented as 0.01.- Specified by:
getForecastRatein interfaceRateObservation
-
getTreatedForecastRate
@RosettaAttribute("treatedForecastRate") @RuneAttribute("treatedForecastRate") public BigDecimal getTreatedForecastRate()Description copied from interface:RateObservationThe value representing the forecast rate after applying rate treatment rules. A value of 1% should be represented as 0.01.- Specified by:
getTreatedForecastRatein interfaceRateObservation
-
getMeta
@RosettaAttribute("meta") @RuneAttribute("meta") @RuneMetaType public com.rosetta.model.metafields.MetaFields getMeta()- Specified by:
getMetain interfacecom.rosetta.model.lib.GlobalKey- Specified by:
getMetain interfaceRateObservation
-
build
Description copied from interface:RateObservationBuild Methods- Specified by:
buildin interfaceRateObservation- Specified by:
buildin interfacecom.rosetta.model.lib.RosettaModelObject
-
toBuilder
- Specified by:
toBuilderin interfaceRateObservation- Specified by:
toBuilderin interfacecom.rosetta.model.lib.RosettaModelObject
-
setBuilderFields
-
equals
-
hashCode
public int hashCode() -
toString
-