Some basic styleguide for domain modelling
- Acronym
- modelling-styleguide
- Belongs to
-
SIG DevOps
- Responsible
-
Stefan Bente
- History
- (v1) 2021-01-29 - created initially
Why is there need for such a decision?
Domain models need to be maintained and kept up-to-date by teams, as they are an essential part of the documentation.
Additional sources for better understanding the background
Various - too many to name here.
Viable Options
No-brainer, not really a choice between options.
Alternatives not seriously considered
None.
How is this decision evaluated?
Summing up experience and various sources.
Resolution Details
Some basic rules should be followed:
- Assocications should be unidirectional.
- Variables used for implementing a relationship don’t count as attributes and should not appear in the attribute list.
- The attributes should be business-related (“fachlich”)
- reference attributes are clear from the associations
- It is useful to have multiplicities annotated at the associations.
Reasons for the resolution
Experience and general good practice.