Package org.camunda.bpm.model.bpmn
Interface BpmnModelInstance
- 
- All Superinterfaces:
- ModelInstance
 - All Known Implementing Classes:
- BpmnModelInstanceImpl
 
 public interface BpmnModelInstance extends ModelInstance A BPMN 2.0 Model - Author:
- Daniel Meyer
 
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description BpmnModelInstanceclone()Copies the BPMN model instance but not the model.DefinitionsgetDefinitions()voidsetDefinitions(Definitions definitions)Set the Bpmn Definitions Root element- 
Methods inherited from interface org.camunda.bpm.model.xml.ModelInstancegetDocument, getDocumentElement, getModel, getModelElementById, getModelElementsByType, getModelElementsByType, newInstance, newInstance, newInstance, newInstance, setDocumentElement, validate
 
- 
 
- 
- 
- 
Method Detail- 
getDefinitionsDefinitions getDefinitions() - Returns:
- the Definitions, root element of the Bpmn Model.
 
 - 
setDefinitionsvoid setDefinitions(Definitions definitions) Set the Bpmn Definitions Root element- Parameters:
- definitions- the- Definitionselement to set
 
 - 
cloneBpmnModelInstance 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:
- clonein interface- ModelInstance
- Returns:
- the new BPMN model instance
 
 
- 
 
-