Package org.camunda.bpm.model.dmn
Interface DmnModelInstance
- All Superinterfaces:
- ModelInstance
- All Known Implementing Classes:
- DmnModelInstanceImpl
- 
Method SummaryModifier and TypeMethodDescriptionclone()Copies the DMN model instance but not the model.voidsetDefinitions(Definitions definitions) Set the Dmn Definitions Root elementMethods inherited from interface org.camunda.bpm.model.xml.ModelInstancegetDocument, getDocumentElement, getModel, getModelElementById, getModelElementsByType, getModelElementsByType, newInstance, newInstance, newInstance, newInstance, setDocumentElement, validate
- 
Method Details- 
getDefinitionsDefinitions getDefinitions()- Returns:
- the Definitions, root element of the Dmn Model.
 
- 
setDefinitionsSet the Dmn Definitions Root element- Parameters:
- definitions- the- Definitionselement to set
 
- 
cloneDmnModelInstance clone()Copies the DMN 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 DMN model instance
 
 
-