Domain Modelling Flashcards
What is the goal of domain modelling?
Provides a common vocabulary for clear communication. A live dictionary of terms used in your project.
What is the difference between the domain model and use case?
Domain model is static and the use case is dynamic.
What are the two types of relationships you should use for domain modelling?
Generalization ‘is-a’
Aggregation ‘has-a’
What are the two elements you extract from a client requirement case?
Nouns and noun phrases
Once you collected your nouns/nouns phrases and removed ambiguities with a client case - what is the next step?
Establish relationships
What is domain modelling?
Live dictionary of terms used in your project
What is the purpose of domain modelling?
provide a common vocabulary for clear communication
What’s can a domain model diagram be compared to?
A simplified class diagram
Why shouldn’t you list multiplicity in the domain model?
It’s too early to make these considerations.
What shouldn’t a domain model include?
Multiplicity
Extensive attributes
Implementation (adding functions and abstract)