Package cdm.event.workflow
Class WorkflowState.WorkflowStateBuilderImpl
java.lang.Object
cdm.event.workflow.WorkflowState.WorkflowStateBuilderImpl
- All Implemented Interfaces:
WorkflowState,WorkflowState.WorkflowStateBuilder,com.rosetta.model.lib.RosettaModelObject,com.rosetta.model.lib.RosettaModelObjectBuilder
- Enclosing interface:
WorkflowState
public static class WorkflowState.WorkflowStateBuilderImpl
extends Object
implements WorkflowState.WorkflowStateBuilder
Builder Implementation of WorkflowState
-
Nested Class Summary
Nested classes/interfaces inherited from interface cdm.event.workflow.WorkflowState
WorkflowState.WorkflowStateBuilder, WorkflowState.WorkflowStateBuilderImpl, WorkflowState.WorkflowStateImpl -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Stringprotected WarehouseIdentityEnumprotected WorkflowStatusEnumFields inherited from interface cdm.event.workflow.WorkflowState
metaData -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddPartyCustomisedWorkflow(PartyCustomisedWorkflow _partyCustomisedWorkflow) addPartyCustomisedWorkflow(PartyCustomisedWorkflow _partyCustomisedWorkflow, int idx) addPartyCustomisedWorkflow(List<? extends PartyCustomisedWorkflow> partyCustomisedWorkflows) build()Build MethodsbooleanA comment field to be associated with the workflow, e.g. to specify why a transaction event was rejected by a party.getOrCreatePartyCustomisedWorkflow(int index) 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 identity of the warehouse, if any, that is executing that workflow step.The workflow status indicator, e.g.booleanhasData()inthashCode()merge(com.rosetta.model.lib.RosettaModelObjectBuilder other, com.rosetta.model.lib.process.BuilderMerger merger) prune()setComment(String _comment) setPartyCustomisedWorkflow(List<? extends PartyCustomisedWorkflow> partyCustomisedWorkflows) setWarehouseIdentity(WarehouseIdentityEnum _warehouseIdentity) setWorkflowStatus(WorkflowStatusEnum _workflowStatus) toString()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 com.rosetta.model.lib.RosettaModelObjectBuilder
getIndex, processRosetta, processRosettaMethods inherited from interface cdm.event.workflow.WorkflowState
getType, metaData, processMethods inherited from interface cdm.event.workflow.WorkflowState.WorkflowStateBuilder
process
-
Field Details
-
workflowStatus
-
comment
-
partyCustomisedWorkflow
-
warehouseIdentity
-
-
Constructor Details
-
WorkflowStateBuilderImpl
public WorkflowStateBuilderImpl()
-
-
Method Details
-
getWorkflowStatus
@RosettaAttribute(value="workflowStatus", isRequired=true) @RuneAttribute(value="workflowStatus", isRequired=true) public WorkflowStatusEnum getWorkflowStatus()Description copied from interface:WorkflowStateThe workflow status indicator, e.g. Accepted, Rejected, ...- Specified by:
getWorkflowStatusin interfaceWorkflowState
-
getComment
Description copied from interface:WorkflowStateA comment field to be associated with the workflow, e.g. to specify why a transaction event was rejected by a party.- Specified by:
getCommentin interfaceWorkflowState
-
getPartyCustomisedWorkflow
@RosettaAttribute("partyCustomisedWorkflow") @RuneAttribute("partyCustomisedWorkflow") public List<? extends PartyCustomisedWorkflow.PartyCustomisedWorkflowBuilder> getPartyCustomisedWorkflow()Description copied from interface:WorkflowStateWorkflow 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:
getPartyCustomisedWorkflowin interfaceWorkflowState- Specified by:
getPartyCustomisedWorkflowin interfaceWorkflowState.WorkflowStateBuilder
-
getOrCreatePartyCustomisedWorkflow
public PartyCustomisedWorkflow.PartyCustomisedWorkflowBuilder getOrCreatePartyCustomisedWorkflow(int index) - Specified by:
getOrCreatePartyCustomisedWorkflowin interfaceWorkflowState.WorkflowStateBuilder
-
getWarehouseIdentity
@RosettaAttribute("warehouseIdentity") @RuneAttribute("warehouseIdentity") public WarehouseIdentityEnum getWarehouseIdentity()Description copied from interface:WorkflowStateThe identity of the warehouse, if any, that is executing that workflow step.- Specified by:
getWarehouseIdentityin interfaceWorkflowState
-
setWorkflowStatus
@RosettaAttribute(value="workflowStatus", isRequired=true) @RuneAttribute(value="workflowStatus", isRequired=true) public WorkflowState.WorkflowStateBuilder setWorkflowStatus(WorkflowStatusEnum _workflowStatus) - Specified by:
setWorkflowStatusin interfaceWorkflowState.WorkflowStateBuilder
-
setComment
@RosettaAttribute("comment") @RuneAttribute("comment") public WorkflowState.WorkflowStateBuilder setComment(String _comment) - Specified by:
setCommentin interfaceWorkflowState.WorkflowStateBuilder
-
addPartyCustomisedWorkflow
@RosettaAttribute("partyCustomisedWorkflow") @RuneAttribute("partyCustomisedWorkflow") public WorkflowState.WorkflowStateBuilder addPartyCustomisedWorkflow(PartyCustomisedWorkflow _partyCustomisedWorkflow) - Specified by:
addPartyCustomisedWorkflowin interfaceWorkflowState.WorkflowStateBuilder
-
addPartyCustomisedWorkflow
public WorkflowState.WorkflowStateBuilder addPartyCustomisedWorkflow(PartyCustomisedWorkflow _partyCustomisedWorkflow, int idx) - Specified by:
addPartyCustomisedWorkflowin interfaceWorkflowState.WorkflowStateBuilder
-
addPartyCustomisedWorkflow
public WorkflowState.WorkflowStateBuilder addPartyCustomisedWorkflow(List<? extends PartyCustomisedWorkflow> partyCustomisedWorkflows) - Specified by:
addPartyCustomisedWorkflowin interfaceWorkflowState.WorkflowStateBuilder
-
setPartyCustomisedWorkflow
@RuneAttribute("partyCustomisedWorkflow") public WorkflowState.WorkflowStateBuilder setPartyCustomisedWorkflow(List<? extends PartyCustomisedWorkflow> partyCustomisedWorkflows) - Specified by:
setPartyCustomisedWorkflowin interfaceWorkflowState.WorkflowStateBuilder
-
setWarehouseIdentity
@RosettaAttribute("warehouseIdentity") @RuneAttribute("warehouseIdentity") public WorkflowState.WorkflowStateBuilder setWarehouseIdentity(WarehouseIdentityEnum _warehouseIdentity) - Specified by:
setWarehouseIdentityin interfaceWorkflowState.WorkflowStateBuilder
-
build
Description copied from interface:WorkflowStateBuild Methods- Specified by:
buildin interfacecom.rosetta.model.lib.RosettaModelObject- Specified by:
buildin interfaceWorkflowState
-
toBuilder
- Specified by:
toBuilderin interfacecom.rosetta.model.lib.RosettaModelObject- Specified by:
toBuilderin interfaceWorkflowState
-
prune
- Specified by:
prunein interfacecom.rosetta.model.lib.RosettaModelObjectBuilder- Specified by:
prunein interfaceWorkflowState.WorkflowStateBuilder
-
hasData
public boolean hasData()- Specified by:
hasDatain interfacecom.rosetta.model.lib.RosettaModelObjectBuilder
-
merge
public WorkflowState.WorkflowStateBuilder merge(com.rosetta.model.lib.RosettaModelObjectBuilder other, com.rosetta.model.lib.process.BuilderMerger merger) - Specified by:
mergein interfacecom.rosetta.model.lib.RosettaModelObjectBuilder
-
equals
-
hashCode
public int hashCode() -
toString
-