0% found this document useful (0 votes)
76 views31 pages

Structural Models in Software Engineering

This document discusses different types of system modeling techniques used in software engineering including structural models like class diagrams, generalization, aggregation, behavioral models, data-driven modeling, event-driven modeling, state machine models, and model-driven engineering. It provides examples of class diagrams, a generalization hierarchy, aggregation, state diagrams for a microwave oven, and the usage of model-driven architecture transformations.

Uploaded by

Muzmil
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
76 views31 pages

Structural Models in Software Engineering

This document discusses different types of system modeling techniques used in software engineering including structural models like class diagrams, generalization, aggregation, behavioral models, data-driven modeling, event-driven modeling, state machine models, and model-driven engineering. It provides examples of class diagrams, a generalization hierarchy, aggregation, state diagrams for a microwave oven, and the usage of model-driven architecture transformations.

Uploaded by

Muzmil
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd

SYSTEM MODELING

SOFTWARE ENGINEERING
BSCS 5TH MB

Submitted by:
• SAWERA AFZAL (2184)
• NOOR FATIMA(2181)
• ZAHRA KHUSHNOOD (21139)
• MALAIKA ALI(2174)
Submitted to:
MISS MAHAM TARIQ
STRUCTURAL MODELS
• Structural models of software display the organization of a system
in terms of the components that make up that system and their
relationships.

• Structural models may be static models, which show the structure


of the system design, or dynamic models, which show the
organization of the system when it is executing.

• You create structural models of a system when you are discussing


and designing the system architecture.
CLASS DIAGRAMS
 Class diagrams are used when developing an object- oriented system
model to show the classes in a system and the associations between
these classes.

 An object class can be thought of as a general definition of one kind


of system object.

 An association is a link between classes that indicates that there is


some relationship between these classes.

When you are developing models during the early stages of the software
engineering process, objects represent something in the real world, such
as a patient, a prescription, doctor, etc.
Uml classes and association
Consaltation class
Consultation between doctor and patient

1. The name of the object class is in the top section.


2. The class attributes are in the middle section. This includes
the attribute namesand, optionally, their types.
3. The operations (called methods in Java and other OO
programming languages) associated with the object class are
in the lower section of the rectangle.
GENERALIZATION
 Generalization is an everyday technique that we use to manage
complexity.

 Rather than learn the detailed characteristics of every entity


that we experience, we place these entities in more general
classes (animals, cars, houses, etc.) and learn the
characteristics of these classes.

 This allows us to infer that different members of these classes


have some common characteristics e.g. squirrels and rats are
rodents.
Generalization hierarchy
Aggregation model
The aggregation association
Behavioral model
Behavioral model
Data-Driven modeling
Activity model of insulin pump’s
operation
Order processing
Event-driven modeling
State machine models
State diagram of microwave oven
Microwave oven operation
State and stimuli for microwave oven (a)
State and stimuli for microwave oven(b)
MODEL-DRIVEN ENGINEERING
Usage of model-driven engineering
Types of model
MDA transformation
Agile methods and MDA
Adoption of MDA

You might also like