org.camunda.bpm.model.dmn.impl
Class DmnModelInstanceImpl
java.lang.Object
org.camunda.bpm.model.xml.impl.ModelInstanceImpl
org.camunda.bpm.model.dmn.impl.DmnModelInstanceImpl
- All Implemented Interfaces:
- DmnModelInstance, org.camunda.bpm.model.xml.ModelInstance
public class DmnModelInstanceImpl
- extends org.camunda.bpm.model.xml.impl.ModelInstanceImpl
- implements DmnModelInstance
| Fields inherited from class org.camunda.bpm.model.xml.impl.ModelInstanceImpl |
document, model, modelBuilder |
|
Constructor Summary |
DmnModelInstanceImpl(org.camunda.bpm.model.xml.impl.ModelImpl model,
org.camunda.bpm.model.xml.ModelBuilder modelBuilder,
org.camunda.bpm.model.xml.instance.DomDocument document)
|
| Methods inherited from class org.camunda.bpm.model.xml.impl.ModelInstanceImpl |
getDocument, getDocumentElement, getModel, getModelElementById, getModelElementsByType, getModelElementsByType, newInstance, newInstance, registerGenericType, setDocumentElement |
| Methods inherited from interface org.camunda.bpm.model.xml.ModelInstance |
getDocument, getDocumentElement, getModel, getModelElementById, getModelElementsByType, getModelElementsByType, newInstance, newInstance, setDocumentElement |
DmnModelInstanceImpl
public DmnModelInstanceImpl(org.camunda.bpm.model.xml.impl.ModelImpl model,
org.camunda.bpm.model.xml.ModelBuilder modelBuilder,
org.camunda.bpm.model.xml.instance.DomDocument document)
getDefinitions
public Definitions getDefinitions()
- Specified by:
getDefinitions in interface DmnModelInstance
- Returns:
- the
Definitions, root element of the Dmn Model.
setDefinitions
public void setDefinitions(Definitions definitions)
- Description copied from interface:
DmnModelInstance
- Set the Dmn Definitions Root element
- Specified by:
setDefinitions in interface DmnModelInstance
- Parameters:
definitions - the Definitions element to set
clone
public DmnModelInstance clone()
- Description copied from interface:
DmnModelInstance
- 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:
clone in interface DmnModelInstance- Specified by:
clone in interface org.camunda.bpm.model.xml.ModelInstance- Overrides:
clone in class org.camunda.bpm.model.xml.impl.ModelInstanceImpl
- Returns:
- the new DMN model instance
Copyright © 2016 camunda services GmbH. All rights reserved.