Method
eSet(objectId:feature:value:)
Modifies a feature value on an object managed by this resource.
@discardableResult func eSet(objectId: EUUID, feature featureName: String, value: (any EcoreValue)?) async -> Bool
Parameters
objectId-
The ID of the object to modify.
featureName-
The name of the feature to set.
value-
The new value for the feature.
Return Value
true if the modification was successful, false otherwise.
Discussion
This method handles bidirectional reference updates automatically. When setting a reference with an opposite, the opposite side is also updated. Cross-resource opposite references are coordinated through the ResourceSet.