org.camunda.bpm.model.bpmn.impl
Class BpmnModelInstanceImpl

java.lang.Object
  extended by org.camunda.bpm.model.xml.impl.ModelInstanceImpl
      extended by org.camunda.bpm.model.bpmn.impl.BpmnModelInstanceImpl
All Implemented Interfaces:
BpmnModelInstance, org.camunda.bpm.model.xml.ModelInstance

public class BpmnModelInstanceImpl
extends org.camunda.bpm.model.xml.impl.ModelInstanceImpl
implements BpmnModelInstance

The Bpmn Model

Author:
Daniel Meyer

Constructor Summary
BpmnModelInstanceImpl(org.camunda.bpm.model.xml.impl.ModelImpl model, org.camunda.bpm.model.xml.ModelBuilder modelBuilder, org.camunda.bpm.model.xml.instance.DomDocument document)
           
 
Method Summary
 Definitions getDefinitions()
           
 void setDefinitions(Definitions definitions)
          Set the Bpmn Definitions Root element
 
Methods inherited from class org.camunda.bpm.model.xml.impl.ModelInstanceImpl
clone, getDocument, getDocumentElement, getModel, getModelElementById, getModelElementsByType, getModelElementsByType, newInstance, newInstance, registerGenericType, setDocumentElement
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.camunda.bpm.model.xml.ModelInstance
getDocument, getDocumentElement, getModel, getModelElementById, getModelElementsByType, getModelElementsByType, newInstance, newInstance, setDocumentElement
 

Constructor Detail

BpmnModelInstanceImpl

public BpmnModelInstanceImpl(org.camunda.bpm.model.xml.impl.ModelImpl model,
                             org.camunda.bpm.model.xml.ModelBuilder modelBuilder,
                             org.camunda.bpm.model.xml.instance.DomDocument document)
Method Detail

getDefinitions

public Definitions getDefinitions()
Specified by:
getDefinitions in interface BpmnModelInstance
Returns:
the Definitions, root element of the Bpmn Model.

setDefinitions

public void setDefinitions(Definitions definitions)
Description copied from interface: BpmnModelInstance
Set the Bpmn Definitions Root element

Specified by:
setDefinitions in interface BpmnModelInstance
Parameters:
definitions - the Definitions element to set


Copyright © 2014 camunda services GmbH. All rights reserved.