From relational ClassSheets to UML+OCL

Spreadsheets are among the most popular programming languages in the world. Unfortunately, spreadsheet systems were not tailored from scratch with modern programming language features that guarantee, as much as possible, program correctness. As a consequence, spreadsheets are populated with unaccept...

ver descrição completa

Detalhes bibliográficos
Autor principal: Cunha, Jácome Miguel Costa (author)
Outros Autores: Fernandes, João Paulo (author), Saraiva, João Alexandre (author)
Formato: conferencePaper
Idioma:eng
Publicado em: 2012
Assuntos:
Texto completo:http://hdl.handle.net/1822/36475
País:Portugal
Oai:oai:repositorium.sdum.uminho.pt:1822/36475
Descrição
Resumo:Spreadsheets are among the most popular programming languages in the world. Unfortunately, spreadsheet systems were not tailored from scratch with modern programming language features that guarantee, as much as possible, program correctness. As a consequence, spreadsheets are populated with unacceptable amounts of errors. In other programming language settings, model-based approaches have been proposed to increase productivity and program efectiveness. Within spreadsheets, this approach has also been followed, namely by ClassSheets. In this paper, we propose an extension to ClassSheets to allow the specification of spreadsheets that can be viewed as relational databases. Moreover, we present a transformation from ClassSheet models to UML class diagrams enriched with OCL constraints. This brings to the spreadsheet realm the entire paraphernalia of model validation techniques that are available for UML.