计算机与现代化 ›› 2009, Vol. 1 ›› Issue (12): 63-67.doi: 10.3969/j.issn.1006-2475.2009.12.017

• 软件工程 • 上一篇    下一篇

UML/OCL工具的一致性检查研究

游皓聃,朱 鸿
  

  1. 国防科学技术大学计算机学院,湖南 长沙 410073
  • 收稿日期:2009-05-18 修回日期:1900-01-01 出版日期:2009-11-27 发布日期:2009-11-27

Study of Consistency Checking by UML/OCL Tool

YOU Hao-dan, ZHU Hong
  

  1. School of Computer, National University of Defense Technology, Changsha 410073, China
  • Received:2009-05-18 Revised:1900-01-01 Online:2009-11-27 Published:2009-11-27

摘要: UML作为一种通用的可视化建模语言已被广泛应用,但UML模型的一致性问题一直限制着在软件开发中更有效地应用UML。本文阐述了UML模型一致性的相关概念,介绍了一种以OCL表示模型的一致性规则、并基于这些对模型进行一致性检查的方法。将此方法实现为一致性检查工具,提供了模型分析、语法检查和模型一致性检查等功能。

关键词: UML, OCL, 模型一致性, 约束, 一致性检测, 工具

Abstract: UML is extensively applied as a common visual modeling language. But the consistency problems of UML models limit the availability of using UML in the software development. This article introduces some notions about UML model consistency, and proposes an approach to checking UML model consistency by using OCL expressions to describe consistency rules. The consistency checking tool can analyze the UML model, check the syntax of OCL expressions, and check the model consistency.

Key words: UML, OCL, model consistency, constraint, consistency checking, tool

中图分类号: