Title :
OCL constraints automatic generation for UML class diagram
Author :
Tan, Li ; Yang, Zongyuan ; Xie, Jinkui
Author_Institution :
Dept. of Comput. Sci. & Technol., East China Normal Univ., Shanghai, China
Abstract :
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.
Keywords :
Unified Modeling Language; simulation languages; software architecture; software quality; OCL constraint automatic generation; UML class diagram; extraction algorithm; formal semantics; informal graphical notation; lexical analysis; object constraint language; software architecture design; software engineering automation; software quality design; standard modeling language; Algorithm design and analysis; Context; Semantics; Software; Software architecture; Unified modeling language; XML; OCL; UML class diagram; XMI; automatic generation; lexical analysis;
Conference_Titel :
Software Engineering and Service Sciences (ICSESS), 2010 IEEE International Conference on
Conference_Location :
Beijing
Print_ISBN :
978-1-4244-6054-0
DOI :
10.1109/ICSESS.2010.5552361