public class TextAnnotationImpl extends ArtifactImpl implements TextAnnotation
Modifier and Type | Field and Description |
---|---|
protected static ChildElement<Text> |
textChild |
protected static Attribute<String> |
textFormatAttribute |
documentationCollection, extensionElementsChild, idAttribute
modelInstance
Constructor and Description |
---|
TextAnnotationImpl(ModelTypeInstanceContext context) |
Modifier and Type | Method and Description |
---|---|
Text |
getText() |
String |
getTextFormat() |
static void |
registerType(ModelBuilder modelBuilder) |
void |
setText(Text text) |
void |
setTextFormat(String textFormat) |
getDiagramElement, getDocumentations, getExtensionElements, getId, getIncomingReferencesByType, setExtensionElements, setId
builder, getScope, isScope
addChildElement, 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
getDiagramElement, getDocumentations, getExtensionElements, getId, setExtensionElements, setId
builder, getScope, isScope
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 context)
public static void registerType(ModelBuilder modelBuilder)
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
Copyright © 2018. All rights reserved.