Defining OCL expressions using templates.
暂无分享,去创建一个
OCL expressions are an essential part of UML. The current versions of OCL fail to have a meta-model which means that the integration of OCL with the UML meta-model cannot be formally defined [1]. This can result in
ambiguous descriptions of systems which may compromise designs. The need to redesign the OCL has been addressed by a number of proposals submitted to the OMG. In this paper we demonstrate how a definition for OCL can be stamped out from a small number of templates. Such an approach enables a high level of reuse and an increased confidence that the definition is correct. This work forms part of the 2U consortium’s efforts for the definition of UML 2.0.
[1] Yassine Lakhnech,et al. On formal semantics of statecharts as supported by STATEMATE , 1997, FME 1997.
[2] Ralph Johnson,et al. design patterns elements of reusable object oriented software , 2019 .
[3] Stuart Kent,et al. A programmers guide to MMT. , 2002 .
[4] Martin Gogolla,et al. A Metamodel for OCL , 1999, UML.
[5] Laurence Tratt,et al. A pattern based approach to defining the dynamic infrastructure of UML 2.0. , 2002 .