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<java.lang.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()
java.lang.String
getTextFormat()
static void
registerType(ModelBuilder modelBuilder)
void
setText(Text text)
void
setTextFormat(java.lang.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 Attribute<java.lang.String> textFormatAttribute
-
textChild
protected static ChildElement<Text> textChild
-
-
Constructor Detail
-
TextAnnotationImpl
public TextAnnotationImpl(ModelTypeInstanceContext context)
-
-
Method Detail
-
registerType
public static void registerType(ModelBuilder modelBuilder)
-
getTextFormat
public java.lang.String getTextFormat()
- Specified by:
getTextFormat
in interfaceTextAnnotation
-
setTextFormat
public void setTextFormat(java.lang.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
-
-