UML Notation Guide
Total Page:16
File Type:pdf, Size:1020Kb
UML Notation Guide version 1.1 1 September 1997 Rational Software ■ Microsoft ■ Hewlett-Packard ■ Oracle Sterling Software ■ MCI Systemhouse ■ Unisys ■ ICON Computing IntelliCorp ■ i-Logix ■ IBM ■ ObjecTime ■ Platinum Technology ■ Ptech Taskon ■ Reich Technologies ■ Softeam ad/97-08-05 Copyright © 1997 Rational Software Corporation Copyright © 1997 Microsoft Corporation Copyright © 1997 Hewlett-Packard Company. Copyright © 1997 Oracle Corporation. Copyright © 1997 Sterling Software. Copyright © 1997 MCI Systemhouse Corporation. Copyright © 1997 Unisys Corporation. Copyright © 1997 ICON Computing. Copyright © 1997 IntelliCorp. Copyright © 1997 i-Logix. Copyright © 1997 IBM Corporation. Copyright © 1997 ObjecTime Limited. Copyright © 1997 Platinum Technology Inc. Copyright © 1997 Ptech Inc. Copyright © 1997 Taskon A/S. Copyright © 1997 Reich Technologies Copyright © 1997 Softeam Photocopying, electronic distribution, or foreign-language translation of this document is permitted, provided this document is reproduced in its entirety and accompanied with this entire notice, including the following statement: The most recent updates on the Unified Modeling Language are available via the worldwide web: http://www.rational.com/uml The UML logo is a trademark of Rational Software Corporation. Contents 1. DOCUMENT OVERVIEW 1 2. DIAGRAM ELEMENTS 3 2.1 Graphs and their Contents . 3 2.2 Drawing paths . 4 2.3 Invisible Hyperlinks And The Role Of Tools . 4 2.4 Background information . 4 2.5 String . 5 2.6 Name . 6 2.7 Label . 7 2.8 Keywords. 8 2.9 Expression . 8 2.10 Note . 10 2.11 Type-Instance Correspondence . 11 3. MODEL MANAGEMENT 13 3.1 Packages and Model Organization . 13 4. GENERAL EXTENSION MECHANISMS 16 4.1 Constraint and Comment . 16 4.2 Element Properties. 18 4.3 Stereotypes. 20 5. STATIC STRUCTURE DIAGRAMS 22 5.1 Class diagram. 22 5.2 Object diagram. 23 5.3 Classifer . 23 5.4 Class. 23 5.5 Name Compartment. 25 5.6 List Compartment . 26 5.7 Attribute. 29 5.8 Operation . 32 5.9 Type vs. Implementation Class . 35 5.10 Interfaces . 36 5.11 Parameterized Class (Template) . 38 5.12 Bound Element . 40 5.13 Utility. 42 5.14 Metaclass . 43 5.15 Class Pathnames . 43 5.16 Importing a package . 44 5.17 Object. 46 5.18 Composite object . 48 5.19 Association . 50 5.20 Binary Association. 50 UML v 1.1, Notation Guide iii Contents 5.21 Association End. 52 5.22 Multiplicity . 56 5.23 Qualifier. 58 5.24 Association Class. 59 5.25 N-ary association . 61 5.26 Composition. 62 5.27 Links . 65 5.28 Generalization . 67 5.29 Dependency . 71 5.30 Derived Element . 73 6. USE CASE DIAGRAMS 75 6.1 Use Case Diagram . 75 6.2 Use Case . 77 6.3 Actor . 77 6.4 Use case relationships . 78 7. SEQUENCE DIAGRAMS 80 7.1 Kinds of Interaction Diagrams. 80 7.2 Sequence diagram . 80 7.3 Object lifeline . 83 7.4 Activation . 84 7.5 Message . 85 7.6 Transition Times . ..