Validation of UML/OCL models require that business stakeholders make sure that the designers “defined the right domain models” (instead, during verification we need to make sure designers “defined the domain models right”).

Since it is unlikely that stakeholders will be able to directly read and understand the UML/OCL models, we need to reexpress those models in a language that they may understand. To this end, we have developed a method that paraphrases UML/OCL class diagrams to generate a description of the model contents and rules in natural language. This description can be used by stakeholders to validate the models before going on with the development process

Instead of directly providing a UML and OCL to natural language transformation we first transform our UML and OCL models to SBVR (Semantics of Business Vocabulary and Business Rules, a standard specification aimed at documenting the semantics of business vocabulary, business facts and business rules of an organization. This intermediate representation facilitates the definition of natural language descriptions (e.g. in Structured English) and can be used as pivot metamodel to go from UML and OCL to other rule languages.

Check the following presentation to get an idea of what we do. You can also read the full description of our method in this paper:  From UML/OCL to SBVR specifications: A challenging transformation  (published here ) or at least read the abstract:

UML is currently the most widely used modeling language for the specification of the conceptual schema (CS) of an information system (IS). However, UML falls short when it comes to allow business people to define in their own language (e.g. using their own terms in natural language) the policies and rules by which they run their business. To this purpose, the Semantics of Business Vocabulary and Business Rules (SBVR) metamodel specification was proposed. SBVR is conceptualized optimally for business people and it is designed to be used for business purposes, independently of information systems designs.  Clearly, SBVR and UML cannot be considered as isolated languages. Many of the business rules specified by business people must be automatically executed by the underlying information system, and thus, they must also appear in its UML CS.

In this sense, the main goal of this paper is to bridge the gap between UML and SBVR by providing an automatic transformation from UML to SBVR specifications. Thanks to our transformation, designers will be able to interact with the business people (in their own language) to refine and validate the information modeled in the CS before the generation of the final IS implementation. Our transformation also takes into account all possible textual OCL (Object Constraint Language) expressions that complement the UML graphical elements.


Want to build better software faster?

Want to build better software faster?

Read about the latest trends on software modeling and low-code development

You have Successfully Subscribed!

Pin It on Pinterest

Share This