Package cdm.event.common
Class BusinessEvent.BusinessEventBuilderImpl
java.lang.Object
cdm.event.workflow.EventInstruction.EventInstructionBuilderImpl
cdm.event.common.BusinessEvent.BusinessEventBuilderImpl
- All Implemented Interfaces:
BusinessEvent,BusinessEvent.BusinessEventBuilder,EventInstruction,EventInstruction.EventInstructionBuilder,com.rosetta.model.lib.GlobalKey,com.rosetta.model.lib.GlobalKey.GlobalKeyBuilder,com.rosetta.model.lib.RosettaModelObject,com.rosetta.model.lib.RosettaModelObjectBuilder
- Enclosing interface:
BusinessEvent
public static class BusinessEvent.BusinessEventBuilderImpl
extends EventInstruction.EventInstructionBuilderImpl
implements BusinessEvent.BusinessEventBuilder
Builder Implementation of BusinessEvent
-
Nested Class Summary
Nested classes/interfaces inherited from interface cdm.event.common.BusinessEvent
BusinessEvent.BusinessEventBuilder, BusinessEvent.BusinessEventBuilderImpl, BusinessEvent.BusinessEventImplNested classes/interfaces inherited from interface cdm.event.workflow.EventInstruction
EventInstruction.EventInstructionBuilder, EventInstruction.EventInstructionBuilderImpl, EventInstruction.EventInstructionImplNested classes/interfaces inherited from interface com.rosetta.model.lib.GlobalKey
com.rosetta.model.lib.GlobalKey.GlobalKeyBuilder -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected List<TradeState.TradeStateBuilder> protected Stringprotected com.rosetta.model.metafields.MetaFields.MetaFieldsBuilderFields inherited from class cdm.event.workflow.EventInstruction.EventInstructionBuilderImpl
corporateActionIntent, effectiveDate, eventDate, instruction, intent, packageInformationFields inherited from interface cdm.event.common.BusinessEvent
metaDataFields inherited from interface cdm.event.workflow.EventInstruction
metaData -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddAfter(TradeState _after) addAfter(TradeState _after, int idx) addAfter(List<? extends TradeState> afters) addInstruction(Instruction _instruction) addInstruction(Instruction _instruction, int idx) addInstruction(List<? extends Instruction> instructions) build()Build MethodsbooleanList<? extends TradeState.TradeStateBuilder> getAfter()Specifies the after trade state(s) created.The CDM event qualifier, which corresponds to the outcome of the isEvent qualification logic which qualifies the lifecycle event as a function of its features (e.g.com.rosetta.model.metafields.MetaFields.MetaFieldsBuildergetMeta()getOrCreateAfter(int index) com.rosetta.model.metafields.MetaFields.MetaFieldsBuilderbooleanhasData()inthashCode()merge(com.rosetta.model.lib.RosettaModelObjectBuilder other, com.rosetta.model.lib.process.BuilderMerger merger) prune()setAfter(List<? extends TradeState> afters) setCorporateActionIntent(CorporateActionTypeEnum _corporateActionIntent) setEffectiveDate(com.rosetta.model.lib.records.Date _effectiveDate) setEventDate(com.rosetta.model.lib.records.Date _eventDate) setEventQualifier(String _eventQualifier) setInstruction(List<? extends Instruction> instructions) setIntent(EventIntentEnum _intent) setMeta(com.rosetta.model.metafields.MetaFields _meta) setPackageInformation(IdentifiedList _packageInformation) toString()Methods inherited from class cdm.event.workflow.EventInstruction.EventInstructionBuilderImpl
getCorporateActionIntent, getEffectiveDate, getEventDate, getInstruction, getIntent, getOrCreateInstruction, getOrCreatePackageInformation, getPackageInformationMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface cdm.event.common.BusinessEvent
getType, metaData, processMethods inherited from interface cdm.event.common.BusinessEvent.BusinessEventBuilder
processMethods inherited from interface cdm.event.workflow.EventInstruction
getCorporateActionIntent, getEffectiveDate, getEventDate, getIntentMethods inherited from interface cdm.event.workflow.EventInstruction.EventInstructionBuilder
getInstruction, getOrCreateInstruction, getOrCreatePackageInformation, getPackageInformationMethods inherited from interface com.rosetta.model.lib.RosettaModelObject
processRosetta, processRosettaMethods inherited from interface com.rosetta.model.lib.RosettaModelObjectBuilder
getIndex, processRosetta, processRosetta
-
Field Details
-
eventQualifier
-
after
-
meta
protected com.rosetta.model.metafields.MetaFields.MetaFieldsBuilder meta
-
-
Constructor Details
-
BusinessEventBuilderImpl
public BusinessEventBuilderImpl()
-
-
Method Details
-
getEventQualifier
@RosettaAttribute("eventQualifier") @RuneAttribute("eventQualifier") public String getEventQualifier()Description copied from interface:BusinessEventThe CDM event qualifier, which corresponds to the outcome of the isEvent qualification logic which qualifies the lifecycle event as a function of its features (e.g. PartialTermination, ClearingSubmission, Novation, ...).- Specified by:
getEventQualifierin interfaceBusinessEvent
-
getAfter
@RosettaAttribute("after") @RuneAttribute("after") public List<? extends TradeState.TradeStateBuilder> getAfter()Description copied from interface:BusinessEventSpecifies the after trade state(s) created.- Specified by:
getAfterin interfaceBusinessEvent- Specified by:
getAfterin interfaceBusinessEvent.BusinessEventBuilder
-
getOrCreateAfter
- Specified by:
getOrCreateAfterin interfaceBusinessEvent.BusinessEventBuilder
-
getMeta
@RosettaAttribute("meta") @RuneAttribute("meta") @RuneMetaType public com.rosetta.model.metafields.MetaFields.MetaFieldsBuilder getMeta()- Specified by:
getMetain interfaceBusinessEvent- Specified by:
getMetain interfaceBusinessEvent.BusinessEventBuilder- Specified by:
getMetain interfacecom.rosetta.model.lib.GlobalKey- Specified by:
getMetain interfacecom.rosetta.model.lib.GlobalKey.GlobalKeyBuilder
-
getOrCreateMeta
public com.rosetta.model.metafields.MetaFields.MetaFieldsBuilder getOrCreateMeta()- Specified by:
getOrCreateMetain interfaceBusinessEvent.BusinessEventBuilder- Specified by:
getOrCreateMetain interfacecom.rosetta.model.lib.GlobalKey.GlobalKeyBuilder
-
setIntent
@RosettaAttribute("intent") @RuneAttribute("intent") public BusinessEvent.BusinessEventBuilder setIntent(EventIntentEnum _intent) - Specified by:
setIntentin interfaceBusinessEvent.BusinessEventBuilder- Specified by:
setIntentin interfaceEventInstruction.EventInstructionBuilder- Overrides:
setIntentin classEventInstruction.EventInstructionBuilderImpl
-
setCorporateActionIntent
@RosettaAttribute("corporateActionIntent") @RuneAttribute("corporateActionIntent") public BusinessEvent.BusinessEventBuilder setCorporateActionIntent(CorporateActionTypeEnum _corporateActionIntent) - Specified by:
setCorporateActionIntentin interfaceBusinessEvent.BusinessEventBuilder- Specified by:
setCorporateActionIntentin interfaceEventInstruction.EventInstructionBuilder- Overrides:
setCorporateActionIntentin classEventInstruction.EventInstructionBuilderImpl
-
setEventDate
@RosettaAttribute("eventDate") @RuneAttribute("eventDate") public BusinessEvent.BusinessEventBuilder setEventDate(com.rosetta.model.lib.records.Date _eventDate) - Specified by:
setEventDatein interfaceBusinessEvent.BusinessEventBuilder- Specified by:
setEventDatein interfaceEventInstruction.EventInstructionBuilder- Overrides:
setEventDatein classEventInstruction.EventInstructionBuilderImpl
-
setEffectiveDate
@RosettaAttribute("effectiveDate") @RuneAttribute("effectiveDate") public BusinessEvent.BusinessEventBuilder setEffectiveDate(com.rosetta.model.lib.records.Date _effectiveDate) - Specified by:
setEffectiveDatein interfaceBusinessEvent.BusinessEventBuilder- Specified by:
setEffectiveDatein interfaceEventInstruction.EventInstructionBuilder- Overrides:
setEffectiveDatein classEventInstruction.EventInstructionBuilderImpl
-
setPackageInformation
@RosettaAttribute("packageInformation") @RuneAttribute("packageInformation") public BusinessEvent.BusinessEventBuilder setPackageInformation(IdentifiedList _packageInformation) - Specified by:
setPackageInformationin interfaceBusinessEvent.BusinessEventBuilder- Specified by:
setPackageInformationin interfaceEventInstruction.EventInstructionBuilder- Overrides:
setPackageInformationin classEventInstruction.EventInstructionBuilderImpl
-
addInstruction
@RosettaAttribute("instruction") @RuneAttribute("instruction") public BusinessEvent.BusinessEventBuilder addInstruction(Instruction _instruction) - Specified by:
addInstructionin interfaceBusinessEvent.BusinessEventBuilder- Specified by:
addInstructionin interfaceEventInstruction.EventInstructionBuilder- Overrides:
addInstructionin classEventInstruction.EventInstructionBuilderImpl
-
addInstruction
- Specified by:
addInstructionin interfaceBusinessEvent.BusinessEventBuilder- Specified by:
addInstructionin interfaceEventInstruction.EventInstructionBuilder- Overrides:
addInstructionin classEventInstruction.EventInstructionBuilderImpl
-
addInstruction
- Specified by:
addInstructionin interfaceBusinessEvent.BusinessEventBuilder- Specified by:
addInstructionin interfaceEventInstruction.EventInstructionBuilder- Overrides:
addInstructionin classEventInstruction.EventInstructionBuilderImpl
-
setInstruction
@RuneAttribute("instruction") public BusinessEvent.BusinessEventBuilder setInstruction(List<? extends Instruction> instructions) - Specified by:
setInstructionin interfaceBusinessEvent.BusinessEventBuilder- Specified by:
setInstructionin interfaceEventInstruction.EventInstructionBuilder- Overrides:
setInstructionin classEventInstruction.EventInstructionBuilderImpl
-
setEventQualifier
@RosettaAttribute("eventQualifier") @RuneAttribute("eventQualifier") public BusinessEvent.BusinessEventBuilder setEventQualifier(String _eventQualifier) - Specified by:
setEventQualifierin interfaceBusinessEvent.BusinessEventBuilder
-
addAfter
@RosettaAttribute("after") @RuneAttribute("after") public BusinessEvent.BusinessEventBuilder addAfter(TradeState _after) - Specified by:
addAfterin interfaceBusinessEvent.BusinessEventBuilder
-
addAfter
- Specified by:
addAfterin interfaceBusinessEvent.BusinessEventBuilder
-
addAfter
- Specified by:
addAfterin interfaceBusinessEvent.BusinessEventBuilder
-
setAfter
@RuneAttribute("after") public BusinessEvent.BusinessEventBuilder setAfter(List<? extends TradeState> afters) - Specified by:
setAfterin interfaceBusinessEvent.BusinessEventBuilder
-
setMeta
@RosettaAttribute("meta") @RuneAttribute("meta") @RuneMetaType public BusinessEvent.BusinessEventBuilder setMeta(com.rosetta.model.metafields.MetaFields _meta) - Specified by:
setMetain interfaceBusinessEvent.BusinessEventBuilder
-
build
Description copied from interface:EventInstructionBuild Methods- Specified by:
buildin interfaceBusinessEvent- Specified by:
buildin interfaceEventInstruction- Specified by:
buildin interfacecom.rosetta.model.lib.RosettaModelObject- Overrides:
buildin classEventInstruction.EventInstructionBuilderImpl
-
toBuilder
- Specified by:
toBuilderin interfaceBusinessEvent- Specified by:
toBuilderin interfaceEventInstruction- Specified by:
toBuilderin interfacecom.rosetta.model.lib.RosettaModelObject- Overrides:
toBuilderin classEventInstruction.EventInstructionBuilderImpl
-
prune
- Specified by:
prunein interfaceBusinessEvent.BusinessEventBuilder- Specified by:
prunein interfaceEventInstruction.EventInstructionBuilder- Specified by:
prunein interfacecom.rosetta.model.lib.RosettaModelObjectBuilder- Overrides:
prunein classEventInstruction.EventInstructionBuilderImpl
-
hasData
public boolean hasData()- Specified by:
hasDatain interfacecom.rosetta.model.lib.RosettaModelObjectBuilder- Overrides:
hasDatain classEventInstruction.EventInstructionBuilderImpl
-
merge
public BusinessEvent.BusinessEventBuilder merge(com.rosetta.model.lib.RosettaModelObjectBuilder other, com.rosetta.model.lib.process.BuilderMerger merger) - Specified by:
mergein interfacecom.rosetta.model.lib.RosettaModelObjectBuilder- Overrides:
mergein classEventInstruction.EventInstructionBuilderImpl
-
equals
- Overrides:
equalsin classEventInstruction.EventInstructionBuilderImpl
-
hashCode
public int hashCode()- Overrides:
hashCodein classEventInstruction.EventInstructionBuilderImpl
-
toString
- Overrides:
toStringin classEventInstruction.EventInstructionBuilderImpl
-