This week was quite busy. We had to complete our use case diagrams with 3 use cases we hadn’t implemented so far, but which are required until December.
You can find all of our use cases in our documents git here: https://gitlab.com/sasep-clairvoyance/sasep-documents/tree/master/use-case-diagrams
After that, we designed our first database scheme. We wanted to create basic table schemes for relevant data for our use cases. Our first basic database schemes can be found here: https://gitlab.com/sasep-clairvoyance/sasep-documents/tree/master/ERM
We also created our Software Architecture Document from the .html template, which you can find here: https://gitlab.com/sasep-clairvoyance/sasep-documents/wikis/SAD
But for now it is just the template in Markdown because it is the topic of next weeks lecture.
Last but not least we coded our first data object classes for our backend, based on the database scheme. With Spring JPA it’s really easy to work with POJOs (Plain Old Java Objects) and save and access them in a database. You define them as Entities. With the help of repositories you can access their data from the database. Whit that, you don’t have to write a single line of SQL.
After we created the 5 data object classes, it was easy to generate the class diagram from within IntelliJ. You can find the generated class diagram in our git repo here.