Package cdm.event.workflow
Interface EventInstruction.EventInstructionBuilder
- All Superinterfaces:
EventInstruction,com.rosetta.model.lib.RosettaModelObject,com.rosetta.model.lib.RosettaModelObjectBuilder
- All Known Subinterfaces:
BusinessEvent.BusinessEventBuilder
- All Known Implementing Classes:
BusinessEvent.BusinessEventBuilderImpl,EventInstruction.EventInstructionBuilderImpl
- Enclosing interface:
EventInstruction
public static interface EventInstruction.EventInstructionBuilder
extends EventInstruction, com.rosetta.model.lib.RosettaModelObjectBuilder
Builder Interface
-
Nested Class Summary
Nested classes/interfaces inherited from interface cdm.event.workflow.EventInstruction
EventInstruction.EventInstructionBuilder, EventInstruction.EventInstructionBuilderImpl, EventInstruction.EventInstructionImpl -
Field Summary
Fields inherited from interface cdm.event.workflow.EventInstruction
metaData -
Method Summary
Modifier and TypeMethodDescriptionaddInstruction(Instruction instruction) addInstruction(Instruction instruction, int idx) addInstruction(List<? extends Instruction> instruction) List<? extends Instruction.InstructionBuilder> Specifies the instructions to create the Business Event.getOrCreateInstruction(int index) Specifies the package information in case the business event represents several trades executed as a package (hence this attribute is optional).default voidprocess(com.rosetta.model.lib.path.RosettaPath path, com.rosetta.model.lib.process.BuilderProcessor processor) prune()setCorporateActionIntent(CorporateActionTypeEnum corporateActionIntent) setEffectiveDate(com.rosetta.model.lib.records.Date effectiveDate) setEventDate(com.rosetta.model.lib.records.Date eventDate) setInstruction(List<? extends Instruction> instruction) setIntent(EventIntentEnum intent) setPackageInformation(IdentifiedList packageInformation) Methods inherited from interface cdm.event.workflow.EventInstruction
build, getCorporateActionIntent, getEffectiveDate, getEventDate, getIntent, getType, metaData, process, toBuilderMethods 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
-
getOrCreatePackageInformation
IdentifiedList.IdentifiedListBuilder getOrCreatePackageInformation() -
getPackageInformation
IdentifiedList.IdentifiedListBuilder getPackageInformation()Description copied from interface:EventInstructionSpecifies the package information in case the business event represents several trades executed as a package (hence this attribute is optional). The package information is only instantiated once at the business event level to preserve referential integrity, whereas individual trades make reference to it to identify that they are part of a package.- Specified by:
getPackageInformationin interfaceEventInstruction
-
getOrCreateInstruction
-
getInstruction
List<? extends Instruction.InstructionBuilder> getInstruction()Description copied from interface:EventInstructionSpecifies the instructions to create the Business Event.- Specified by:
getInstructionin interfaceEventInstruction
-
setIntent
-
setCorporateActionIntent
EventInstruction.EventInstructionBuilder setCorporateActionIntent(CorporateActionTypeEnum corporateActionIntent) -
setEventDate
-
setEffectiveDate
EventInstruction.EventInstructionBuilder setEffectiveDate(com.rosetta.model.lib.records.Date effectiveDate) -
setPackageInformation
-
addInstruction
-
addInstruction
-
addInstruction
-
setInstruction
-
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
-