Package cdm.event.common.functions
Class RateOfReturn
java.lang.Object
cdm.event.common.functions.RateOfReturn
- All Implemented Interfaces:
com.rosetta.model.lib.functions.RosettaFunction
- Direct Known Subclasses:
RateOfReturn.RateOfReturnDefault
public abstract class RateOfReturn
extends Object
implements com.rosetta.model.lib.functions.RosettaFunction
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract BigDecimaldoEvaluate(PriceSchedule initialPrice, PriceSchedule finalPrice) evaluate(PriceSchedule initialPrice, PriceSchedule finalPrice) protected abstract com.rosetta.model.lib.mapper.MapperS<BigDecimal> finalPriceValue(PriceSchedule initialPrice, PriceSchedule finalPrice) protected abstract com.rosetta.model.lib.mapper.MapperS<BigDecimal> initialPriceValue(PriceSchedule initialPrice, PriceSchedule finalPrice) Methods 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
-
RateOfReturn
public RateOfReturn()
-
-
Method Details
-
evaluate
- Parameters:
initialPrice-finalPrice-- Returns:
- rateOfReturn
-
doEvaluate
-
initialPriceValue
protected abstract com.rosetta.model.lib.mapper.MapperS<BigDecimal> initialPriceValue(PriceSchedule initialPrice, PriceSchedule finalPrice) -
finalPriceValue
protected abstract com.rosetta.model.lib.mapper.MapperS<BigDecimal> finalPriceValue(PriceSchedule initialPrice, PriceSchedule finalPrice)
-