This PR replaces the UUID-based correspondences with EObject-based ones. The indirection across UUIDs is unnecessary and introduced unnecessarily complicated logic both within the CorrespondenceModel as well as within the UuidGeneratorAndResovlerImpl. In addition, this simplification should significantly easy debugging, because the correspondences (including their persistence) than reference objects (or their URIs, respectively) instead of cryctic UUIDs.
In detail:
Replaces UUIDs with EObjects in Correspondences, such that the correspondence model becomes completely independent from UUIDs
Removes the cache logic in the UuidGeneratorAndResolverImpl which was only necessary for correspondences created for objects that were not yet added to models.
Simplifies the correspondence model API and the CorrespondenceModelUtils by removing unnecessary methods.
This PR replaces the UUID-based correspondences with
EObject
-based ones. The indirection across UUIDs is unnecessary and introduced unnecessarily complicated logic both within theCorrespondenceModel
as well as within theUuidGeneratorAndResovlerImpl
. In addition, this simplification should significantly easy debugging, because the correspondences (including their persistence) than reference objects (or their URIs, respectively) instead of cryctic UUIDs.In detail:
EObjects
inCorrespondence
s, such that the correspondence model becomes completely independent from UUIDsUuidGeneratorAndResolverImpl
which was only necessary for correspondences created for objects that were not yet added to models.CorrespondenceModelUtils
by removing unnecessary methods.