200401-Object Oriented Analysis and Design
200401-Object Oriented Analysis and Design
0 Changes
Jill Aden
jill.aden@eds.com
Lead Technologist – Minnesota Solution Centre
651.405.4527
OTUG Meeting: January 20th, 2004
EDS and the EDS logo are registered trademarks of Electronic Data Systems
Corporation. EDS is an equal opportunity employer and values the diversity of its
people. © 2003 Electronic Data Systems Corporation. All rights reserved. EDS Confidential – Do Not Distribute 12/08/21 15:37
Disclaimer:
• The UML 2.0 specification is huge
• This presentation is NOT intended to be a
comprehensive review of UML 2.0 … it’s
only a start
• I am focusing on the “end user”
perspective of the UML 2.0 changes –
NOT the meta-model changes
• I’ve only highlighted the changes and
haven’t been able to dive into each
change.
2
© 2003 Electronic Data Systems Corporation. All rights reserved.
UML 2.0 Changes
3
© 2003 Electronic Data Systems Corporation. All rights reserved.
UML 2.0 Changes
4
© 2003 Electronic Data Systems Corporation. All rights reserved.
UML 2.0 Changes
6
© 2003 Electronic Data Systems Corporation. All rights reserved.
UML 2.0 Changes
• The upgraded UML standard now has the following features:
8
© 2003 Electronic Data Systems Corporation. All rights reserved.
UML Terminology
• UML Description *:
A specification defining a graphical language for
visualizing, specifying, constructing, and documenting
the artifacts of distributed object systems. UML 1.5
incorporates Action Semantics, which adds to UML the
syntax and semantics of executable actions and
procedures, including their run-time semantics.
• UML Keywords *:
abstraction, action sequence, action state, activity graph,
architecture, association, class diagram, collaboration
diagram, component diagram, control flow, data flow,
deployment diagram, execution, implementation, pins,
procedure
9
© 2003 Electronic Data Systems Corporation. All rights reserved.
UML Terminology
12
© 2003 Electronic Data Systems Corporation. All rights reserved.
UML Terminology
13
© 2003 Electronic Data Systems Corporation. All rights reserved.
UML 2.0 Highlight of Changes
list is not comprehensive
14
© 2003 Electronic Data Systems Corporation. All rights reserved.
UML 2.0 Highlight of Changes
list is not comprehensive
15
© 2003 Electronic Data Systems Corporation. All rights reserved.
UML 2.0 New Terms
• Port *
– A port connects a class’s internals to its environment.
– It functions as an intentional opening in the class’s
encapsulation through which messages are sent either
into or out of the class, depending on the port’s provided
or required interfaces.
– A port that has both provided and required interfaces is
bidirectional
* Quoted from Morgan Bjorkander & Chis Kobryn’s article “Architecting Systems with
UML 2.0 in IEEE Software, July/August 2003
http://www.uml-forum.com/out/pubs/IEEE_SW_Jul03_p57.pdf
16
© 2003 Electronic Data Systems Corporation. All rights reserved.
UML 2.0 New Terms
• More about Ports *
– Instantiable connection points.
– May optionally be used in conjunction with structured classes to allow
“part” instances (those inside structured classes) to export out specific
services or operations across the enclosing structured class boundary
– “Paradigm” or “design pattern” rather than technological enhancement
• Previously done with “interface objects”
– Explicit connection allows server to identify the client instance
– Ports support protocol state charts to specify the allowable sets of
interactions across the interface
– Aids in the encapsulation of a component from its environment
– Ports are based in the CORBA port concept
– Use is optional
* Quoted from I-Logix white paper http://www.ilogix.com/whitepaper_PDFs
UML 2.0: Incremental Improvements for Scalability and Architecture 17
© 2003 Electronic Data Systems Corporation. All rights reserved.
UML 2.0 Changes
19
© 2003 Electronic Data Systems Corporation. All rights reserved.
UML 2.0 Changes
• Class diagrams are the most familiar and popular diagrams in the UML.
– Not much has changed in this area for UML 2.0.
• Role Names are now called “Association End Names” *
20
© 2003 Electronic Data Systems Corporation. All rights reserved.
UML 2.0 Changes
• Class diagrams * - there has been a long-standing question about whether to
model attributes as text strings within a compartment of the class or as
association in the class diagram.
– An advantage of using associations was that multiplicities could be explicitly
shown.
– But the visibility of attributes was often reserved for the compartmentalized
attribute strings.
– The new version of the UML creates an equivalence relationship between
attributes as compartmentalized strings and attributes as associations
* What’s New in UML 2.0? December 18, 2003 by Granville Miller
http://community.borland.com/article/images/31881/Together_White_paper__.pdf
21
© 2003 Electronic Data Systems Corporation. All rights reserved.
UML 2.0 Changes
25
© 2003 Electronic Data Systems Corporation. All rights reserved.
UML 2.0 New Terms
* What's New in UML™ 2? Model Exceptions - by Randy Miller June 30, 2003
http://community.borland.com/article/0,1410,30169,00.html 26
© 2003 Electronic Data Systems Corporation. All rights reserved.
UML 2.0 New Terms
• Activity Diagrams *
– The intent of these diagrams has changed fairly
radically.
– Activity diagrams not only describe workflow, they also
now have some of the features necessary to support the
automation of these flows.
* What’s New in UML 2? The Use Case Diagram–by Randy Miller June 30, 2003
http://community.borland.com/article/0,1410,30166,00.html
28
© 2003 Electronic Data Systems Corporation. All rights reserved.
UML 2.0 New Terms
• Statechart Diagrams
– Statechart inheritance – need more details here!
29
© 2003 Electronic Data Systems Corporation. All rights reserved.
UML 2.0 Changes
32
© 2003 Electronic Data Systems Corporation. All rights reserved.
UML 2.0 Books
33
© 2003 Electronic Data Systems Corporation. All rights reserved.
UML 2.0 Articles / Websites
• Artisan Software:
http://www.artisansw.com/pdflibrary/UMl_2.0_info.pdf
• Executable UML: Diagrams for the Future
http://www.devx.com/uml/
• I-Logix Software
http://www.ilogix.com/whitepaper_PDFs/UML2.0IncrmentalImpr
ovementsforScalabilityandArchitecture.pdf
• Scott Ambler – Agile Modeling
“The Diagrams of UML 2.0”
http://www.agilemodeling.com/essays/umlDiagrams.htm
• Borland’s Developer Community
http://community.borland.com
34
© 2003 Electronic Data Systems Corporation. All rights reserved.
UML Advanced Terminology
35
© 2003 Electronic Data Systems Corporation. All rights reserved.
eds.com
EDS and the EDS logo are registered trademarks of Electronic Data Systems
Corporation. EDS is an equal opportunity employer and values the diversity of its
people. © 2003 Electronic Data Systems Corporation. All rights reserved. EDS Confidential – Do Not Distribute 12/08/21 15:37