UML Class Diagram - Practitioner’s Subset for Data Modeling,
version 0.9 Item Hierarchy according to UML 2.5.1/XMI 2.5.1 (A child element without further childs can also be an attribute in the source XMI) Order of items according to the class hierarchy in the UML Metamodel See also B.5 in "Annex B Canonical XMI" of "XML Metadata Interchange (XMI) Specification Version 2.5.1" https://www.omg.org/spec/XMI/2.5.1/PDF Used namespaces are for UML 2.4.1/XMI 2.4.1 which are the most widely implemented versions. |
Class in
UML metamodel (links to the documentation in the NIST XMI validator) |
Value
of xmi:type in UML namespace (links to the documentation in the NIST XMI validator) |
Value of type as UML Primitive |
Default
value of item (as string) |
Reference as xmi:idref or href or value |
|||||||
xmi:XMI xmlns:xmi | ||||||||||||
uml:Model | - | Model | ||||||||||
ownedComment | Element | Comment | ||||||||||
annotatedElement | Comment | x | ||||||||||
body | Comment | string | ||||||||||
name | NamedElement | string | ||||||||||
packagedElement | Package | Package | ||||||||||
ownedComment | Element | Comment | ||||||||||
annotatedElement | Comment | x | ||||||||||
body | Comment | string | ||||||||||
name | NamedElement | string | ||||||||||
packagedElement | Package | Class | ||||||||||
ownedComment | Element | Comment | ||||||||||
annotatedElement | Comment | x | ||||||||||
body | Comment | string | ||||||||||
name | NamedElement | string | ||||||||||
generalization | Classifier | Generalization | ||||||||||
ownedComment | Element | Comment | ||||||||||
annotatedElement | Comment | x | ||||||||||
body | Comment | string | ||||||||||
general | Generalization | x | ||||||||||
isAbstract | Classifier | boolean | false | |||||||||
ownedAttribute | StructuredClassifier | Property | ||||||||||
ownedComment | Element | Comment | ||||||||||
annotatedElement | Comment | x | ||||||||||
body | Comment | string | ||||||||||
lowerValue | MultiplicityElement | value=0 if lowerValue omitted |
||||||||||
value | - | LiteralInteger | 0 | |||||||||
upperValue | MultiplicityElement | value=0 if upperValue omitted |
||||||||||
value | - | LiteralInteger | ||||||||||
LiteralUnlimitedNatural | ||||||||||||
name | NamedElement | string | ||||||||||
aggregation | Property | (documentation) | none | |||||||||
association | Property | x | ||||||||||
isID | Property | boolean | false | |||||||||
type | TypedElement | x | ||||||||||
packagedElement | Package | Association | ||||||||||
ownedComment | Element | Comment | ||||||||||
annotatedElement | Comment | x | ||||||||||
body | Comment | string | ||||||||||
name | NamedElement | string | ||||||||||
memberEnd | Association | x | ||||||||||
ownedEnd | Association | |||||||||||
ownedComment | Element | Comment | ||||||||||
annotatedElement | Comment | x | ||||||||||
body | Comment | string | ||||||||||
lowerValue | MultiplicityElement | value=0 if lowerValue omitted |
||||||||||
value | - | LiteralInteger | 0 | |||||||||
upperValue | MultiplicityElement | value=0 if upperValue omitted |
||||||||||
value | - | LiteralInteger | ||||||||||
LiteralUnlimitedNatural | ||||||||||||
name | NamedElement | string | ||||||||||
aggregation | Property | (documentation) | none | |||||||||
association | Property | x | ||||||||||
type | TypedElement | x | ||||||||||
packagedElement | Package | DataType | ||||||||||
ownedComment | Element | Comment | ||||||||||
annotatedElement | Comment | x | ||||||||||
body | Comment | string | ||||||||||
name | NamedElement | string | ||||||||||
generalization | Classifier | Generalization | ||||||||||
ownedComment | Element | Comment | ||||||||||
annotatedElement | Comment | x | ||||||||||
body | Comment | string | ||||||||||
general | Generalization | x | ||||||||||
ownedAttribute | StructuredClassifier | Property | ||||||||||
ownedComment | Element | Comment | ||||||||||
annotatedElement | Comment | x | ||||||||||
body | Comment | string | ||||||||||
name | NamedElement | string | ||||||||||
defaultValue | Property | LiteralString | ||||||||||
ownedComment | Element | Comment | ||||||||||
annotatedElement | Comment | x | ||||||||||
body | Comment | string | ||||||||||
name | NamedElement | string | ||||||||||
value | - | string | ||||||||||
isReadOnly | Property | boolean | false | |||||||||
type | TypedElement | x | ||||||||||
packagedElement | Package | Enumeration | ||||||||||
ownedComment | Element | Comment | ||||||||||
annotatedElement | Comment | x | ||||||||||
body | Comment | string | ||||||||||
name | NamedElement | |||||||||||
generalization | Classifier | Generalization | ||||||||||
ownedComment | Element | Comment | ||||||||||
annotatedElement | Comment | x | ||||||||||
body | Comment | string | ||||||||||
general | Generalization | x | ||||||||||
ownedLiteral | Enumeration | EnumerationLiteral | ||||||||||
ownedComment | Element | Comment | ||||||||||
annotatedElement | Comment | x | ||||||||||
body | Comment | string | ||||||||||
name | NamedElement | string | ||||||||||
packagedElement | Package | PrimitiveType | ||||||||||
ownedComment | Element | Comment | ||||||||||
annotatedElement | Comment | x | ||||||||||
body | Comment | string | ||||||||||
name | NamedElement | string | ||||||||||
generalization | Classifier | Generalization | ||||||||||
ownedComment | Element | Comment | ||||||||||
annotatedElement | Comment | x | ||||||||||
body | Comment | string | ||||||||||
general | Generalization | x |