An object-oriented operation-based approach to translation between MOF metaschemas

0
112

Authors: Antoni Olivé, Ruth Raventós

Tags: 2008, conceptual modeling

This paper proposes a new approach to the schema translation problem. We deal with schemas whose metaschemas are instances of the OMG’s MOF. Most metaschemas can be defined as an instance of the MOF; therefore, our approach is widely applicable. We leverage the well-known object-oriented concepts embedded in the MOF and its instances (object types, attributes, relationship types, operations, IsA hierarchies, refinements, invariants, pre- and postconditions, etc.) to define metaschemas, schemas and their translations. The main contribution of our approach is the extensive use of object-oriented concepts in the definition of translation mappings, particularly the use of operations (and their refinements) and invariants, both of which are formalized in OCL. Our translation mappings can be used to check that two schemas are translations of each other, and to translate one into the other, in both directions. The translation mappings are declaratively defined by means of pre- and postconditions and invariants, and they can be implemented in any suitable language. From an implementation point of view, by taking a MOF-based approach we have a wide set of tools available, including tools that execute OCL. By way of example, we have defined all schemas and metaschemas in this paper and executed all the OCL expressions in the USE tool.

Read the full paper here: https://pdf.sciencedirectassets.com/271546/1-s2.0-S0169023X08X00114/1-s2.0-S0169023X08001055/main.pdf?X-Amz-Security-Token=IQoJb3JpZ2luX2VjEBcaCXVzLWVhc3QtMSJIMEYCIQCy%2F7Qx1L6n1mUnXvspvVmyib2aivkANMmNYxAjBS4k8gIhAIF5AHSgNkm5Sx6WGUHg4DnCwjOuSoKfjmtasdvrT5CpKrQDCDAQAxoMMDU5MDAzNTQ2ODY1Igw%2Fa4Rq26U0mM3%2BgiUqkQPYgCC3wyxarEwMpp98o60Ivf30B7PZbu%2ByewRbHttMZywwkxJYr9%2BzEMrFxPbgbhMdf7%2Fr97TCTacWmbz9QOVx4AOtVBiFvWOGJxD9FlBt60Q9QIYGTfpqxa7DtKuHziirYXu1Ul1SaryQAotS5MPZCsWZnX4wKGPLVf2DI1cBWwfWtLn975Os0zc0uE24vUY%2FdNY%2B%2FUMPENRzdv6GNtRsB8QmcjrYn%2FPzBJGTl25rk%2FaFTg5xK1N3as%2BaE86PI%2FIZn%2Bw8EoWuWRwBo7g4OlXKJeLTSoCHRtioicwXL4ggmSRzho8weEMEPwoQEEwatSYAa2iBuQ%2F%2FSL1xN1J8D3JvmSO3YAxNfnziSTRFDphlW4zQTYbCFE565nfbeuPLE%2FjvK%2BbC1p3FPDPkRsoUbROlOP31ipcDhuEIQBimzyqPJxr6ydN5eSWBD%2F%2BaO%2BiFGquTn4m0iSHO5mSK6GUaZt5pvuAG0hlk5xk7fa3RRWo67LH7onNFfmHpob7qJklLWfHKJRZsyOzBd7dHSergJRXmAzDljJP7BTrqAeysUGDWNpPu%2BQCQ1cyKcE%2FJtYkxalLkwRojZK175kW4lEIwQHJJANG34hLZQjWm1lhUxYnKA1unVstSCs7ue1oOdfzWtI2VGt9z0tKxGogE0OiPALsvADGS961c%2B7xFqVHx9wDow7h7CI8NqLbfaTqyU31n69j9iahYk2kduNKd%2Bwv%2B3%2FZoj7ip2AoUmMIsUbvDB5FnioOlntJppXPuz34AUVFEOzl4aFTU1nEQTpyPkpsRmX4CbOLkF%2Fu6GosUfIZPaeHdRH8uBuAGtg%2FoL6mf8U%2BqjZUp42Tb9LOLLHSfNjnj9AXjf1ub6g%3D%3D&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Date=20200918T160136Z&X-Amz-SignedHeaders=host&X-Amz-Expires=300&X-Amz-Credential=ASIAQ3PHCVTYZFNP6S6O%2F20200918%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Signature=2e9c30cad0c2f8fc66410a3625fcd4e54ab07707e653f2a06b4964e97a1617e4&hash=e84804ef9d056b9dbbd907ec653cc5565bf12e6ff7858c36b2185e8226678565&host=68042c943591013ac2b2430a89b270f6af2c76d8dfd086a07176afe7c76c2c61&pii=S0169023X08001055&tid=spdf-9bb91d47-b5ac-421a-8e03-1e7e62fbe00a&sid=ce3e6b217906524963386c21db5fa5ebfaccgxrqa&type=client