Presentation is loading. Please wait.

Presentation is loading. Please wait.

Copyright © Craig Larman. 2000 All Rights Reserved The Domain Model.

Similar presentations


Presentation on theme: "Copyright © Craig Larman. 2000 All Rights Reserved The Domain Model."— Presentation transcript:

1 Copyright © Craig Larman. 2000 All Rights Reserved The Domain Model

2 Copyright © Craig Larman. 2000 All Rights Reserved 2 Introduction n Partitions and illustrates the important domain concepts. n A classic object-oriented analysis activity. n What are the objects of interest in the this domain? – their attributes? – their relationships? n IMPORTANT: Not software objects, but a “visual dictionary” of domain concepts.

3 Copyright © Craig Larman. 2000 All Rights Reserved 3 A Domain Model Does Not Represent Software Objects n A model of domain concepts, not of software objects. – A “visual dictionary” of important words in the domain. n Uses UML static structure diagram notation.

4 Copyright © Craig Larman. 2000 All Rights Reserved 4 Terminology n UP domain model = book conceptual model

5 Copyright © Craig Larman. 2000 All Rights Reserved 5 Partitioning the Domain Model n Although this is conceptually accurate, a person will not actually draw package boxes around groups as in this example. Rather, a CASE tool will allow “drill down”.

6 Copyright © Craig Larman. 2000 All Rights Reserved 6 Finding Domain Concepts n Candidate lists n “Abbott” Analysis n Existing analysis patterns – Analysis Patterns, Fowler – Data Model Patterns, Hay – The Data Model Resource Book, Silverston

7 Copyright © Craig Larman. 2000 All Rights Reserved 7 Associations

8 Copyright © Craig Larman. 2000 All Rights Reserved 8 Multiplicity

9 Copyright © Craig Larman. 2000 All Rights Reserved 9 Focus on Important Associations

10 Copyright © Craig Larman. 2000 All Rights Reserved 10 Attributes n Show only “simple” relatively primitive types as attributes. n Connections to other concepts are to be represented as associations, not attributes.

11 Copyright © Craig Larman. 2000 All Rights Reserved 11 Do Not Use Attributes To Relate Concepts n Why not?

12 Copyright © Craig Larman. 2000 All Rights Reserved 12 An Example


Download ppt "Copyright © Craig Larman. 2000 All Rights Reserved The Domain Model."

Similar presentations


Ads by Google