Package cdm.event.common
Interface SplitInstruction
- All Superinterfaces:
com.rosetta.model.lib.RosettaModelObject
- All Known Subinterfaces:
SplitInstruction.SplitInstructionBuilder
- All Known Implementing Classes:
SplitInstruction.SplitInstructionBuilderImpl,SplitInstruction.SplitInstructionImpl
@RosettaDataType(value="SplitInstruction",
builder=SplitInstructionBuilderImpl.class,
version="5.30.0")
@RuneDataType(value="SplitInstruction",
model="cdm",
builder=SplitInstructionBuilderImpl.class,
version="5.30.0")
public interface SplitInstruction
extends com.rosetta.model.lib.RosettaModelObject
Specifies instructions for a split, consisting of a breakdown of instructions to be applied to each branch of the split. This instruction can be used to duplicate a trade, as in a clearing scenario, or to split a trade into smaller quantities (in which case each breakdown instruction needs to include a quantity change), as in an allocation.
- Version:
- 5.30.0
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceBuilder Interfacestatic classBuilder Implementation of SplitInstructionstatic classImmutable Implementation of SplitInstruction -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionbuild()Build Methodsbuilder()List<? extends PrimitiveInstruction> Each split breakdown specifies the set of primitive instructions to be applied to a single branch of that split.default Class<? extends SplitInstruction> getType()default com.rosetta.model.lib.meta.RosettaMetaData<? extends SplitInstruction> metaData()Utility Methodsdefault voidprocess(com.rosetta.model.lib.path.RosettaPath path, com.rosetta.model.lib.process.Processor processor) Methods inherited from interface com.rosetta.model.lib.RosettaModelObject
processRosetta, processRosetta
-
Field Details
-
metaData
-
-
Method Details
-
getBreakdown
List<? extends PrimitiveInstruction> getBreakdown()Each 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. -
build
SplitInstruction build()Build Methods- Specified by:
buildin interfacecom.rosetta.model.lib.RosettaModelObject
-
toBuilder
SplitInstruction.SplitInstructionBuilder toBuilder()- Specified by:
toBuilderin interfacecom.rosetta.model.lib.RosettaModelObject
-
builder
-
metaData
Utility Methods- Specified by:
metaDatain interfacecom.rosetta.model.lib.RosettaModelObject
-
getType
- Specified by:
getTypein interfacecom.rosetta.model.lib.RosettaModelObject
-
process
default void process(com.rosetta.model.lib.path.RosettaPath path, com.rosetta.model.lib.process.Processor processor) - Specified by:
processin interfacecom.rosetta.model.lib.RosettaModelObject
-