Documentation Language: Swift

Initializer

init(object:)

Initialise an EAttribute from a DynamicEObject.

init?(object: any EObject)

Parameters

object

The DynamicEObject representing an EAttribute.

Return Value

A new EAttribute instance, or nil if the object is invalid or missing required attributes.

Discussion

Extracts attribute metadata including type, multiplicity, and flags from a dynamic object. Uses a fallback EDataType when type information cannot be resolved.