Package cdm.event.workflow
Interface WorkflowStep
- All Superinterfaces:
com.rosetta.model.lib.GlobalKey,com.rosetta.model.lib.RosettaModelObject
- All Known Subinterfaces:
WorkflowStep.WorkflowStepBuilder
- All Known Implementing Classes:
WorkflowStep.WorkflowStepBuilderImpl,WorkflowStep.WorkflowStepImpl
@RosettaDataType(value="WorkflowStep",
builder=WorkflowStepBuilderImpl.class,
version="5.30.0")
@RuneDataType(value="WorkflowStep",
model="cdm",
builder=WorkflowStepBuilderImpl.class,
version="5.30.0")
public interface WorkflowStep
extends com.rosetta.model.lib.RosettaModelObject, com.rosetta.model.lib.GlobalKey
A workflow step represents the state of a business event. The workflow step contains a reference to a previous WorkflowStep in order to preserve lineage. A workflow step is accepted if it contains a business event, proposed if proposedEvent is present and is rejected if the rejected flag is set.
- Version:
- 5.30.0
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceBuilder Interfacestatic classBuilder Implementation of WorkflowStepstatic classImmutable Implementation of WorkflowStepNested classes/interfaces inherited from interface com.rosetta.model.lib.GlobalKey
com.rosetta.model.lib.GlobalKey.GlobalKeyBuilder -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionbuild()Build Methodsbuilder()Optional account information that could be associated to the event.Specifies whether the event is a new, a correction or a cancellation.List<? extends WorkflowStepApproval> 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> 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.MetaFieldsgetMeta()The intended next event can be specified, even if the instructions are not known yet.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.Flags this step as rejected.List<? extends EventTimestamp> The set of timestamp(s) associated with the event as a collection of [dateTime, qualifier].default Class<? extends WorkflowStep> getType()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 com.rosetta.model.lib.meta.RosettaMetaData<? extends WorkflowStep> 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
-
getBusinessEvent
BusinessEvent getBusinessEvent()Life cycle event for the step. The businessEvent is optional when a proposedEvent or rejection are present. -
getCounterpartyPositionBusinessEvent
CounterpartyPositionBusinessEvent getCounterpartyPositionBusinessEvent()Documents the life cycle event for a position. -
getProposedEvent
EventInstruction getProposedEvent()The proposed event for a workflow step. The proposedEvent is optional when the businessEvent or rejection are present -
getRejected
Boolean getRejected()Flags this step as rejected. -
getApproval
List<? extends WorkflowStepApproval> getApproval()Optional 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. -
getPreviousWorkflowStep
ReferenceWithMetaWorkflowStep getPreviousWorkflowStep()Optional previous workflow step that provides lineage to workflow steps that precedes it. -
getNextEvent
EventInstruction getNextEvent()The intended next event can be specified, even if the instructions are not known yet. -
getMessageInformation
MessageInformation getMessageInformation()Contains all information pertaining the FpML messaging header -
getTimestamp
List<? extends EventTimestamp> getTimestamp()The set of timestamp(s) associated with the event as a collection of [dateTime, qualifier]. -
getEventIdentifier
List<? extends Identifier> getEventIdentifier()The 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. -
getAction
ActionEnum getAction()Specifies whether the event is a new, a correction or a cancellation. -
getParty
The specification of the event parties. This attribute is optional, as not applicable to certain events (e.g. most of the observations). -
getAccount
Optional account information that could be associated to the event. -
getLineage
Lineage getLineage()The 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). -
getCreditLimitInformation
CreditLimitInformation getCreditLimitInformation() -
getWorkflowState
WorkflowState getWorkflowState()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. -
getMeta
com.rosetta.model.metafields.MetaFields getMeta()- Specified by:
getMetain interfacecom.rosetta.model.lib.GlobalKey
-
build
WorkflowStep build()Build Methods- Specified by:
buildin interfacecom.rosetta.model.lib.RosettaModelObject
-
toBuilder
WorkflowStep.WorkflowStepBuilder 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
-