Class TextAnnotationImpl
- 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.BaseElementImpl
-
- org.camunda.bpm.model.bpmn.impl.instance.ArtifactImpl
-
- org.camunda.bpm.model.bpmn.impl.instance.TextAnnotationImpl
-
- All Implemented Interfaces:
Artifact
,BaseElement
,BpmnModelElementInstance
,TextAnnotation
,ModelElementInstance
public class TextAnnotationImpl extends ArtifactImpl implements TextAnnotation
The BPMN 2.0 textAnnotation element- Author:
- Filip Hrisafov
-
-
Field Summary
Fields Modifier and Type Field Description protected static ChildElement<Text>
textChild
protected static 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
Constructors Constructor Description TextAnnotationImpl(ModelTypeInstanceContext context)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Text
getText()
String
getTextFormat()
static void
registerType(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
-
textChild
protected static ChildElement<Text> textChild
-
-
Constructor Detail
-
TextAnnotationImpl
public TextAnnotationImpl(ModelTypeInstanceContext context)
-
-
Method Detail
-
registerType
public static void registerType(ModelBuilder modelBuilder)
-
getTextFormat
public String getTextFormat()
- Specified by:
getTextFormat
in interfaceTextAnnotation
-
setTextFormat
public void setTextFormat(String textFormat)
- Specified by:
setTextFormat
in interfaceTextAnnotation
-
getText
public Text getText()
- Specified by:
getText
in interfaceTextAnnotation
-
setText
public void setText(Text text)
- Specified by:
setText
in interfaceTextAnnotation
-
-