Class WorkflowState.WorkflowStateImpl

java.lang.Object
cdm.event.workflow.WorkflowState.WorkflowStateImpl
All Implemented Interfaces:
WorkflowState, com.rosetta.model.lib.RosettaModelObject
Enclosing interface:
WorkflowState

public static class WorkflowState.WorkflowStateImpl extends Object implements WorkflowState
Immutable Implementation of WorkflowState
  • Constructor Details

  • Method Details

    • getWorkflowStatus

      @RosettaAttribute(value="workflowStatus", isRequired=true) @RuneAttribute(value="workflowStatus", isRequired=true) public WorkflowStatusEnum getWorkflowStatus()
      Description copied from interface: WorkflowState
      The workflow status indicator, e.g. Accepted, Rejected, ...
      Specified by:
      getWorkflowStatus in interface WorkflowState
    • getComment

      @RosettaAttribute("comment") @RuneAttribute("comment") public String getComment()
      Description copied from interface: WorkflowState
      A comment field to be associated with the workflow, e.g. to specify why a transaction event was rejected by a party.
      Specified by:
      getComment in interface WorkflowState
    • getPartyCustomisedWorkflow

      @RosettaAttribute("partyCustomisedWorkflow") @RuneAttribute("partyCustomisedWorkflow") public List<? extends PartyCustomisedWorkflow> getPartyCustomisedWorkflow()
      Description copied from interface: WorkflowState
      Workflow data that is specific to certain market participants and is expressed as part of the CDM in a very generic manner, which can be party-specific. The initial use cases have been derived from the CME clearing and the DTCC TIW submissions.
      Specified by:
      getPartyCustomisedWorkflow in interface WorkflowState
    • getWarehouseIdentity

      @RosettaAttribute("warehouseIdentity") @RuneAttribute("warehouseIdentity") public WarehouseIdentityEnum getWarehouseIdentity()
      Description copied from interface: WorkflowState
      The identity of the warehouse, if any, that is executing that workflow step.
      Specified by:
      getWarehouseIdentity in interface WorkflowState
    • build

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

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

      protected void setBuilderFields(WorkflowState.WorkflowStateBuilder 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