Domain Modelling Flashcards
Object-Oriented Domain Model
- decomposes domain into concepts or objects that represent the real world
- set of conceputal classes and fundamental actions
- iteratively completed and forms basis of software design
What is a Conceptual classes?
represent ideas, things or objects in the domain
- name
- intention
- extension (contains domain elements)
Criteria for a conceptual class
Must carry information not available/computable from other sources
- Avoid redundant and derived information
Specific semantics in relation to the business
Description Classes
contains information that describes an entity
When should a description class be added to the domain model
if
- information about an item or service is required
- deleting will result in loss of information
- redundant or duplicated information is reduced
Conceptual Class or Attribute?
When we cannot save it in a primitiv data Type
When to include associations in the domain model?
when the knowledge about the relation needs to be preserved for some time
Attribute or Association (DM)
- attributes for primitive datatypes
- associations to model relations between conceptual classes