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

public static class WorkflowStep.WorkflowStepImpl extends Object implements WorkflowStep
Immutable Implementation of WorkflowStep
  • Constructor Details

  • Method Details

    • getBusinessEvent

      @RosettaAttribute("businessEvent") @RuneAttribute("businessEvent") public BusinessEvent getBusinessEvent()
      Description copied from interface: WorkflowStep
      Life cycle event for the step. The businessEvent is optional when a proposedEvent or rejection are present.
      Specified by:
      getBusinessEvent in interface WorkflowStep
    • getCounterpartyPositionBusinessEvent

      @RosettaAttribute("counterpartyPositionBusinessEvent") @RuneAttribute("counterpartyPositionBusinessEvent") public CounterpartyPositionBusinessEvent getCounterpartyPositionBusinessEvent()
      Description copied from interface: WorkflowStep
      Documents the life cycle event for a position.
      Specified by:
      getCounterpartyPositionBusinessEvent in interface WorkflowStep
    • getProposedEvent

      @RosettaAttribute("proposedEvent") @RuneAttribute("proposedEvent") public EventInstruction getProposedEvent()
      Description copied from interface: WorkflowStep
      The proposed event for a workflow step. The proposedEvent is optional when the businessEvent or rejection are present
      Specified by:
      getProposedEvent in interface WorkflowStep
    • getRejected

      @RosettaAttribute("rejected") @RuneAttribute("rejected") public Boolean getRejected()
      Description copied from interface: WorkflowStep
      Flags this step as rejected.
      Specified by:
      getRejected in interface WorkflowStep
    • getApproval

      @RosettaAttribute("approval") @RuneAttribute("approval") public List<? extends WorkflowStepApproval> getApproval()
      Description copied from interface: WorkflowStep
      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.
      Specified by:
      getApproval in interface WorkflowStep
    • getPreviousWorkflowStep

      @RosettaAttribute("previousWorkflowStep") @RuneAttribute("previousWorkflowStep") public ReferenceWithMetaWorkflowStep getPreviousWorkflowStep()
      Description copied from interface: WorkflowStep
      Optional previous workflow step that provides lineage to workflow steps that precedes it.
      Specified by:
      getPreviousWorkflowStep in interface WorkflowStep
    • getNextEvent

      @RosettaAttribute("nextEvent") @RuneAttribute("nextEvent") public EventInstruction getNextEvent()
      Description copied from interface: WorkflowStep
      The intended next event can be specified, even if the instructions are not known yet.
      Specified by:
      getNextEvent in interface WorkflowStep
    • getMessageInformation

      @RosettaAttribute("messageInformation") @RuneAttribute("messageInformation") public MessageInformation getMessageInformation()
      Description copied from interface: WorkflowStep
      Contains all information pertaining the FpML messaging header
      Specified by:
      getMessageInformation in interface WorkflowStep
    • getTimestamp

      @RosettaAttribute(value="timestamp", isRequired=true) @RuneAttribute(value="timestamp", isRequired=true) public List<? extends EventTimestamp> getTimestamp()
      Description copied from interface: WorkflowStep
      The set of timestamp(s) associated with the event as a collection of [dateTime, qualifier].
      Specified by:
      getTimestamp in interface WorkflowStep
    • getEventIdentifier

      @RosettaAttribute(value="eventIdentifier", isRequired=true) @RuneAttribute(value="eventIdentifier", isRequired=true) public List<? extends Identifier> getEventIdentifier()
      Description copied from interface: WorkflowStep
      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.
      Specified by:
      getEventIdentifier in interface WorkflowStep
    • getAction

      @RosettaAttribute("action") @RuneAttribute("action") public ActionEnum getAction()
      Description copied from interface: WorkflowStep
      Specifies whether the event is a new, a correction or a cancellation.
      Specified by:
      getAction in interface WorkflowStep
    • getParty

      @RosettaAttribute("party") @RuneAttribute("party") public List<? extends Party> getParty()
      Description copied from interface: WorkflowStep
      The specification of the event parties. This attribute is optional, as not applicable to certain events (e.g. most of the observations).
      Specified by:
      getParty in interface WorkflowStep
    • getAccount

      @RosettaAttribute("account") @RuneAttribute("account") public List<? extends Account> getAccount()
      Description copied from interface: WorkflowStep
      Optional account information that could be associated to the event.
      Specified by:
      getAccount in interface WorkflowStep
    • getLineage

      @RosettaAttribute("lineage") @RuneAttribute("lineage") public Lineage getLineage()
      Description copied from interface: WorkflowStep
      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).
      Specified by:
      getLineage in interface WorkflowStep
    • getCreditLimitInformation

      @RosettaAttribute("creditLimitInformation") @RuneAttribute("creditLimitInformation") public CreditLimitInformation getCreditLimitInformation()
      Specified by:
      getCreditLimitInformation in interface WorkflowStep
    • getWorkflowState

      @RosettaAttribute("workflowState") @RuneAttribute("workflowState") public WorkflowState getWorkflowState()
      Description copied from interface: WorkflowStep
      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.
      Specified by:
      getWorkflowState in interface WorkflowStep
    • getMeta

      @RosettaAttribute("meta") @RuneAttribute("meta") @RuneMetaType public com.rosetta.model.metafields.MetaFields getMeta()
      Specified by:
      getMeta in interface com.rosetta.model.lib.GlobalKey
      Specified by:
      getMeta in interface WorkflowStep
    • build

      public WorkflowStep build()
      Description copied from interface: WorkflowStep
      Build Methods
      Specified by:
      build in interface com.rosetta.model.lib.RosettaModelObject
      Specified by:
      build in interface WorkflowStep
    • toBuilder

      Specified by:
      toBuilder in interface com.rosetta.model.lib.RosettaModelObject
      Specified by:
      toBuilder in interface WorkflowStep
    • setBuilderFields

      protected void setBuilderFields(WorkflowStep.WorkflowStepBuilder builder)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object