Presentation is loading. Please wait.

Presentation is loading. Please wait.

Www.ddss.arch.tue.nl 7M822 Software Engineering: System Models 14 September 2009.

Similar presentations


Presentation on theme: "Www.ddss.arch.tue.nl 7M822 Software Engineering: System Models 14 September 2009."— Presentation transcript:

1 www.ddss.arch.tue.nl 7M822 Software Engineering: System Models 14 September 2009

2 www.ddss.arch.tue.nl 7M822 System modelling System modelling helps the analyst to understand the functionality of the system and models are used to communicate with customers Different models present the system from different perspectives 2

3 www.ddss.arch.tue.nl 7M822 Model types Data processing model showing how the data is processed at different stages Composition model showing how entities are composed of other entities Architectural model showing principal sub-systems Classification model showing how entities have common characteristics 3

4 www.ddss.arch.tue.nl 7M822 Analyses and design of IS Basic techniques –Process orientation (processes, activities, functions) –Data orientation (data, entities, objects) 4

5 www.ddss.arch.tue.nl 7M822 Semantic data models Used to describe the logical structure of data processed by the system Entity-relation-attribute model sets out the entities in the system, the relationships between these entities and the entity attributes Widely used in database design. Can readily be implemented using relational databases 5

6 www.ddss.arch.tue.nl 7M822 Software design semantic model 6

7 www.ddss.arch.tue.nl 7M822 Data dictionaries Data dictionaries are lists of all of the names used in the system models. Descriptions of the entities, relationships and attributes are also included Advantages –Support name management and avoid duplication –Store of organisational knowledge linking analysis, design and implementation 7

8 www.ddss.arch.tue.nl 7M822 Data dictionary entries 8

9 www.ddss.arch.tue.nl 7M822 Object models 1 of 2 Object models describe the system in terms of object classes An object class is an abstraction over a set of objects with common attributes and the services (operations) provided by each object Various object models may be produced –Inheritance models –Aggregation models –Interaction models 9

10 www.ddss.arch.tue.nl 7M822 Object models 2 of 2 Natural ways of reflecting the real-world entities manipulated by the system More abstract entities are more difficult to model using this approach Object class identification is recognised as a difficult process requiring a deep understanding of the application domain Object classes reflecting domain entities are reusable across systems 10

11 www.ddss.arch.tue.nl 7M822 Library class hierarchy 11

12 www.ddss.arch.tue.nl 7M822 Inheritance models Organise the domain object classes into a hierarchy Classes at the top of the hierarchy reflect the common features of all classes Object classes inherit their attributes and services from one or more super-classes. these may then be specialised as necessary Class hierarchy design is a difficult process if duplication in different branches is to be avoided 12

13 www.ddss.arch.tue.nl 7M822 User class hierarchy 13

14 www.ddss.arch.tue.nl 7M822 User class hierarchy 14

15 www.ddss.arch.tue.nl 7M822 Multiple inheritance Rather than inheriting the attributes and services from a single parent class, a system which supports multiple inheritance allows object classes to inherit from several super-classes Can lead to semantic conflicts where attributes/services with the same name in different super-classes have different semantics Makes class hierarchy reorganisation more complex 15

16 www.ddss.arch.tue.nl 7M822 16

17 www.ddss.arch.tue.nl 7M822 Object aggregation Aggregation model shows how classes which are collections are composed of other classes Similar to the part-of relationship in semantic data models 17

18 www.ddss.arch.tue.nl 7M822 What’s wrong? 18

19 www.ddss.arch.tue.nl 7M822 Summary Semantic data models describe the logical structure of the data; these models show system entities, their attributes and the relationships in which they participate. Object models describe the logical system entities and their classification and aggregation. 19

20 www.ddss.arch.tue.nl 7M822 References Sommerville, Ian (2001) Software Engineering, 6 th edition http://www.software-engin.com 20


Download ppt "Www.ddss.arch.tue.nl 7M822 Software Engineering: System Models 14 September 2009."

Similar presentations


Ads by Google