org.camunda.bpm.model.bpmn.impl.instance.di
Class DiagramImpl

java.lang.Object
  extended by org.camunda.bpm.model.xml.impl.instance.ModelElementInstanceImpl
      extended by org.camunda.bpm.model.bpmn.impl.instance.BpmnModelElementInstanceImpl
          extended by org.camunda.bpm.model.bpmn.impl.instance.di.DiagramImpl
All Implemented Interfaces:
BpmnModelElementInstance, Diagram, org.camunda.bpm.model.xml.instance.ModelElementInstance
Direct Known Subclasses:
BpmnDiagramImpl

public abstract class DiagramImpl
extends BpmnModelElementInstanceImpl
implements Diagram

The DI Diagram element

Author:
Sebastian Menski

Field Summary
protected static org.camunda.bpm.model.xml.type.attribute.Attribute<String> documentationAttribute
           
protected static org.camunda.bpm.model.xml.type.attribute.Attribute<String> idAttribute
           
protected static org.camunda.bpm.model.xml.type.attribute.Attribute<String> nameAttribute
           
protected static org.camunda.bpm.model.xml.type.attribute.Attribute<Double> resolutionAttribute
           
 
Fields inherited from class org.camunda.bpm.model.xml.impl.instance.ModelElementInstanceImpl
modelInstance
 
Constructor Summary
DiagramImpl(org.camunda.bpm.model.xml.impl.instance.ModelTypeInstanceContext instanceContext)
           
 
Method Summary
 String getDocumentation()
           
 String getId()
           
 String getName()
           
 double getResolution()
           
static void registerType(org.camunda.bpm.model.xml.ModelBuilder modelBuilder)
           
 void setDocumentation(String documentation)
           
 void setId(String id)
           
 void setName(String name)
           
 void setResolution(double resolution)
           
 
Methods inherited from class org.camunda.bpm.model.bpmn.impl.instance.BpmnModelElementInstanceImpl
builder, getScope, isScope
 
Methods inherited from class org.camunda.bpm.model.xml.impl.instance.ModelElementInstanceImpl
addChildElement, asSet, equals, getAttributeValue, getAttributeValueNs, getChildElementsByType, getChildElementsByType, getDomElement, getElementType, getModelInstance, getParentElement, getRawTextContent, getTextContent, getUniqueChildElementByNameNs, getUniqueChildElementByType, hashCode, insertElementAfter, removeAttribute, removeAttributeNs, removeChildElement, replaceChildElement, replaceWithElement, setAttributeValue, setAttributeValue, setAttributeValue, setAttributeValueNs, setAttributeValueNs, setAttributeValueNs, setTextContent, setUniqueChildElementByNameNs, updateAfterReplacement
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.camunda.bpm.model.bpmn.instance.BpmnModelElementInstance
builder, getScope, isScope
 
Methods inherited from interface org.camunda.bpm.model.xml.instance.ModelElementInstance
addChildElement, getAttributeValue, getAttributeValueNs, getChildElementsByType, getChildElementsByType, getDomElement, getElementType, getModelInstance, getParentElement, getRawTextContent, getTextContent, getUniqueChildElementByNameNs, getUniqueChildElementByType, insertElementAfter, removeAttribute, removeAttributeNs, removeChildElement, replaceChildElement, replaceWithElement, setAttributeValue, setAttributeValue, setAttributeValue, setAttributeValueNs, setAttributeValueNs, setAttributeValueNs, setTextContent, setUniqueChildElementByNameNs, updateAfterReplacement
 

Field Detail

nameAttribute

protected static org.camunda.bpm.model.xml.type.attribute.Attribute<String> nameAttribute

documentationAttribute

protected static org.camunda.bpm.model.xml.type.attribute.Attribute<String> documentationAttribute

resolutionAttribute

protected static org.camunda.bpm.model.xml.type.attribute.Attribute<Double> resolutionAttribute

idAttribute

protected static org.camunda.bpm.model.xml.type.attribute.Attribute<String> idAttribute
Constructor Detail

DiagramImpl

public DiagramImpl(org.camunda.bpm.model.xml.impl.instance.ModelTypeInstanceContext instanceContext)
Method Detail

registerType

public static void registerType(org.camunda.bpm.model.xml.ModelBuilder modelBuilder)

getName

public String getName()
Specified by:
getName in interface Diagram

setName

public void setName(String name)
Specified by:
setName in interface Diagram

getDocumentation

public String getDocumentation()
Specified by:
getDocumentation in interface Diagram

setDocumentation

public void setDocumentation(String documentation)
Specified by:
setDocumentation in interface Diagram

getResolution

public double getResolution()
Specified by:
getResolution in interface Diagram

setResolution

public void setResolution(double resolution)
Specified by:
setResolution in interface Diagram

getId

public String getId()
Specified by:
getId in interface Diagram

setId

public void setId(String id)
Specified by:
setId in interface Diagram


Copyright © 2017 camunda services GmbH. All rights reserved.