An Extended Type System for OCL Supporting Templates and Transformations
An Extended Type System for OCL Supporting Templates and Transformations
复制标题
支持模板和转换的 OCL 扩展类型系统
DOI:
10.1007/11494881_6
复制
发表时间:
2005
期刊:
影响因子:
--
通讯作者:
M. Kyas
中科院分区:
文献类型:
--
作者:
M. Kyas
Based on our experience in implementing a type-checker for the Object Constraint Language (OCL), we observed that OCL is not suitable for constraining a system under development, because changes in the underlying class diagram unnecessarily invalidate the type correctness of constraints, while their semantic value does not change. Furthermore, the type system of OCL does not support templates.To alleviate these problems, we extended the type system of OCL with intersection and union types and bounded operator abstraction. The main advantage of our type system is that it allows more changes in the contextual class diagrams without adapting the OCL constraints.