Package io.zeebe.model.bpmn
Interface BpmnModelInstance
-
- All Superinterfaces:
org.camunda.bpm.model.xml.ModelInstance
- All Known Implementing Classes:
BpmnModelInstanceImpl
public interface BpmnModelInstance extends org.camunda.bpm.model.xml.ModelInstance
A BPMN 2.0 Model- Author:
- Daniel Meyer
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description BpmnModelInstance
clone()
Copies the BPMN model instance but not the model.Definitions
getDefinitions()
void
setDefinitions(Definitions definitions)
Set the Bpmn Definitions Root element
-
-
-
Method Detail
-
getDefinitions
Definitions getDefinitions()
- Returns:
- the
Definitions
, root element of the Bpmn Model.
-
setDefinitions
void setDefinitions(Definitions definitions)
Set the Bpmn Definitions Root element- Parameters:
definitions
- theDefinitions
element to set
-
clone
BpmnModelInstance clone()
Copies the BPMN model instance but not the model. So only the wrapped DOM document is cloned. Changes of the model are persistent between multiple model instances.- Specified by:
clone
in interfaceorg.camunda.bpm.model.xml.ModelInstance
- Returns:
- the new BPMN model instance
-
-