Presentation is loading. Please wait.

Presentation is loading. Please wait.

1 SWE 205 - Introduction to Software Engineering Lecture 14 – System Modeling.

Similar presentations


Presentation on theme: "1 SWE 205 - Introduction to Software Engineering Lecture 14 – System Modeling."— Presentation transcript:

1 1 SWE 205 - Introduction to Software Engineering Lecture 14 – System Modeling

2 2 Lecture Objectives Object Models Inheritance Model Multiple Inheritance Aggregation CASE workbenches

3 3 Inheritance models Organise the domain object classes into a hierarchy. Classes at the top of the hierarchy reflect the common features of all classes.

4 4 Inheritance models Object classes inherit their attributes and services from one or more super-classes. These may then be specialised as necessary. Class hierarchy design can be a difficult process. For example, Everything in a library must have some kind of identified, it does not mean everything must have a title.

5 5 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. This can lead to semantic conflicts where attributes/services with the same name in different super-classes have different semantics. Multiple inheritance makes class hierarchy reorganisation more complex.

6 6 Multiple inheritance

7 7 Object aggregation An aggregation model shows how classes that are collections are composed of other classes. Aggregation models are similar to the part-of relationship in semantic data models.

8 8 Object aggregation

9 9 Object behaviour modelling A behavioural model shows the interactions between objects to produce some particular system behaviour that is specified as a use-case. Sequence diagrams (or collaboration diagrams) in the UML are used to model interaction between objects.

10 10 Issue of electronic items

11 11 Structured methods Structured methods incorporate system modelling as an inherent part of the method. Methods define a set of models, a process for deriving these models and rules and guidelines that should apply to the models.

12 12 Method weaknesses They do not model non-functional system requirements. They do not usually include information about whether a method is appropriate for a given problem.

13 13 Method weaknesses The may produce too much documentation. The important part of the system requirements may be hidden by the mass of detail that is included. The system models are sometimes too detailed and difficult for users to understand.

14 14 CASE workbenches A coherent set of tools that is designed to support related software process activities such as analysis, design or testing. Analysis and design workbenches support system modelling during both requirements engineering and system design.

15 15 CASE workbenches These workbenches may support a specific design method or may provide support for a creating several different types of system model.

16 16 An analysis and design workbench

17 17 Analysis workbench components Diagram editors Model analysis and checking tools Repository and associated query language Data dictionary

18 18 Analysis workbench components Report definition and generation tools Forms definition tools Import/export translators Code generation tools

19 19 Key points Object models describe logical system entities, their classification and aggregation. Sequence models show the interactions between actors and the system objects that they use. Structured methods provide a framework for developing system models.


Download ppt "1 SWE 205 - Introduction to Software Engineering Lecture 14 – System Modeling."

Similar presentations


Ads by Google