You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#585 delta-based peristence of the models contained in the ResourceRepositoryImpl was introduced. As next step also the PersistableCorrespondenceModel should be persisted delta-based.
Tasks/Hints:
in PersistableCorrespondenceModelImpl use a delta-based correspondenceResource (use a ResourceSet that uses DeltaBasedResources) (see [1])
the current implementation loads the CorrenspondenceModel and resolves its references later with the loaded models (loadSerializedCorrespondences). As the corrensondence-model shall be saved delta-based the implementation attempts to resolve the references during the application of the deltas. This leads to errors, as the references are unknown. Therefore a different mechanism is needed. Possible approaches:
store external references as proxies ("LazyIdResolver") and allow Proxies during application of changes ("LazyResolveAndApply")
use a common ResourceSet for models and correspondence model
#585 delta-based peristence of the models contained in the
ResourceRepositoryImpl
was introduced. As next step also thePersistableCorrespondenceModel
should be persisted delta-based.Tasks/Hints:
PersistableCorrespondenceModelImpl
use a delta-basedcorrespondenceResource
(use a ResourceSet that usesDeltaBasedResource
s) (see [1])loadSerializedCorrespondences
). As the corrensondence-model shall be saved delta-based the implementation attempts to resolve the references during the application of the deltas. This leads to errors, as the references are unknown. Therefore a different mechanism is needed. Possible approaches:[1]
The text was updated successfully, but these errors were encountered: