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) protected abstract com.rosetta.model.lib.mapper.MapperC<? extends NonNegativeQuantitySchedule> changeQuantity(TradeState tradeState) protected abstract PrimitiveInstruction.PrimitiveInstructionBuilderdoEvaluate(TradeState tradeState) evaluate(TradeState tradeState) 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.- Returns:
- instruction
-
doEvaluate
protected abstract PrimitiveInstruction.PrimitiveInstructionBuilder doEvaluate(TradeState tradeState) -
changeQuantity
protected abstract com.rosetta.model.lib.mapper.MapperC<? extends NonNegativeQuantitySchedule> changeQuantity(TradeState tradeState) -
changePriceQuantity
protected abstract com.rosetta.model.lib.mapper.MapperS<? extends PriceQuantity> changePriceQuantity(TradeState tradeState)
-