Class DiagramImpl
- java.lang.Object
-
- org.camunda.bpm.model.xml.impl.instance.ModelElementInstanceImpl
-
- org.camunda.bpm.model.bpmn.impl.instance.BpmnModelElementInstanceImpl
-
- org.camunda.bpm.model.bpmn.impl.instance.di.DiagramImpl
-
- All Implemented Interfaces:
BpmnModelElementInstance
,Diagram
,ModelElementInstance
- Direct Known Subclasses:
BpmnDiagramImpl
public abstract class DiagramImpl extends BpmnModelElementInstanceImpl implements Diagram
The DI Diagram element- Author:
- Sebastian Menski
-
-
Field Summary
Fields Modifier and Type Field Description protected static Attribute<java.lang.String>
documentationAttribute
protected static Attribute<java.lang.String>
idAttribute
protected static Attribute<java.lang.String>
nameAttribute
protected static Attribute<java.lang.Double>
resolutionAttribute
-
Fields inherited from class org.camunda.bpm.model.xml.impl.instance.ModelElementInstanceImpl
modelInstance
-
-
Constructor Summary
Constructors Constructor Description DiagramImpl(ModelTypeInstanceContext instanceContext)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getDocumentation()
java.lang.String
getId()
java.lang.String
getName()
double
getResolution()
static void
registerType(ModelBuilder modelBuilder)
void
setDocumentation(java.lang.String documentation)
void
setId(java.lang.String id)
void
setName(java.lang.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 Attribute<java.lang.String> nameAttribute
-
documentationAttribute
protected static Attribute<java.lang.String> documentationAttribute
-
resolutionAttribute
protected static Attribute<java.lang.Double> resolutionAttribute
-
idAttribute
protected static Attribute<java.lang.String> idAttribute
-
-
Constructor Detail
-
DiagramImpl
public DiagramImpl(ModelTypeInstanceContext instanceContext)
-
-
Method Detail
-
registerType
public static void registerType(ModelBuilder modelBuilder)
-
getDocumentation
public java.lang.String getDocumentation()
- Specified by:
getDocumentation
in interfaceDiagram
-
setDocumentation
public void setDocumentation(java.lang.String documentation)
- Specified by:
setDocumentation
in interfaceDiagram
-
getResolution
public double getResolution()
- Specified by:
getResolution
in interfaceDiagram
-
setResolution
public void setResolution(double resolution)
- Specified by:
setResolution
in interfaceDiagram
-
-