Package cdm.event.common
Interface CounterpartyPositionBusinessEvent.CounterpartyPositionBusinessEventBuilder
- All Superinterfaces:
CounterpartyPositionBusinessEvent,com.rosetta.model.lib.RosettaModelObject,com.rosetta.model.lib.RosettaModelObjectBuilder
- All Known Implementing Classes:
CounterpartyPositionBusinessEvent.CounterpartyPositionBusinessEventBuilderImpl
- Enclosing interface:
CounterpartyPositionBusinessEvent
public static interface CounterpartyPositionBusinessEvent.CounterpartyPositionBusinessEventBuilder
extends CounterpartyPositionBusinessEvent, com.rosetta.model.lib.RosettaModelObjectBuilder
Builder Interface
-
Nested Class Summary
Nested classes/interfaces inherited from interface cdm.event.common.CounterpartyPositionBusinessEvent
CounterpartyPositionBusinessEvent.CounterpartyPositionBusinessEventBuilder, CounterpartyPositionBusinessEvent.CounterpartyPositionBusinessEventBuilderImpl, CounterpartyPositionBusinessEvent.CounterpartyPositionBusinessEventImpl -
Field Summary
Fields inherited from interface cdm.event.common.CounterpartyPositionBusinessEvent
metaData -
Method Summary
Modifier and TypeMethodDescriptionaddAfter(CounterpartyPositionState after, int idx) addAfter(List<? extends CounterpartyPositionState> after) getAfter()Specifies the after position state(s) created.getOrCreateAfter(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()setAfter(List<? extends CounterpartyPositionState> after) setCorporateActionIntent(CorporateActionTypeEnum corporateActionIntent) setEffectiveDate(com.rosetta.model.lib.records.Date effectiveDate) setEventDate(com.rosetta.model.lib.records.Date eventDate) setIntent(PositionEventIntentEnum intent) setPackageInformation(IdentifiedList packageInformation) Methods inherited from interface cdm.event.common.CounterpartyPositionBusinessEvent
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:CounterpartyPositionBusinessEventSpecifies 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 interfaceCounterpartyPositionBusinessEvent
-
getOrCreateAfter
-
getAfter
List<? extends CounterpartyPositionState.CounterpartyPositionStateBuilder> getAfter()Description copied from interface:CounterpartyPositionBusinessEventSpecifies the after position state(s) created.- Specified by:
getAfterin interfaceCounterpartyPositionBusinessEvent
-
setIntent
-
setCorporateActionIntent
CounterpartyPositionBusinessEvent.CounterpartyPositionBusinessEventBuilder setCorporateActionIntent(CorporateActionTypeEnum corporateActionIntent) -
setEventDate
CounterpartyPositionBusinessEvent.CounterpartyPositionBusinessEventBuilder setEventDate(com.rosetta.model.lib.records.Date eventDate) -
setEffectiveDate
CounterpartyPositionBusinessEvent.CounterpartyPositionBusinessEventBuilder setEffectiveDate(com.rosetta.model.lib.records.Date effectiveDate) -
setPackageInformation
CounterpartyPositionBusinessEvent.CounterpartyPositionBusinessEventBuilder setPackageInformation(IdentifiedList packageInformation) -
addAfter
-
addAfter
CounterpartyPositionBusinessEvent.CounterpartyPositionBusinessEventBuilder addAfter(CounterpartyPositionState after, int idx) -
addAfter
CounterpartyPositionBusinessEvent.CounterpartyPositionBusinessEventBuilder addAfter(List<? extends CounterpartyPositionState> after) -
setAfter
CounterpartyPositionBusinessEvent.CounterpartyPositionBusinessEventBuilder setAfter(List<? extends CounterpartyPositionState> after) -
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
-