Enumeration
XMIAttribute
XMI attribute names used in Ecore metamodel serialisation.
enum XMIAttribute
Overview
Provides type-safe access to XMI attribute names used throughout the Ecore metamodel serialisation and deserialisation process. These correspond to standard Ecore XMI attributes defined by the Eclipse Modeling Framework.
Usage
let name = element[XMIAttribute.name.rawValue]
let isAbstract = element[XMIAttribute.abstract.rawValue]
XML Namespace Handling
Attributes with XML namespace prefixes are included with their full qualified names for proper XMI compliance.
Topics
Enumeration Cases
The abstract flag for EClass elements.
The changeable flag for structural features.
The containment flag for EReference elements.
The default value literal for structural features.
The eOpposite attribute for EReference elements in Ecore metamodels.
The eSuperTypes attribute for EClass elements (inheritance relationships).
The type reference for structural features.
The ID flag for EAttribute elements (note: Ecore uses “iD”, not “isID”).
The instance class name for EDataType elements.
The interface flag for EClass elements.
The literal value for EEnumLiteral elements.
The lower bound for structural features.
The name attribute for all named elements.
The opposite reference for EReference elements.
The resolve proxies flag for EReference elements.
The serialisable flag for EDataType elements.
The transient flag for structural features.
The upper bound for structural features.
The enumeration value for EEnumLiteral elements.
The volatile flag for structural features.
The XMI identifier attribute.
The XMI type attribute.
The XMI UUID attribute.
The XMI version attribute.
The XSI type attribute.
Initializers
Instance Properties
Brief description of the attribute’s purpose.