complexType "uml:Comment"
Namespace:
Content:
complex, 9 attributes, 7 elements
Defined:
globally in UML2XMI.xsd; see XML source
Includes:
definitions of 2 attributes, 2 elements
Used:
Content Model Diagram
XML Representation Summary
<...
   
 = 
xsd:ID
 = 
xsd:string
 = 
xsd:string
 = 
xsd:string
 = 
xsd:IDREF
 = 
"2.0"
 = 
xsd:QName
 = 
xsd:string
 = 
xsd:string
    >
   
Content: 
xmi:Extension*, eAnnotations*, ownedComment*, (templateBinding | ownedTemplateSignature)*, (annotatedElement | bodyExpression)*
</...>
All Direct / Indirect Based Elements (2):
ownedComment, uml:Comment
Known Usage Locations
Annotation
A comment gives the ability to attach various remarks to elements. A comment carries no semantic force, but may contain information that is useful to a modeler. A comment can be owned by any element.
Type Definition Detail
Type Derivation Tree
ecore:EObject (extension)
  ecore:EModelElement (extension)
      uml:Element (extension)
          uml:TemplateableElement (extension)
              uml:Comment
XML Source (w/o annotations (4); see within schema source)
<xsd:complexType name="Comment">
<xsd:complexContent>
<xsd:extension base="uml:TemplateableElement">
<xsd:choice maxOccurs="unbounded" minOccurs="0">
<xsd:element name="annotatedElement" type="uml:Element"/>
<xsd:element name="bodyExpression" type="uml:StringExpression"/>
</xsd:choice>
<xsd:attribute name="body" type="xsd:string"/>
<xsd:attribute name="annotatedElement" type="xsd:string"/>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
Attribute Detail (all declarations; defined within this component only; 2/9)
annotatedElement
Type:
xsd:string, predefined
Use:
optional
References the Element(s) being commented.
XML Source (w/o annotations (1); see within schema source)
<xsd:attribute name="annotatedElement" type="xsd:string"/>

body
Type:
xsd:string, predefined
Use:
optional
Specifies a string that is the comment.
XML Source (w/o annotations (1); see within schema source)
<xsd:attribute name="body" type="xsd:string"/>
Content Element Detail (all declarations; defined within this component only; 2/7)
annotatedElement
Type:
uml:Element, complex content
References the Element(s) being commented.
XML Source (w/o annotations (1); see within schema source)
<xsd:element name="annotatedElement" type="uml:Element"/>

bodyExpression
Type:
uml:StringExpression, complex content
XML Source (see within schema source)
<xsd:element name="bodyExpression" type="uml:StringExpression"/>

XML schema documentation generated with DocFlex/XML RE 1.8.5 using DocFlex/XML XSDDoc 2.5.0 template set. All content model diagrams generated by Altova XMLSpy via DocFlex/XML XMLSpy Integration.