Transformace z OCL do SQL
Transformace z OCL do SQL
diploma thesis (DEFENDED)
View/ Open
Permanent link
http://hdl.handle.net/20.500.11956/41209Identifiers
Study Information System: 114436
Collections
- Kvalifikační práce [11242]
Author
Advisor
Referee
Kopecký, Michal
Faculty / Institute
Faculty of Mathematics and Physics
Discipline
Software Systems
Department
Department of Software Engineering
Date of defense
28. 5. 2012
Publisher
Univerzita Karlova, Matematicko-fyzikální fakultaLanguage
English
Grade
Very good
Keywords (Czech)
UML, OCL, EA, SQLKeywords (English)
UML, OCL, EA, SQLCílem této diplomové práce nazvané Transformace z OCL do SQL je prozkoumat možnosti rozšíření CASE nástroje Enterprise Architect o schopnost generování SQL kódu, který implementuje integritní omezení v OCL z platformově nezávislého modelu, a vytvořit funkční prototyp, který tuto schopnost demonstruje. Práce obsahuje stručný úvod do problému modelem řízeného vývoje, proč by bylo užitečné zavést specifikovaná integritní omezení přímo v databázi, popis interakce s nástrojem Enterprise Architect spolu s analýzou, jak se dostat k potřebným datům, způsob, jakým může být OCL mapováno na SQL, a nakonec popisuje implementaci zásuvného modulu OCLtoSQL od analýzy a zvolené architektury až po jeho dokumentaci.
The aim of this Master Thesis named Transformation from OCL into SQL is to explore possibilities of enhancing Enterprise Architect by the ability of generating SQL code that implements OCL constraints of a Platform Independent Model, and to create a working prototype that demonstrates this capability. The thesis contains a brief introduction to the problem of Model Driven Architecture, why it would be useful to implement the specified constraints directly in the database, a description of the interaction with Enterprise Architect along with analysing how to get the needed data, the way OCL can be mapped onto SQL, and finally it describes the implementation of the OCLtoSQL plugin from its analysis and chosen architecture to its documentation.