org.camunda.bpm.model.cmmn.impl
Class CmmnModelInstanceImpl
java.lang.Object
org.camunda.bpm.model.xml.impl.ModelInstanceImpl
org.camunda.bpm.model.cmmn.impl.CmmnModelInstanceImpl
- All Implemented Interfaces:
- CmmnModelInstance, org.camunda.bpm.model.xml.ModelInstance
public class CmmnModelInstanceImpl
- extends org.camunda.bpm.model.xml.impl.ModelInstanceImpl
- implements CmmnModelInstance
- Author:
- Roman Smirnov
| Fields inherited from class org.camunda.bpm.model.xml.impl.ModelInstanceImpl |
document, model, modelBuilder |
|
Constructor Summary |
CmmnModelInstanceImpl(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 |
CmmnModelInstanceImpl
public CmmnModelInstanceImpl(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 CmmnModelInstance
- Returns:
- the
Definitions, root element of the Cmmn Model.
setDefinitions
public void setDefinitions(Definitions definitions)
- Description copied from interface:
CmmnModelInstance
- Set the Cmmn Definitions Root element
- Specified by:
setDefinitions in interface CmmnModelInstance
- Parameters:
definitions - the Definitions element to set
clone
public CmmnModelInstance clone()
- Description copied from interface:
CmmnModelInstance
- 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 interface CmmnModelInstance- 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 CMMN model instance
Copyright © 2016 camunda services GmbH. All rights reserved.