Validating UML models and OCL constraints

  • Authors:
  • Mark Richters;Martin Gogolla

  • Affiliations:
  • University of Bremen, Computer Science Department, Bremen, Germany;University of Bremen, Computer Science Department, Bremen, Germany

  • Venue:
  • UML'00 Proceedings of the 3rd international conference on The unified modeling language: advancing the standard
  • Year:
  • 2000

Quantified Score

Hi-index 0.00

Visualization

Abstract

The UML has been widely accepted as a standard for modeling software systems and is supported by a great number of CASE tools. However, UML tools often provide only little support for validating models early during the design stage. Also, there is generally no substantial support for constraints written in the Object Constraint Language (OCL). We present an approach for the validation of UML models and OCL constraints that is based on animation. The USE tool (UML-based Specification Environment) supports developers in this process. It has an animator for simulating UML models and an OCL interpreter for constraint checking. Snapshots of a running system can be created, inspected, and checked for conformance with the model. As a special case study, we have applied the tool to parts of the UML 1.3 metamodel and its well-formedness rules. The tool enabled a thorough and systematic check of the OCL well-formedness rules in the UML standard.