Package cdm.event.workflow
Class WorkflowStep.WorkflowStepImpl
java.lang.Object
cdm.event.workflow.WorkflowStep.WorkflowStepImpl
- All Implemented Interfaces:
WorkflowStep,com.rosetta.model.lib.GlobalKey,com.rosetta.model.lib.RosettaModelObject
- Enclosing interface:
WorkflowStep
Immutable Implementation of WorkflowStep
-
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 -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected -
Method Summary
Modifier and TypeMethodDescriptionbuild()Build MethodsbooleanOptional 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].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.inthashCode()protected voidtoString()Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.rosetta.model.lib.RosettaModelObject
processRosetta, processRosettaMethods inherited from interface cdm.event.workflow.WorkflowStep
getType, metaData, process
-
Constructor Details
-
WorkflowStepImpl
-
-
Method Details
-
getBusinessEvent
@RosettaAttribute("businessEvent") @RuneAttribute("businessEvent") public BusinessEvent 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
-
getCounterpartyPositionBusinessEvent
@RosettaAttribute("counterpartyPositionBusinessEvent") @RuneAttribute("counterpartyPositionBusinessEvent") public CounterpartyPositionBusinessEvent getCounterpartyPositionBusinessEvent()Description copied from interface:WorkflowStepDocuments the life cycle event for a position.- Specified by:
getCounterpartyPositionBusinessEventin interfaceWorkflowStep
-
getProposedEvent
@RosettaAttribute("proposedEvent") @RuneAttribute("proposedEvent") public EventInstruction 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
-
getRejected
Description copied from interface:WorkflowStepFlags this step as rejected.- Specified by:
getRejectedin interfaceWorkflowStep
-
getApproval
@RosettaAttribute("approval") @RuneAttribute("approval") public List<? extends WorkflowStepApproval> 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
-
getPreviousWorkflowStep
@RosettaAttribute("previousWorkflowStep") @RuneAttribute("previousWorkflowStep") public ReferenceWithMetaWorkflowStep getPreviousWorkflowStep()Description copied from interface:WorkflowStepOptional previous workflow step that provides lineage to workflow steps that precedes it.- Specified by:
getPreviousWorkflowStepin interfaceWorkflowStep
-
getNextEvent
Description copied from interface:WorkflowStepThe intended next event can be specified, even if the instructions are not known yet.- Specified by:
getNextEventin interfaceWorkflowStep
-
getMessageInformation
@RosettaAttribute("messageInformation") @RuneAttribute("messageInformation") public MessageInformation getMessageInformation()Description copied from interface:WorkflowStepContains all information pertaining the FpML messaging header- Specified by:
getMessageInformationin interfaceWorkflowStep
-
getTimestamp
@RosettaAttribute(value="timestamp", isRequired=true) @RuneAttribute(value="timestamp", isRequired=true) public List<? extends EventTimestamp> getTimestamp()Description copied from interface:WorkflowStepThe set of timestamp(s) associated with the event as a collection of [dateTime, qualifier].- Specified by:
getTimestampin interfaceWorkflowStep
-
getEventIdentifier
@RosettaAttribute(value="eventIdentifier", isRequired=true) @RuneAttribute(value="eventIdentifier", isRequired=true) public List<? extends Identifier> 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
-
getAction
Description copied from interface:WorkflowStepSpecifies whether the event is a new, a correction or a cancellation.- Specified by:
getActionin interfaceWorkflowStep
-
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
-
getAccount
Description copied from interface:WorkflowStepOptional account information that could be associated to the event.- Specified by:
getAccountin interfaceWorkflowStep
-
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
-
getCreditLimitInformation
@RosettaAttribute("creditLimitInformation") @RuneAttribute("creditLimitInformation") public CreditLimitInformation getCreditLimitInformation()- Specified by:
getCreditLimitInformationin interfaceWorkflowStep
-
getWorkflowState
@RosettaAttribute("workflowState") @RuneAttribute("workflowState") public WorkflowState 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
-
getMeta
@RosettaAttribute("meta") @RuneAttribute("meta") @RuneMetaType public com.rosetta.model.metafields.MetaFields getMeta()- Specified by:
getMetain interfacecom.rosetta.model.lib.GlobalKey- Specified by:
getMetain interfaceWorkflowStep
-
build
Description copied from interface:WorkflowStepBuild Methods- Specified by:
buildin interfacecom.rosetta.model.lib.RosettaModelObject- Specified by:
buildin interfaceWorkflowStep
-
toBuilder
- Specified by:
toBuilderin interfacecom.rosetta.model.lib.RosettaModelObject- Specified by:
toBuilderin interfaceWorkflowStep
-
setBuilderFields
-
equals
-
hashCode
public int hashCode() -
toString
-