Package cdm.event.common
Interface SplitInstruction.SplitInstructionBuilder
- All Superinterfaces:
com.rosetta.model.lib.RosettaModelObject,com.rosetta.model.lib.RosettaModelObjectBuilder,SplitInstruction
- All Known Implementing Classes:
SplitInstruction.SplitInstructionBuilderImpl
- Enclosing interface:
SplitInstruction
public static interface SplitInstruction.SplitInstructionBuilder
extends SplitInstruction, com.rosetta.model.lib.RosettaModelObjectBuilder
Builder Interface
-
Nested Class Summary
Nested classes/interfaces inherited from interface cdm.event.common.SplitInstruction
SplitInstruction.SplitInstructionBuilder, SplitInstruction.SplitInstructionBuilderImpl, SplitInstruction.SplitInstructionImpl -
Field Summary
Fields inherited from interface cdm.event.common.SplitInstruction
metaData -
Method Summary
Modifier and TypeMethodDescriptionaddBreakdown(PrimitiveInstruction breakdown) addBreakdown(PrimitiveInstruction breakdown, int idx) addBreakdown(List<? extends PrimitiveInstruction> breakdown) Each split breakdown specifies the set of primitive instructions to be applied to a single branch of that split.getOrCreateBreakdown(int index) default voidprocess(com.rosetta.model.lib.path.RosettaPath path, com.rosetta.model.lib.process.BuilderProcessor processor) prune()setBreakdown(List<? extends PrimitiveInstruction> breakdown) Methods inherited from interface com.rosetta.model.lib.RosettaModelObject
processRosetta, processRosettaMethods inherited from interface com.rosetta.model.lib.RosettaModelObjectBuilder
getIndex, hasData, merge, processRosetta, processRosetta
-
Method Details
-
getOrCreateBreakdown
-
getBreakdown
List<? extends PrimitiveInstruction.PrimitiveInstructionBuilder> getBreakdown()Description copied from interface:SplitInstructionEach split breakdown specifies the set of primitive instructions to be applied to a single branch of that split. N split breakdowns result in N output trades, which include the original trade. Instructions for how to handle the original trade (e.g. if it must be closed) must be specified in one of the breakdowns.- Specified by:
getBreakdownin interfaceSplitInstruction
-
addBreakdown
-
addBreakdown
-
addBreakdown
SplitInstruction.SplitInstructionBuilder addBreakdown(List<? extends PrimitiveInstruction> breakdown) -
setBreakdown
SplitInstruction.SplitInstructionBuilder setBreakdown(List<? extends PrimitiveInstruction> breakdown) -
process
default void process(com.rosetta.model.lib.path.RosettaPath path, com.rosetta.model.lib.process.BuilderProcessor processor) - Specified by:
processin interfacecom.rosetta.model.lib.RosettaModelObjectBuilder
-
prune
- Specified by:
prunein interfacecom.rosetta.model.lib.RosettaModelObjectBuilder
-