ebook img

Modeling with UML - University of Massachusetts Amherst PDF

58 Pages·2015·0.61 MB·English
Save to my drive
Quick download
Download
Most books are stored in the elastic cloud where traffic is expensive. For this reason, we have a limit on daily download.

Preview Modeling with UML - University of Massachusetts Amherst

Modeling with UML Reda Bendraou reda.bendraou{{@}}Lip6.fr http://pagesperso-systeme.lip6.fr/Reda.Bendraou/ © Reda Bendraou Software Engineering – Course 2: Modeling with UML UML: Static/architecture viewpoint - OO Basics -Class Diagram -Object Diagram - Package Diagram © Reda Bendraou Software Engineering – Course 2: Modeling with UML OO Basics -OO Vision - Main Concepts © Reda Bendraou Software Engineering – Course 2: Modeling with UML OO Vision • To consider a system as a set of objects interacting together to realize the system’s functionalities. Each object encapsulates structured data and behavior • Main Concepts – Object – Class – Messages & Methods – Generalization – Polymorphism © Reda Bendraou Software Engineering – Course 2: Modeling with UML Objects • Objects represent entities from the real world • Can be concrete entities (customer) or abstract (banking account) © Reda Bendraou Software Engineering – Course 2: Modeling with UML Objects Identity – Objects have a unique identifier, used to make reference to them State – Typed variables – The variables values at a given time “t” determine the object’s state Behavior – Object’s operations – Offered through interfaces – Can lead to a change in the object’s state (or not) © Reda Bendraou Software Engineering – Course 2: Modeling with UML Object : Examples IIddeennttiittyy State Behavior © Reda Bendraou Software Engineering – Course 2: Modeling with UML Object: Examples © Reda Bendraou Software Engineering – Course 2: Modeling with UML Messages & Methods • Messages – The way objects interact with each others – Trigger the behavior of an object (Methods) • Methods – Are the responses to the messages received by the object – Have access to the object’s data © Reda Bendraou Software Engineering – Course 2: Modeling with UML Class • An abstraction unit • A grouping, classification mechanism – A collection of similar objects – Each object is a class’s instance – The object is typed by its class • Describes the common structure for all the objects in terms of properties (attributes) and methods © Reda Bendraou Software Engineering – Course 2: Modeling with UML

Description:
Modeling with UML Generalization: Example Person Doctor Nurse Surgeon Family Doctor simple Vehicle Modeling with UML Deployment diagram
See more

The list of books you might like

Most books are stored in the elastic cloud where traffic is expensive. For this reason, we have a limit on daily download.