BA371 - Unified Modeling Language (UML)
Modeling Objects using Unified Modeling Language (UML) (Chapter 7)
UML (1997): a synthesis of Object Modeling Technique (OMT), Object-Oriented Software Engineering (OOSE) and others.
Method for diagrammatically modeling objects.
UML relates to OOP as ERD relates to RDMS.
Independent of OOP language.
UML CASE tools: from-UML-to-code.
UML models have five components:
Class diagram
: models class hierarchies, class data members and methods (Ch 5 p. 176-183; p. 240):
Example: a simple login dialog:
Use case diagram
: models system activities (p. 241 – 250).
Sequence diagram
: models the exchange of information sequence between objects (p. 250-263).
Example: a simple login dialog:
Collaboration diagram
: shows overview of object collaboration (like sequence diagram but ignores time).
State diagram
: diagrammatic representation of S
t
={S
t-1
, B).
Example: a simple login dialog: