Package cdm.event.common.functions
Class UpdateSpreadAdjustmentAndRateOptions
java.lang.Object
cdm.event.common.functions.UpdateSpreadAdjustmentAndRateOptions
- All Implemented Interfaces:
com.rosetta.model.lib.functions.RosettaFunction
- Direct Known Subclasses:
UpdateSpreadAdjustmentAndRateOptions.UpdateSpreadAdjustmentAndRateOptionsDefault
public abstract class UpdateSpreadAdjustmentAndRateOptions
extends Object
implements com.rosetta.model.lib.functions.RosettaFunction
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected FindMatchingIndexTransitionInstructionprotected com.rosetta.model.lib.functions.ModelObjectValidatorprotected UpdateIndexTransitionPriceAndRateOption -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract TradeState.TradeStateBuilderdoEvaluate(TradeState tradeState, List<? extends PriceQuantity> instructions) evaluate(TradeState tradeState, List<? extends PriceQuantity> instructions) 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
-
objectValidator
@Inject protected com.rosetta.model.lib.functions.ModelObjectValidator objectValidator -
findMatchingIndexTransitionInstruction
-
updateIndexTransitionPriceAndRateOption
-
-
Constructor Details
-
UpdateSpreadAdjustmentAndRateOptions
public UpdateSpreadAdjustmentAndRateOptions()
-
-
Method Details
-
evaluate
- Parameters:
tradeState- Specifies the trade to be updated.instructions- List of PriceQuantity from the IndexTransitionInstruction (e.g. one for each floating rate leg).- Returns:
- updatedTradeState Specifies the updated trade.
-
doEvaluate
protected abstract TradeState.TradeStateBuilder doEvaluate(TradeState tradeState, List<? extends PriceQuantity> instructions)
-