During design, your goal will be to decide how the expected functionality is to be allocated to each part of the system. You need to make choices about which classes the system operations should be allocated to. These decisions can be explored and documented using further behaviour models. UML uses interaction (sequence and communication) diagrams that show a set of classes and the messages between them.
During design both structural and behaviour models are elaborated. In fact you will see that behaviour models are used for both external and internal behaviour of objects.
Some artefacts involved in design are shown in Figure 11.
Activity 16 Analysis and design
- a.What is the purpose of analysis?
- b.What is the purpose of design?
- c.What is the role of each of the artefacts produced during design?
- a.Analysis starts modelling the structure and behaviour of a software solution from a user’s perspective.
- b.Design is concerned with making decisions concerning how a system will meet its specification.
- c.During design you produce the following artefacts:
- structural model, an updated version of the one produced during analysis but with its operations specified
- behavioural models, showing how objects in the system will interact and behave internally, and also how functionality will be distributed across the system.