Documentation Language: Swift

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

E
XMIAttribute.abstract

The abstract flag for EClass elements.

E
XMIAttribute.changeable

The changeable flag for structural features.

E
XMIAttribute.containment

The containment flag for EReference elements.

E
XMIAttribute.defaultValueLiteral

The default value literal for structural features.

E
XMIAttribute.eOpposite

The eOpposite attribute for EReference elements in Ecore metamodels.

E
XMIAttribute.eSuperTypes

The eSuperTypes attribute for EClass elements (inheritance relationships).

E
XMIAttribute.eType

The type reference for structural features.

E
XMIAttribute.iD

The ID flag for EAttribute elements (note: Ecore uses “iD”, not “isID”).

E
XMIAttribute.instanceClassName

The instance class name for EDataType elements.

E
XMIAttribute.interface

The interface flag for EClass elements.

E
XMIAttribute.literal

The literal value for EEnumLiteral elements.

E
XMIAttribute.lowerBound

The lower bound for structural features.

E
XMIAttribute.name

The name attribute for all named elements.

E
XMIAttribute.opposite

The opposite reference for EReference elements.

E
XMIAttribute.resolveProxies

The resolve proxies flag for EReference elements.

E
XMIAttribute.serializable

The serialisable flag for EDataType elements.

E
XMIAttribute.transient

The transient flag for structural features.

E
XMIAttribute.upperBound

The upper bound for structural features.

E
XMIAttribute.value

The enumeration value for EEnumLiteral elements.

E
XMIAttribute.volatile

The volatile flag for structural features.

E
XMIAttribute.xmiId

The XMI identifier attribute.

E
XMIAttribute.xmiType

The XMI type attribute.

E
XMIAttribute.xmiUuid

The XMI UUID attribute.

E
XMIAttribute.xmiVersion

The XMI version attribute.

E
XMIAttribute.xsiType

The XSI type attribute.

Initializers

Instance Properties

V
description

Brief description of the attribute’s purpose.

Default Implementations

Relationships

Conforms To