Pre Recorded Lecture Module 3#
Domain Model#
- Illustrates meaningful conc3ets in a problem domain
- It is a representation of real world things, not software components
- It is a set of static structure diagrams; no operation are defined.
- It may show:
- Concepts
- Associations between concepts
- Attribute of concepts
- Every domain concept has a name and a set of attributes
Domain Model in UML#
Reading direction by default is either top -> down or left -> right
Domain Concepts in POS#
Strategy to identify conceptual classes#
- Use noun phrase identification
- In textual descriptions of the problem domain and consider them as concepts or attributes
- Use cases are excellent descriptions for this analysis
Consider the following scenario:
Customer, POS checkout, items, cashier, quantity, system, item price, item info, sale all these are nouns
item info, item price and quantity are all nouns that are attributes for the domain concept.
Adding Associations#
Multiplicity#
Adding Attributes#
Sample Domain Model#
System Sequence Diagram#
- Investigate the behaviour of the ysstem as a blackbox
- System behaviour is a description of what the system does
- Use cases describe how external actors interact with the system. During this interaction an actor generates events
- A request even initiates an operation upon the system
SSD for Process Sale Scenario#
Significance of SSD#
- Shows interaction of the system with the outside world
- It is used to depict how system responds to external events
- It plays key role in GUI design of the system
Operation Contract#
Writing an OC for a sale line item#
Tags: !OOADIndex