OCL Evaluation Timing Inconsistency Affects Model Backup Restoration and Data Verification
0 reputation · 11 May 2020, 21:07 UTC
UML 2.5 standardized OCL for expressing constraints on model elements, and tools such as Eclipse Modeling Framework evaluate these constraints either during validation or only after model commit.
When a model is restored from backup, the moment at which OCL constraints are checked can differ between the original environment and the restored one, leading to validation failures that were not present before restoration.
Which evaluation timing should be mandated for OCL processing to ensure that restored models behave identically to the original, and how can tool vendors guarantee consistent data verification across different implementations?