Package cdm.event.workflow
Interface WorkflowStep.WorkflowStepBuilder
- All Superinterfaces:
com.rosetta.model.lib.GlobalKey,com.rosetta.model.lib.GlobalKey.GlobalKeyBuilder,com.rosetta.model.lib.RosettaModelObject,com.rosetta.model.lib.RosettaModelObjectBuilder,WorkflowStep
- All Known Implementing Classes:
WorkflowStep.WorkflowStepBuilderImpl
- Enclosing interface:
WorkflowStep
public static interface WorkflowStep.WorkflowStepBuilder
extends WorkflowStep, com.rosetta.model.lib.RosettaModelObjectBuilder, com.rosetta.model.lib.GlobalKey.GlobalKeyBuilder
Builder Interface
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.rosetta.model.lib.GlobalKey
com.rosetta.model.lib.GlobalKey.GlobalKeyBuilderNested classes/interfaces inherited from interface cdm.event.workflow.WorkflowStep
WorkflowStep.WorkflowStepBuilder, WorkflowStep.WorkflowStepBuilderImpl, WorkflowStep.WorkflowStepImpl -
Field Summary
Fields inherited from interface cdm.event.workflow.WorkflowStep
metaData -
Method Summary
Modifier and TypeMethodDescriptionaddAccount(Account account) addAccount(Account account, int idx) addAccount(List<? extends Account> account) addApproval(WorkflowStepApproval approval) addApproval(WorkflowStepApproval approval, int idx) addApproval(List<? extends WorkflowStepApproval> approval) addEventIdentifier(Identifier eventIdentifier) addEventIdentifier(Identifier eventIdentifier, int idx) addEventIdentifier(List<? extends Identifier> eventIdentifier) addTimestamp(EventTimestamp timestamp) addTimestamp(EventTimestamp timestamp, int idx) addTimestamp(List<? extends EventTimestamp> timestamp) List<? extends Account.AccountBuilder> Optional account information that could be associated to the event.Optional party approvals for the current workflow step.Life cycle event for the step.Documents the life cycle event for a position.List<? extends Identifier.IdentifierBuilder> The identifier(s) that uniquely identify a lifecycle event.The lineage attribute provides a linkage among lifecycle events through the globalKey hash value.Contains all information pertaining the FpML messaging headercom.rosetta.model.metafields.MetaFields.MetaFieldsBuildergetMeta()The intended next event can be specified, even if the instructions are not known yet.getOrCreateAccount(int index) getOrCreateApproval(int index) getOrCreateEventIdentifier(int index) com.rosetta.model.metafields.MetaFields.MetaFieldsBuildergetOrCreateParty(int index) getOrCreateTimestamp(int index) List<? extends Party.PartyBuilder> getParty()The specification of the event parties.Optional previous workflow step that provides lineage to workflow steps that precedes it.The proposed event for a workflow step.List<? extends EventTimestamp.EventTimestampBuilder> The set of timestamp(s) associated with the event as a collection of [dateTime, qualifier].The event workflow information, i.e. the workflow status, the associated comment and the partyCustomisedWorkflow which purpose is to provide the ability to associate custom workflow information to the CDM.default voidprocess(com.rosetta.model.lib.path.RosettaPath path, com.rosetta.model.lib.process.BuilderProcessor processor) prune()setAccount(List<? extends Account> account) setAction(ActionEnum action) setApproval(List<? extends WorkflowStepApproval> approval) setBusinessEvent(BusinessEvent businessEvent) setCounterpartyPositionBusinessEvent(CounterpartyPositionBusinessEvent counterpartyPositionBusinessEvent) setCreditLimitInformation(CreditLimitInformation creditLimitInformation) setEventIdentifier(List<? extends Identifier> eventIdentifier) setLineage(Lineage lineage) setMessageInformation(MessageInformation messageInformation) setMeta(com.rosetta.model.metafields.MetaFields meta) setNextEvent(EventInstruction nextEvent) setPreviousWorkflowStep(ReferenceWithMetaWorkflowStep previousWorkflowStep) setPreviousWorkflowStepValue(WorkflowStep previousWorkflowStep) setProposedEvent(EventInstruction proposedEvent) setRejected(Boolean rejected) setTimestamp(List<? extends EventTimestamp> timestamp) setWorkflowState(WorkflowState workflowState) Methods inherited from interface com.rosetta.model.lib.RosettaModelObject
processRosetta, processRosettaMethods inherited from interface com.rosetta.model.lib.RosettaModelObjectBuilder
getIndex, hasData, merge, processRosetta, processRosettaMethods inherited from interface cdm.event.workflow.WorkflowStep
build, getAction, getRejected, getType, metaData, process, toBuilder
-
Method Details
-
getOrCreateBusinessEvent
BusinessEvent.BusinessEventBuilder getOrCreateBusinessEvent() -
getBusinessEvent
BusinessEvent.BusinessEventBuilder getBusinessEvent()Description copied from interface:WorkflowStepLife cycle event for the step. The businessEvent is optional when a proposedEvent or rejection are present.- Specified by:
getBusinessEventin interfaceWorkflowStep
-
getOrCreateCounterpartyPositionBusinessEvent
CounterpartyPositionBusinessEvent.CounterpartyPositionBusinessEventBuilder getOrCreateCounterpartyPositionBusinessEvent() -
getCounterpartyPositionBusinessEvent
CounterpartyPositionBusinessEvent.CounterpartyPositionBusinessEventBuilder getCounterpartyPositionBusinessEvent()Description copied from interface:WorkflowStepDocuments the life cycle event for a position.- Specified by:
getCounterpartyPositionBusinessEventin interfaceWorkflowStep
-
getOrCreateProposedEvent
EventInstruction.EventInstructionBuilder getOrCreateProposedEvent() -
getProposedEvent
EventInstruction.EventInstructionBuilder getProposedEvent()Description copied from interface:WorkflowStepThe proposed event for a workflow step. The proposedEvent is optional when the businessEvent or rejection are present- Specified by:
getProposedEventin interfaceWorkflowStep
-
getOrCreateApproval
-
getApproval
List<? extends WorkflowStepApproval.WorkflowStepApprovalBuilder> getApproval()Description copied from interface:WorkflowStepOptional party approvals for the current workflow step. A workflow step can have any number of parties associated to it, thus this object is represented as a list. All parties that are expected to provide approval should have an item in this list that references them.- Specified by:
getApprovalin interfaceWorkflowStep
-
getOrCreatePreviousWorkflowStep
ReferenceWithMetaWorkflowStep.ReferenceWithMetaWorkflowStepBuilder getOrCreatePreviousWorkflowStep() -
getPreviousWorkflowStep
ReferenceWithMetaWorkflowStep.ReferenceWithMetaWorkflowStepBuilder getPreviousWorkflowStep()Description copied from interface:WorkflowStepOptional previous workflow step that provides lineage to workflow steps that precedes it.- Specified by:
getPreviousWorkflowStepin interfaceWorkflowStep
-
getOrCreateNextEvent
EventInstruction.EventInstructionBuilder getOrCreateNextEvent() -
getNextEvent
EventInstruction.EventInstructionBuilder getNextEvent()Description copied from interface:WorkflowStepThe intended next event can be specified, even if the instructions are not known yet.- Specified by:
getNextEventin interfaceWorkflowStep
-
getOrCreateMessageInformation
MessageInformation.MessageInformationBuilder getOrCreateMessageInformation() -
getMessageInformation
MessageInformation.MessageInformationBuilder getMessageInformation()Description copied from interface:WorkflowStepContains all information pertaining the FpML messaging header- Specified by:
getMessageInformationin interfaceWorkflowStep
-
getOrCreateTimestamp
-
getTimestamp
List<? extends EventTimestamp.EventTimestampBuilder> getTimestamp()Description copied from interface:WorkflowStepThe set of timestamp(s) associated with the event as a collection of [dateTime, qualifier].- Specified by:
getTimestampin interfaceWorkflowStep
-
getOrCreateEventIdentifier
-
getEventIdentifier
List<? extends Identifier.IdentifierBuilder> getEventIdentifier()Description copied from interface:WorkflowStepThe identifier(s) that uniquely identify a lifecycle event. The unbounded cardinality is meant to provide the ability to associate identifiers that are issued by distinct parties. As an example, each of the parties to the event may choose to associate their own identifiers to the event.- Specified by:
getEventIdentifierin interfaceWorkflowStep
-
getOrCreateParty
-
getParty
List<? extends Party.PartyBuilder> getParty()Description copied from interface:WorkflowStepThe specification of the event parties. This attribute is optional, as not applicable to certain events (e.g. most of the observations).- Specified by:
getPartyin interfaceWorkflowStep
-
getOrCreateAccount
-
getAccount
List<? extends Account.AccountBuilder> getAccount()Description copied from interface:WorkflowStepOptional account information that could be associated to the event.- Specified by:
getAccountin interfaceWorkflowStep
-
getOrCreateLineage
Lineage.LineageBuilder getOrCreateLineage() -
getLineage
Lineage.LineageBuilder getLineage()Description copied from interface:WorkflowStepThe lineage attribute provides a linkage among lifecycle events through the globalKey hash value. One example is when a given lifecycle event is being corrected or cancelled. In such case, each subsequent event will have lineage into the prior version of that event. The second broad use case is when an event has a dependency upon either another event (e.g. the regular payment associated with a fix/float swap will have a lineage into the reset event, which will in turn have a lineage into the observation event for the floating rate and the contract) or a contract (e.g. the exercise of an option has a lineage into that option).- Specified by:
getLineagein interfaceWorkflowStep
-
getOrCreateCreditLimitInformation
CreditLimitInformation.CreditLimitInformationBuilder getOrCreateCreditLimitInformation() -
getCreditLimitInformation
CreditLimitInformation.CreditLimitInformationBuilder getCreditLimitInformation()- Specified by:
getCreditLimitInformationin interfaceWorkflowStep
-
getOrCreateWorkflowState
WorkflowState.WorkflowStateBuilder getOrCreateWorkflowState() -
getWorkflowState
WorkflowState.WorkflowStateBuilder getWorkflowState()Description copied from interface:WorkflowStepThe event workflow information, i.e. the workflow status, the associated comment and the partyCustomisedWorkflow which purpose is to provide the ability to associate custom workflow information to the CDM.- Specified by:
getWorkflowStatein interfaceWorkflowStep
-
getOrCreateMeta
com.rosetta.model.metafields.MetaFields.MetaFieldsBuilder getOrCreateMeta()- Specified by:
getOrCreateMetain interfacecom.rosetta.model.lib.GlobalKey.GlobalKeyBuilder
-
getMeta
com.rosetta.model.metafields.MetaFields.MetaFieldsBuilder getMeta()- Specified by:
getMetain interfacecom.rosetta.model.lib.GlobalKey- Specified by:
getMetain interfacecom.rosetta.model.lib.GlobalKey.GlobalKeyBuilder- Specified by:
getMetain interfaceWorkflowStep
-
setBusinessEvent
-
setCounterpartyPositionBusinessEvent
WorkflowStep.WorkflowStepBuilder setCounterpartyPositionBusinessEvent(CounterpartyPositionBusinessEvent counterpartyPositionBusinessEvent) -
setProposedEvent
-
setRejected
-
addApproval
-
addApproval
-
addApproval
-
setApproval
-
setPreviousWorkflowStep
WorkflowStep.WorkflowStepBuilder setPreviousWorkflowStep(ReferenceWithMetaWorkflowStep previousWorkflowStep) -
setPreviousWorkflowStepValue
-
setNextEvent
-
setMessageInformation
-
addTimestamp
-
addTimestamp
-
addTimestamp
-
setTimestamp
-
addEventIdentifier
-
addEventIdentifier
-
addEventIdentifier
-
setEventIdentifier
-
setAction
-
addParty
-
addParty
-
addParty
-
setParty
-
addAccount
-
addAccount
-
addAccount
-
setAccount
-
setLineage
-
setCreditLimitInformation
WorkflowStep.WorkflowStepBuilder setCreditLimitInformation(CreditLimitInformation creditLimitInformation) -
setWorkflowState
-
setMeta
-
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
WorkflowStep.WorkflowStepBuilder prune()- Specified by:
prunein interfacecom.rosetta.model.lib.RosettaModelObjectBuilder
-