Initializer
init(object:)
Initialise an EReference from a DynamicEObject.
init?(object: any EObject)
Parameters
object-
The DynamicEObject representing an EReference.
Return Value
A new EReference instance, or nil if the object is invalid or missing required attributes.
Discussion
Extracts reference metadata including type, multiplicity, containment, and flags from a dynamic object. Uses a fallback EClass when type information cannot be resolved.