Académique Documents
Professionnel Documents
Culture Documents
CT015-3-2 Design Methods Object Oriented Analysis and Modelling – Part 1 Slide 2 of 14
UML
CT015-3-2 Design Methods Object Oriented Analysis and Modelling – Part 1 Slide 3 of 14
UML Model
• Use models to:
– Specify structure, behavior, or both
– Visualize an existing system to improve understanding
– Automate system development (Model-Driven Development)
• UML model files (.emx) contain:
– Model elements
– Diagrams
– Profile information
– User preferences
– Workspace information
CT015-3-2 Design Methods Object Oriented Analysis and Modelling – Part 1 Slide 4 of 14
Developing multiple model
CT015-3-2 Design Methods Object Oriented Analysis and Modelling – Part 1 ‹#› Slide 5 of 14
UML Diagrams
• UML diagrams graphically depict a view of a part of your
model or code
• Different diagrams represent different views of the system
you are developing
• A model element appears in zero or more diagrams
CT015-3-2 Design Methods Object Oriented Analysis and Modelling – Part 1 Slide 6 of 14
UML diagram versus UML model
CT015-3-2 Design Methods Object Oriented Analysis and Modelling – Part 1 Slide 7 of 14
UML Diagrams Types
CT015-3-2 Design Methods Object Oriented Analysis and Modelling – Part 1 Slide 8 of 14
How many diagrams do you
need?
• Depends on the artifacts being modeled and the needs of
users
– Use diagrams to visualize the system from different
perspectives
– No complex system can be understood in its entirety from
only one perspective
• Model elements can appear in zero or more diagrams
– A class can:
• Appear in zero or more class diagrams
• Be represented in a state machine diagram
• Have instances that appear on a sequence diagram
– Each diagram provides a different perspective
CT015-3-2 Design Methods Object Oriented Analysis and Modelling – Part 1 Slide 9 of 14
Creating UML diagrams
CT015-3-2 Design Methods Object Oriented Analysis and Modelling – Part 1 ‹#› Slide 10 of 14
Freeform diagrams and geometric
shapes
• Freeform diagrams can include UML and non-UML
elements
– Default diagram included when creating UML packages
– Display geometric shapes and other non-UML notation
– Use for sketches and other informal modeling
CT015-3-2 Design Methods Object Oriented Analysis and Modelling – Part 1 ‹#› Slide 11 of 14
Review : Diagram editor
CT015-3-2 Design Methods Object Oriented Analysis and Modelling – Part 1 Slide 12 of 14
Review
• What is UML?
• List all UML diagram.
• What is free form diagrams?
CT015-3-2 Design Methods Object Oriented Analysis and Modelling – Part 1 Slide 13 of 14
Q&A
CT015-3-2 Design Methods Object Oriented Analysis and Modelling – Part 1 Slide 14 of 14