Package org.camunda.bpm.model.cmmn
Interface CmmnModelInstance
- All Superinterfaces:
ModelInstance
- All Known Implementing Classes:
CmmnModelInstanceImpl
- Author:
- Roman Smirnov
-
Method Summary
Modifier and TypeMethodDescriptionclone()
Copies the CMMN model instance but not the model.void
setDefinitions
(Definitions definitions) Set the Cmmn Definitions Root elementMethods inherited from interface org.camunda.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 Cmmn Model.
-
setDefinitions
Set the Cmmn Definitions Root element- Parameters:
definitions
- theDefinitions
element to set
-
clone
CmmnModelInstance clone()Copies the CMMN 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 interfaceModelInstance
- Returns:
- the new CMMN model instance
-