Package cdm.event.common.functions
Class Create_TerminationInstruction
java.lang.Object
cdm.event.common.functions.Create_TerminationInstruction
- All Implemented Interfaces:
com.rosetta.model.lib.functions.RosettaFunction
- Direct Known Subclasses:
Create_TerminationInstruction.Create_TerminationInstructionDefault
public abstract class Create_TerminationInstruction
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.ModelObjectValidator -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract com.rosetta.model.lib.mapper.MapperS<? extends PriceQuantity> changePriceQuantity(TradeState tradeState, AdjustableOrRelativeDate effectiveDate) protected abstract com.rosetta.model.lib.mapper.MapperC<? extends NonNegativeQuantitySchedule> changeQuantity(TradeState tradeState, AdjustableOrRelativeDate effectiveDate) protected abstract PrimitiveInstruction.PrimitiveInstructionBuilderdoEvaluate(TradeState tradeState, AdjustableOrRelativeDate effectiveDate) evaluate(TradeState tradeState, AdjustableOrRelativeDate effectiveDate) 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
-
-
Constructor Details
-
Create_TerminationInstruction
public Create_TerminationInstruction()
-
-
Method Details
-
evaluate
- Parameters:
tradeState- The original trade to be termintaed.effectiveDate- Date of Termination- Returns:
- instruction
-
doEvaluate
protected abstract PrimitiveInstruction.PrimitiveInstructionBuilder doEvaluate(TradeState tradeState, AdjustableOrRelativeDate effectiveDate) -
changeQuantity
protected abstract com.rosetta.model.lib.mapper.MapperC<? extends NonNegativeQuantitySchedule> changeQuantity(TradeState tradeState, AdjustableOrRelativeDate effectiveDate) -
changePriceQuantity
protected abstract com.rosetta.model.lib.mapper.MapperS<? extends PriceQuantity> changePriceQuantity(TradeState tradeState, AdjustableOrRelativeDate effectiveDate)
-