Provide support for componentization of consistency - #560
Open
jeanpmathes wants to merge 16 commits into
Open
jeanpmathes wants to merge 16 commits into
jeanpmathes wants to merge 16 commits into
Conversation
…ons to access the state of the model repository before the currently to-propagate changes where applied to the source side of change propagation
…pagation, ensuring a level is settled before propagating on a higher level
…nnecessary copy operations
…l (therefore, overlap) are needed: 1. in the case of changes to multiple models of metamodel A and B, a reaction A needs to run 2. in the case of changes just to metamodel A, a reaction [A, B] needs to run
# Conflicts: # correspondence/src/main/java/tools/vitruv/change/correspondence/model/PersistableCorrespondenceModelImpl.java
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR provides required changes for the "Componentization of Model Consistency" thesis. It aims to allow creating Vitruvius viewtypes using NeoJoin and use this viewtypes in a change propagation specification. This required two major parts:
This two major changes are accompanied by smaller changes, especially to change propagation. This includes a new method to the ChangePropagationSpecification interface which allows to receive all changes at once instead of a method call per individual change. These could lead to changes in behavior for existing code, but generally the additions were written in a way to minimize that.
The changed interfaces require implementers to implement new methods, this specifically impacts the types ResourceAccess, ChangeRecordingModelRepository, PersistableCorrespondenceModel and ChangePropagationSpecificationProvider. For Vitruv, the PR vitruv-tools/Vitruv#893 implements the necessary methods.
This fork of the methodologist template shows how to use new systems for viewtypes, it requires the thesis implementation.