Академический Документы
Профессиональный Документы
Культура Документы
Changes between
UML Versions
When this book first appeared on the shelves, the UML was in version
1.0. Much of it appeared to have stabalized and it was in the process of
OMG recognition. Since then there have been a number of revisions. In
this appendix I describe the significant changes that occur, and how
they affect the material in this book. If you have an earlier printing of
the book, this summarizes the changes so you can keep up to date. I
have made changes to the book to keep up with the UML, so if you
have a later printing it describes the situation as it was at that time.
208
APPENDIX B
Septemember 1997, this was called version 1.1. This was adopted by
the OMG towards the end of 1997. In a fit of darkest obfustication the
OMG called this standard version 1.0. So it was both OMG version 1.0
and Rational version 1.1, not to be confused with Rational 1.0. In practice everyone calls that standard version 1.1.
UML 1.1 had a number of minor visible changes from version 1.0.
When the OMG adopted UML 1.1 they set up a Revision Task Force
(RTF) chaired by Cris Kobryn to tidy up various loose ends with the
UML. They interally released version 1.2 in July 1998. This release was
internal in that 1.1 remained the official UML standard. You could
think of version 1.2 as a beta release. In practice this distinction hardly
mattered as the only changes in the standard were editorial: fixing
typos, grammatical errors and the like.
A more significant change occurred with version 1.3, most notably
affecting Use Cases and Activity Diagrams. The amigos user guide
and reference manual were published late in 1998 with the 1.3
changes, before the official 1.3 documents were made public, which
caused some confusion.
In April 1999 the RTF will submit version 1.3 to the OMG as new official standard of the UML. The OMG Analysis and Design Task Force
will then take over the UML again and consider any future moves. Of
course this is what I currently know, check my web site for future
update information.
In the rest of this appendix Ill summarize the two major changes in
the UML, from 1.0 to 1.1 and from 1.2 to 1.3. I wont discuss all the
changes that occur, but rather only those that
209
210
APPENDIX B
Composition
In UML 1.0, using composition implied that the link was immutable
(or frozen; see below), at least for single-valued components. That constraint is no longer part of the definition.
211
212
APPENDIX B
One of the confusions of all this is the relationship between the old
relationships and the new. Most people used uses the way the 1.3
includes is used, so for most people we can say that includes
replaces uses. People used 1.1 extends in both the controlled manner of the 1.3 extends and as a general overriding in the style of the
1.3 generalization. So you can think that 1.1 extends is split into the
1.3 extend and generalization. Now although this explanation covers most usage of the UML that I saw, it isn't the strictly correct way of
using those old relationships. However most people didn't follow the
strict usage and I don't really want to get into all that here.
Activity Diagrams
At 1.2 there were quite a few open questions on the semantics of Activity Diagrams. So the 1.3 effort did quite a lot of tightening up on these
semantics.
For conditional behavior the diamod shaped decision activity can now
be used for a merge of behvior as well as as a branch. Although neither
branches or merges are necessary to describe conditional behavior, it is
increasingly common style to show them so that you can bracket conditional behavior.
213
214
APPENDIX B