[Paper Review] Multi-view Consistency in UML
This paper proposes a comprehensive, distributed semantics approach to multi-view UML/OCL consistency using the OMG-standardized Distributed Ontology, Model and Specification Language (DOL). It critiques existing methods—mostly syntactic or limited to structural consistency—and advocates for a heterogeneous, multi-ontology approach that preserves the distinct semantics of UML sub-languages while enabling cross-view consistency checks through formal translation and logical integration in DOL.
UML allows the multi-viewpoint modelling of systems. One important question is whether an interaction as specified by a sequence diagram can be actually realised in the system. Here, the latter is specified as a combination of several state machines (one for each lifeline in the interaction) by a composite structure diagram. In order to tackle this question, we formalise the involved UML diagram types as institutions, and their relations as institution (co)morphisms.
Motivation & Objective
- To address the lack of comprehensive, behavior-aware consistency checking across all 14 UML diagram types and OCL.
- To overcome the limitations of existing approaches that focus narrowly on structural or syntactic consistency.
- To provide a formal, extensible framework for integrating heterogeneous UML sub-languages with distinct semantic domains.
- To support both structural and behavioral consistency in a way that respects the inherent heterogeneity of UML/OCL.
- To establish a foundation for scalable, distributed consistency checking using OMG's DOL standard.
Proposed method
- Uses DOL as a formal foundation for modeling multiple UML sub-languages and their semantics in separate, heterogeneous ontologies.
- Applies heterogeneous transformations to relate and align models across different UML diagram types and OCL constraints.
- Employs a distributed semantics model that allows each UML sub-language to be interpreted in its native semantic domain.
- Integrates consistency checks via logical translation and formal reasoning over DOL's multi-ontology framework.
- Extends prior work on heterogeneous semantics by grounding consistency in a standardized, open language (DOL).
- Leverages DOL's support for theory merging, translation, and consistency checking to unify disparate UML views.
Experimental results
Research questions
- RQ1How can consistency be meaningfully defined across all 14 UML diagram types and OCL constraints?
- RQ2What are the limitations of existing consistency techniques in handling behavioral aspects of UML models?
- RQ3Can a heterogeneous, multi-ontology approach preserve the semantic integrity of individual UML sub-languages while enabling cross-view consistency?
- RQ4How can a standardized language like DOL support scalable, distributed consistency checking for complex, multi-view models?
- RQ5What formal mechanisms are required to ensure both structural and behavioral consistency in a heterogeneous modeling environment?
Key findings
- Existing approaches to UML/OCL consistency are overwhelmingly syntactic (88.21% in one survey) and focus on class, sequence, and state machine diagrams.
- Only a minority of approaches address behavioral consistency, and most rely on monolithic semantic encodings that obscure the heterogeneity of UML.
- The use of a single semantic model or logic for all UML sub-languages leads to unnatural mappings and loss of expressiveness.
- DOL provides a viable, standardized foundation for distributed, heterogeneous consistency checking by supporting multiple ontologies and formal translations.
- The proposed DOL-based approach enables a principled, extensible, and scalable solution to multi-view consistency that respects the distinct semantics of each UML sub-language.
- The paper demonstrates that a truly heterogeneous approach—where each sub-language has its own semantic domain and is related via formal translations—is more appropriate than monolithic encodings.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.