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...

Full description

Bibliographic Details
Main Author: Cunha, Jácome Miguel Costa (author)
Other Authors: Fernandes, João Paulo (author), Saraiva, João Alexandre (author)
Format: conferencePaper
Language:eng
Published: 2012
Subjects:
Online Access:http://hdl.handle.net/1822/36475
Country:Portugal
Oai:oai:repositorium.sdum.uminho.pt:1822/36475
Description
Summary: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.