Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace UUIDs with EObjects in Correspondence Model #462

Merged
merged 7 commits into from
Mar 26, 2021

Conversation

HeikoKlare
Copy link
Contributor

@HeikoKlare HeikoKlare commented Mar 24, 2021

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.

@HeikoKlare HeikoKlare changed the title Replace UUIDs with EObejcts in Correspondence Model Replace UUIDs with EObjects in Correspondence Model Mar 24, 2021
@HeikoKlare HeikoKlare merged commit 7230c94 into master Mar 26, 2021
@HeikoKlare HeikoKlare deleted the correspondence-model-eobjects branch March 26, 2021 09:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant