Skip to Content

Sharing OCL Constraints by Using Web Rules

TitleSharing OCL Constraints by Using Web Rules
Publication TypeJournal Article
Year of Publication2008
AuthorsMilanovic, M., Gasevic D., Giurca A., Wagner G., and Devedzic V.
JournalElectronic Communications of the European Association of Software Science and Technology
Volume9
KeywordsMDE, OCL, UML, MOF, XML, EBNF, RIF, R2ML, Model transformations
AbstractThis paper presents an MDE-based approach to interchanging rules between the Object Constraint Language (OCL) and REWERSE I1 Rule Markup Language (R2ML). The R2ML tends to be a standard rule markup language by following up the W3C initiative for Rule Interchange Format (RIF). The main benefit of this approach is that the transformations between languages are completely based on the languages? abstract syntax (i.e., metamodels) and in this way we keep the focus on the language concepts rather than on technical issues caused by different concrete syntax. In the current implementation, we have supported translation of the OCL invariants into the R2ML integrity rules. While most of the OCL expression could be represented in the R2ML and other rule languages, we have also identified that collection operators could only be partially supported in other rule languages (e.g., SWRL).
URLhttp://eceasst.cs.tu-berlin.de/index.php/eceasst/article/view/99/108