Documentation Language: Swift

Method

getAllObjects()

Gets all objects contained in this resource. Gets all objects in this resource in insertion order.

func getAllObjects() -> [any EObject]

Return Value

An array of all objects in insertion order.

Discussion

Objects are returned in the order they were added to the resource, preserving EMF semantic ordering instead of arbitrary UUID-based sorting.