Package org.operaton.bpm.model.bpmn
Interface BpmnModelInstance
- All Superinterfaces:
ModelInstance
- All Known Implementing Classes:
BpmnModelInstanceImpl
A BPMN 2.0 Model
- Author:
- Daniel Meyer
-
Method Summary
Modifier and TypeMethodDescriptionclone()Deprecated, for removal: This API element is subject to removal in a future version.copy()Copies the BPMN model instance but not the model.voidsetDefinitions(Definitions definitions) Set the Bpmn Definitions Root elementMethods inherited from interface org.operaton.bpm.model.xml.ModelInstance
getDocument, getDocumentElement, getModel, getModelElementById, getModelElementsByType, getModelElementsByType, newInstance, newInstance, newInstance, newInstance, setDocumentElement, validate
-
Method Details
-
getDefinitions
Definitions getDefinitions()- Returns:
- the
Definitions, root element of the Bpmn Model.
-
setDefinitions
Set the Bpmn Definitions Root element- Parameters:
definitions- theDefinitionselement to set
-
clone
Deprecated, for removal: This API element is subject to removal in a future version.Usecopy()insteadCopies 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:
clonein interfaceModelInstance- Returns:
- the new BPMN model instance
-
copy
BpmnModelInstance copy()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:
copyin interfaceModelInstance- Returns:
- the new BPMN model instance
-
copy()instead