org.camunda.bpm.model.bpmn.impl.instance
Class TextAnnotationImpl

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.BaseElementImpl
              extended by org.camunda.bpm.model.bpmn.impl.instance.ArtifactImpl
                  extended by org.camunda.bpm.model.bpmn.impl.instance.TextAnnotationImpl
All Implemented Interfaces:
Artifact, BaseElement, BpmnModelElementInstance, TextAnnotation, org.camunda.bpm.model.xml.instance.ModelElementInstance

public class TextAnnotationImpl
extends ArtifactImpl
implements TextAnnotation

The BPMN 2.0 textAnnotation element

Author:
Filip Hrisafov

Field Summary
protected static org.camunda.bpm.model.xml.type.child.ChildElement<Text> textChild
           
protected static org.camunda.bpm.model.xml.type.attribute.Attribute<String> textFormatAttribute
           
 
Fields inherited from class org.camunda.bpm.model.bpmn.impl.instance.BaseElementImpl
documentationCollection, extensionElementsChild, idAttribute
 
Fields inherited from class org.camunda.bpm.model.xml.impl.instance.ModelElementInstanceImpl
modelInstance
 
Constructor Summary
TextAnnotationImpl(org.camunda.bpm.model.xml.impl.instance.ModelTypeInstanceContext context)
           
 
Method Summary
 Text getText()
           
 String getTextFormat()
           
static void registerType(org.camunda.bpm.model.xml.ModelBuilder modelBuilder)
           
 void setText(Text text)
           
 void setTextFormat(String textFormat)
           
 
Methods inherited from class org.camunda.bpm.model.bpmn.impl.instance.BaseElementImpl
getDiagramElement, getDocumentations, getExtensionElements, getId, getIncomingReferencesByType, setExtensionElements, setId
 
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.BaseElement
getDiagramElement, getDocumentations, getExtensionElements, getId, setExtensionElements, setId
 
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

textFormatAttribute

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

textChild

protected static org.camunda.bpm.model.xml.type.child.ChildElement<Text> textChild
Constructor Detail

TextAnnotationImpl

public TextAnnotationImpl(org.camunda.bpm.model.xml.impl.instance.ModelTypeInstanceContext context)
Method Detail

registerType

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

getTextFormat

public String getTextFormat()
Specified by:
getTextFormat in interface TextAnnotation

setTextFormat

public void setTextFormat(String textFormat)
Specified by:
setTextFormat in interface TextAnnotation

getText

public Text getText()
Specified by:
getText in interface TextAnnotation

setText

public void setText(Text text)
Specified by:
setText in interface TextAnnotation


Copyright © 2017 camunda services GmbH. All rights reserved.