Package cdm.event.common.functions
Class Create_OnDemandInterestPaymentPrimitiveInstruction
java.lang.Object
cdm.event.common.functions.Create_OnDemandInterestPaymentPrimitiveInstruction
- All Implemented Interfaces:
com.rosetta.model.lib.functions.RosettaFunction
- Direct Known Subclasses:
Create_OnDemandInterestPaymentPrimitiveInstruction.Create_OnDemandInterestPaymentPrimitiveInstructionDefault
public abstract class Create_OnDemandInterestPaymentPrimitiveInstruction
extends Object
implements com.rosetta.model.lib.functions.RosettaFunction
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected com.rosetta.model.lib.functions.ConditionValidatorprotected Create_Cashflowprotected Create_CashflowTermsChangeInstructionprotected com.rosetta.model.lib.functions.ModelObjectValidator -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract com.rosetta.model.lib.mapper.MapperS<? extends Cashflow> cashflow(TradeState tradeState, Money interestAmount, SettlementDate settlementDate) protected abstract PrimitiveInstruction.PrimitiveInstructionBuilderdoEvaluate(TradeState tradeState, Money interestAmount, SettlementDate settlementDate) evaluate(TradeState tradeState, Money interestAmount, SettlementDate settlementDate) protected abstract com.rosetta.model.lib.mapper.MapperS<? extends InterestRatePayout> interestRatePayout(TradeState tradeState, Money interestAmount, SettlementDate settlementDate) 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
-
Field Details
-
conditionValidator
@Inject protected com.rosetta.model.lib.functions.ConditionValidator conditionValidator -
objectValidator
@Inject protected com.rosetta.model.lib.functions.ModelObjectValidator objectValidator -
create_Cashflow
-
create_CashflowTermsChangeInstruction
-
-
Constructor Details
-
Create_OnDemandInterestPaymentPrimitiveInstruction
public Create_OnDemandInterestPaymentPrimitiveInstruction()
-
-
Method Details
-
evaluate
public PrimitiveInstruction evaluate(TradeState tradeState, Money interestAmount, SettlementDate settlementDate) - Parameters:
tradeState- The original trade to be modified.interestAmount-settlementDate-- Returns:
- instruction Result is a Terms Change Instruction.
-
doEvaluate
protected abstract PrimitiveInstruction.PrimitiveInstructionBuilder doEvaluate(TradeState tradeState, Money interestAmount, SettlementDate settlementDate) -
interestRatePayout
protected abstract com.rosetta.model.lib.mapper.MapperS<? extends InterestRatePayout> interestRatePayout(TradeState tradeState, Money interestAmount, SettlementDate settlementDate) -
cashflow
protected abstract com.rosetta.model.lib.mapper.MapperS<? extends Cashflow> cashflow(TradeState tradeState, Money interestAmount, SettlementDate settlementDate)
-