Domain Model
This is the domain model. It represents all concepts and attributes that are present within Regterschot Racing's desire for our application. This model shows all concepts as yellow squares, with the attributes underneath the concepts they belong to. Between the squares are lines that represent the interaction between the different concepts. The arrow on the lines indicate in which way the concepts interact with eachother. Next to the line, near the concepts are numbers and asterisks that represent how many interactions on concept has with another concept. The line between Tab and Graph for example shows us that every 1 tab consists of 0 or more graphs.
An explanation of all terms found in the domain model can be found below.
As visible in the diagram above, a user is a generalisation of both crewmembers and viewers. A crewmember is able to perform certain actions within the domain than a viewer, therefore the user concept has been split. The crewmember and viewer do however have the same attributes as a player, so they will inherit those attributes from the user.
Glossary
Concept | Description | |
---|---|---|
RegterschotRacing | The company that wants us to build an application to view data from a racecar's sensors in real-time. RegterschotRacing manages who gets to use the application and which races the application will be used at. | |
User | The person that uses the Regterschot Racing application. A user can either be a Crewmember or a Viewer | |
Username | The name the user will use. | |
Password | The hashed key of the account that the user utilises. | |
Token | The code used to authenticate a user into one of the two user roles. | |
Crewmember | A person who is part of the Regterschot Racing racing team that reads and analyses the real-time data from the racecar. | |
Viewer | A person who wants to view the race, but has no access to the real-time data dashboards. | |
Race | The race where the racecar will be used. | |
Lap | The laps that make up the race. | |
Dashboard | A dashboard shows all relevant statistics and data received from the racecar. This dashboard is updated in real-time or shows data of one or more specific rounds. | |
Racecar | The racecar that the dashboard is showing the data for. | |
Tab | A part of the dashboard where graphs can be loaded into. | |
Name | Name of the tab. | |
Sensor | A device that measures or detects data the way its used for. | |
Data | Values of the sensor. | |
Timestamp | Timestamp that the data uses. | |
Graph | Shows the data produced by the sensors. | |
Color | Color used for the data in the graph. | |
TimeScope | Start time and end time of the graph. | |
Raceteam | The team that participates in a race that consists of crewmembers and racers. | |
Name | the name for the raceteam. | |
Racecar | The car participating in the race. | |
Brand | The brand of the car. | |
Type | The type of racecar. For example '320 4fl E46'. |