Documentation Language: Swift

Method

resolveOpposite(_:)

Resolves the opposite reference for a bidirectional reference.

func resolveOpposite(_ reference: EReference) -> EReference?

Parameters

reference

The reference whose opposite should be resolved.

Return Value

The opposite reference, or nil if not found.

Discussion

In EMF, bidirectional references maintain opposites automatically. This method resolves the opposite reference through ID-based lookup.