OCL constraints automatic generation for UML class diagram

As a standard modeling language of software architecture design, UML lacks formal semantics on account of its informal graphical notation. To further provide refined description of UML, OCL is primarily and widely employed. Generally, OCL constraints are written manually, which may cause incorrectne...

Full description

Saved in:
Bibliographic Details
Published in2010 IEEE International Conference on Software Engineering and Service Sciences pp. 392 - 395
Main Authors Li Tan, Zongyuan Yang, Jinkui Xie
Format Conference Proceeding
LanguageEnglish
Published IEEE 01.07.2010
Subjects
Online AccessGet full text
ISBN1424460549
9781424460540
ISSN2327-0586
DOI10.1109/ICSESS.2010.5552361

Cover

More Information
Summary:As a standard modeling language of software architecture design, UML lacks formal semantics on account of its informal graphical notation. To further provide refined description of UML, OCL is primarily and widely employed. Generally, OCL constraints are written manually, which may cause incorrectness and extra overhead. Therefore, generating OCL constraints template for UML models is a superior solution. The OCL constraints template automatically generated can be used as a reference for software designers. First of all, the significance of automatic generation of OCL constraints was emphasized, and then the application domain of OCL was shown, followed by a lexical analysis of how to extract the target objects in UML models where OCL constraints were needed to build and an algorithm of extraction. Eventually, this extraction algorithm was implemented by Perl. In our way, the overall quality and efficiency of software design is enhanced and thus contributions are made for the automation of Software Engineering.
ISBN:1424460549
9781424460540
ISSN:2327-0586
DOI:10.1109/ICSESS.2010.5552361