Detecting Semantic Equivalence in UML Class Diagrams

نویسندگان

  • Valéria Oliveira Costa
  • Rodrigo Monteiro
  • Leonardo Gresta Paulino Murta
چکیده

When developing a system in Model-driven Engineering (MDE), developers change the same diagram in parallel. These changes generate different versions that may conflict. Conflicts can be syntactic, related to the structure of the diagram, or semantic, related to the meaning of the diagram. The detection of semantic conflicts in diagrams should take into consideration both the syntax and semantics. This is necessary because languages like UML provide different representations that produce the same meaning. Therefore, syntactically different diagrams may be semantically equivalent. Thus, conflict detection methods must understand the semantics of diagrams to reduce the occurrence of false positive and false negative conflicts. This paper presents a semantic conflict detection method for UML class diagrams. It verifies if two versions of a class diagram are semantically equivalent, if one version semantically contains the other, or if they are semantically conflicting. Keywords-component; model version control; semantic equivalence; semantic conflict detection; UML class diagram.

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Equivalence Rules for UML Class Diagrams

UML is a complex language with many modeling features. Especially the modeling of static structures with class diagrams is supported by a rich set of description primitives. We show how to transfrom UML class diagrams involving cardinality constraints, qualifiers, association classes, aggregations, compositions, and generalizations into equivalent UML class diagrams employing only n-ary associa...

متن کامل

Defining the Semantics of UML Class and Sequence Diagrams for Ensuring the Consistency and Executability of OO Software Specification

In order to ensure the correctness of OO Software Specification when using UML, the semantics of UML diagrams must be rigorously defined. To be rigorous, one typically resorts to formal languages for specifying UML diagrams. However, formal languages are usually heavy to learn/use and formally defined semantics of diagrams usually does not show how it is connected to the semantics of programs. ...

متن کامل

System Model Semantics of Class Diagrams

Defining semantics for UML is a difficult task. Disagreements in the meaning of UML constructs as well as the size of UML are major obstacles. In this report, we describe our approach to define the semantics for UML. Semantics is defined denotationally as a mapping into our semantics domain called the system model [4, 5, 6]. We demonstrate our approach by defining the semantics for a comprehens...

متن کامل

Mapping UML Models to Colored Petri Nets Models based on Edged Graph Grammar

This paper presents an approach for transforming UML class diagrams and extended sequence diagrams into Colored Petri Nets. In the field of software model, UML has become a widely used software modeling language. However, as a semi-formal language, UML lacks a precise formal semantic base for its notation. In this paper, Colored Petri Nets are taken as the formal language for UML models' analys...

متن کامل

Mapping UML Class Diagrams to Object-Oriented Logic Programs for Formal Model-Driven Development

MODELOG aims at automatically mapping UML class, object, statechart, activity and collaboration diagrams adorned with Object-Constraint Language expressions to non-monotonic, dynamic, object-oriented logic programs in Concurrent Transaction Frame Logic (CTFL). Coupled with the Flora2 inference engine for CTFL, MODELOG will fill five gaps in the current UML-based infrastructure for the Common Wa...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2014