3-UML_intro - Object-Oriented Programming and Design...

Info iconThis preview shows pages 1–9. Sign up to view the full content.

View Full Document Right Arrow Icon
Object-Oriented Programming and Design Thienne Johnson The Unified Modeling Language(UML)
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Agenda Purpose of UML Class Diagrams Objects and Classes Fields and Methods Relationships between classes Advanced Notions 2
Background image of page 2
The Unified Modeling Language Unified Modeling Language (UML) comes from Rumbaugh, Booch, and Jacobson (the three amigos) who combined efforts to standardize on one modeling language. This is primarily a graphical communication mechanism for developers and customers. We will learn some, but not all, of the UML. It is very complex; few understand all of it. 3
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Purpose The main purpose of UML is to support communication about the analysis and design of the system being developed, and support the movement from the problem domain in the “real world" to the solution domain in the machine. Multiple views of the same system One view has diagrams. Source code is another view. UML is a modeling language , not a method , as it does not comprise a process . 4
Background image of page 4
UML is a Modeling Language Has a graphical notation to describe software design Has rules on how to draw models of classes associations between classes message sends between objects Has become the de facto industry standard. Not official, but everyone uses it. Like a blueprint to show what is going on during analysis, design and implementation Some projects require UML documentation. 5
Background image of page 5

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
UML Defined by the Authors The Unified Modeling Language User Guide , Booch, Rumbaugh, Jacobson states: “The UML is a language for visualizing specifying constructing documenting the artifacts of a software intensive system.” 6
Background image of page 6
Several Types of UML Diagrams Class Diagram Demonstrates the relationships between classes in object-oriented software. Good for visualizing how classes interact. Package Diagram Demonstrates how the classes group into packages. Good for visualizing how classes are organized. Sequence Diagram Demonstrates the flow of control through the system, usually along the major branch of execution. Good for visualizing when objects interact. State Diagram Displays the sequences of states that an object of an interaction goes though during its life. 7
Background image of page 7

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Other Types of UML Diagrams Use Case Diagrams display the relationship among actors and use cases . Collaboration Diagrams are another form of interaction diagram (as are sequence diagrams); they display interactions between objects , with numbers to show the sequence of messages (method calls). Activity Diagrams are a form of state diagram in which most of the states are action states . Component Diagrams show relationships among
Background image of page 8
Image of page 9
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 45

3-UML_intro - Object-Oriented Programming and Design...

This preview shows document pages 1 - 9. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online