Class CalculatedRateDetails.CalculatedRateDetailsImpl
java.lang.Object
cdm.observable.asset.calculatedrate.CalculatedRateDetails.CalculatedRateDetailsImpl
- All Implemented Interfaces:
CalculatedRateDetails,com.rosetta.model.lib.RosettaModelObject
- Enclosing interface:
CalculatedRateDetails
public static class CalculatedRateDetails.CalculatedRateDetailsImpl
extends Object
implements CalculatedRateDetails
Immutable Implementation of CalculatedRateDetails
-
Nested Class Summary
Nested classes/interfaces inherited from interface cdm.observable.asset.calculatedrate.CalculatedRateDetails
CalculatedRateDetails.CalculatedRateDetailsBuilder, CalculatedRateDetails.CalculatedRateDetailsBuilderImpl, CalculatedRateDetails.CalculatedRateDetailsImpl -
Field Summary
Fields inherited from interface cdm.observable.asset.calculatedrate.CalculatedRateDetails
metaData -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected -
Method Summary
Modifier and TypeMethodDescriptionbuild()Build MethodsbooleanThe total sum or product of all the individual terms that went into the calculated rate.The total weight of all the terms that went into the calculated rate.The resulting calculated weight.The compounding curve, showing how the initial value grew during the calculation period.The daily growth factors, showing the weighted rates divided by the day count basis plus one, giving how much the value grows for each step in the calculation.The observation dates and weights for each observation date.The weighted value of each observation.inthashCode()protected voidtoString()Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface cdm.observable.asset.calculatedrate.CalculatedRateDetails
getType, metaData, processMethods inherited from interface com.rosetta.model.lib.RosettaModelObject
processRosetta, processRosetta
-
Constructor Details
-
CalculatedRateDetailsImpl
-
-
Method Details
-
getObservations
@RosettaAttribute("observations") @RuneAttribute("observations") public CalculatedRateObservations getObservations()Description copied from interface:CalculatedRateDetailsThe observation dates and weights for each observation date.- Specified by:
getObservationsin interfaceCalculatedRateDetails
-
getWeightedRates
@RosettaAttribute("weightedRates") @RuneAttribute("weightedRates") public List<BigDecimal> getWeightedRates()Description copied from interface:CalculatedRateDetailsThe weighted value of each observation.- Specified by:
getWeightedRatesin interfaceCalculatedRateDetails
-
getGrowthFactor
@RosettaAttribute("growthFactor") @RuneAttribute("growthFactor") public List<BigDecimal> getGrowthFactor()Description copied from interface:CalculatedRateDetailsThe daily growth factors, showing the weighted rates divided by the day count basis plus one, giving how much the value grows for each step in the calculation.- Specified by:
getGrowthFactorin interfaceCalculatedRateDetails
-
getCompoundedGrowth
@RosettaAttribute("compoundedGrowth") @RuneAttribute("compoundedGrowth") public List<BigDecimal> getCompoundedGrowth()Description copied from interface:CalculatedRateDetailsThe compounding curve, showing how the initial value grew during the calculation period.- Specified by:
getCompoundedGrowthin interfaceCalculatedRateDetails
-
getAggregateValue
@RosettaAttribute("aggregateValue") @RuneAttribute("aggregateValue") public BigDecimal getAggregateValue()Description copied from interface:CalculatedRateDetailsThe total sum or product of all the individual terms that went into the calculated rate.- Specified by:
getAggregateValuein interfaceCalculatedRateDetails
-
getAggregateWeight
@RosettaAttribute("aggregateWeight") @RuneAttribute("aggregateWeight") public BigDecimal getAggregateWeight()Description copied from interface:CalculatedRateDetailsThe total weight of all the terms that went into the calculated rate.- Specified by:
getAggregateWeightin interfaceCalculatedRateDetails
-
getCalculatedRate
@RosettaAttribute("calculatedRate") @RuneAttribute("calculatedRate") public BigDecimal getCalculatedRate()Description copied from interface:CalculatedRateDetailsThe resulting calculated weight.- Specified by:
getCalculatedRatein interfaceCalculatedRateDetails
-
build
Description copied from interface:CalculatedRateDetailsBuild Methods- Specified by:
buildin interfaceCalculatedRateDetails- Specified by:
buildin interfacecom.rosetta.model.lib.RosettaModelObject
-
toBuilder
- Specified by:
toBuilderin interfaceCalculatedRateDetails- Specified by:
toBuilderin interfacecom.rosetta.model.lib.RosettaModelObject
-
setBuilderFields
-
equals
-
hashCode
public int hashCode() -
toString
-