public class TextAnnotationImpl extends ArtifactImpl implements TextAnnotation
Modifier and Type | Field and Description |
---|---|
protected static ChildElement<Text> |
textChild |
protected static Attribute<String> |
textFormatAttribute |
descriptionAttribute, documentationCollection, extensionElementsChild, idAttribute
modelInstance
Constructor and Description |
---|
TextAnnotationImpl(ModelTypeInstanceContext instanceContext) |
Modifier and Type | Method and Description |
---|---|
Text |
getText() |
String |
getTextFormat() |
static void |
registerType(ModelBuilder modelBuilder) |
void |
setText(Text text) |
void |
setTextFormat(String textFormat) |
getDescription, getDocumentations, getExtensionElements, getId, isCmmn11, setDescription, setExtensionElements, setId
addChildElement, asSet, equals, getAttributeValue, getAttributeValueNs, getChildElementsByType, getChildElementsByType, getDomElement, getElementType, getModelInstance, getParentElement, getRawTextContent, getTextContent, getUniqueChildElementByNameNs, getUniqueChildElementByType, hashCode, insertElementAfter, removeAttribute, removeAttributeNs, removeChildElement, replaceChildElement, replaceWithElement, setAttributeValue, setAttributeValue, setAttributeValueNs, setAttributeValueNs, setTextContent, setUniqueChildElementByNameNs, updateAfterReplacement
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
getDescription, getDocumentations, getExtensionElements, getId, setDescription, setExtensionElements, setId
addChildElement, getAttributeValue, getAttributeValueNs, getChildElementsByType, getChildElementsByType, getDomElement, getElementType, getModelInstance, getParentElement, getRawTextContent, getTextContent, getUniqueChildElementByNameNs, getUniqueChildElementByType, insertElementAfter, removeAttribute, removeAttributeNs, removeChildElement, replaceChildElement, replaceWithElement, setAttributeValue, setAttributeValue, setAttributeValueNs, setAttributeValueNs, setTextContent, setUniqueChildElementByNameNs, updateAfterReplacement
protected static ChildElement<Text> textChild
public TextAnnotationImpl(ModelTypeInstanceContext instanceContext)
public String getTextFormat()
getTextFormat
in interface TextAnnotation
public void setTextFormat(String textFormat)
setTextFormat
in interface TextAnnotation
public Text getText()
getText
in interface TextAnnotation
public void setText(Text text)
setText
in interface TextAnnotation
public static void registerType(ModelBuilder modelBuilder)
Copyright © 2018. All rights reserved.