Package cdm.event.common.functions
Class RateOfReturn.RateOfReturnDefault
java.lang.Object
cdm.event.common.functions.RateOfReturn
cdm.event.common.functions.RateOfReturn.RateOfReturnDefault
- All Implemented Interfaces:
com.rosetta.model.lib.functions.RosettaFunction
- Enclosing class:
RateOfReturn
-
Nested Class Summary
Nested classes/interfaces inherited from class cdm.event.common.functions.RateOfReturn
RateOfReturn.RateOfReturnDefault -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected BigDecimalassignOutput(BigDecimal rateOfReturn, PriceSchedule initialPrice, PriceSchedule finalPrice) protected BigDecimaldoEvaluate(PriceSchedule initialPrice, PriceSchedule finalPrice) protected com.rosetta.model.lib.mapper.MapperS<BigDecimal> finalPriceValue(PriceSchedule initialPrice, PriceSchedule finalPrice) protected com.rosetta.model.lib.mapper.MapperS<BigDecimal> initialPriceValue(PriceSchedule initialPrice, PriceSchedule finalPrice) Methods inherited from class cdm.event.common.functions.RateOfReturn
evaluateMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.rosetta.model.lib.functions.RosettaFunction
toBuilder, toBuilder, toBuilder
-
Constructor Details
-
RateOfReturnDefault
public RateOfReturnDefault()
-
-
Method Details
-
doEvaluate
- Specified by:
doEvaluatein classRateOfReturn
-
assignOutput
protected BigDecimal assignOutput(BigDecimal rateOfReturn, PriceSchedule initialPrice, PriceSchedule finalPrice) -
initialPriceValue
protected com.rosetta.model.lib.mapper.MapperS<BigDecimal> initialPriceValue(PriceSchedule initialPrice, PriceSchedule finalPrice) - Specified by:
initialPriceValuein classRateOfReturn
-
finalPriceValue
protected com.rosetta.model.lib.mapper.MapperS<BigDecimal> finalPriceValue(PriceSchedule initialPrice, PriceSchedule finalPrice) - Specified by:
finalPriceValuein classRateOfReturn
-