UML Modeling with Enterprise Architect - UML Modeling Tool Enterprise Architect is an intuitive, flexible and powerful UML analysis and design tool for building robust and maintainable software. This booklet explains how to use the modeling facilities of Enterprise Architect. Copyright © 1998-2010 Sparx Systems Pty Ltd UML Modeling with Enterprise Architect - UML Modeling Tool © 1998-2010 Sparx Systems Pty Ltd All rights reserved. No parts of this work may be reproduced in any form or by any means - graphic, electronic, or mechanical, including photocopying, recording, taping, or information storage and retrieval systems - without the written permission of the publisher. Products that are referred to in this document may be either trademarks and/or registered trademarks of the respective owners. The publisher and the author make no claim to these trademarks. While every precaution has been taken in the preparation of this document, the publisher and the author assume no responsibility for errors or omissions, or for damages resulting from the use of information contained in this document or from the use of programs and source code that may accompany it. In no event shall the publisher and the author be liable for any loss of profit or any other commercial damage caused or alleged to have been caused directly or indirectly by this document. Printed: May 2010 Special thanks to: Publisher All the people who have contributed suggestions, examples, bug Sparx Systems reports and assistance in the development of Enterprise Architect. The task of developing and maintaining this tool has been greatly Managing Editor enhanced by their contribution. Geoffrey Sparks Technical Editors Brad Maxwell Simon McNeilly Neil Capey Contents I Table of Contents Foreword 1 Modeling 2 Work With. .P...a..c..k..a..g..e..s.. ................................................................................................................ 3 Open Pack..a..g..e.. .i.n.. .t.h...e.. .P..r.o...j.e..c..t. .B..r..o..w...s..e..r. ........................................................................................................... 3 Add a Pack..a..g...e.. ................................................................................................................................................. 3 Rename a .P...a..c..k..a..g..e.. .......................................................................................................................................... 4 Copy a Pac..k..a..g...e.. ............................................................................................................................................... 4 Drag a Pac..k..a..g..e.. .O...n..t.o.. .a.. .D...i.a..g..r..a..m... .................................................................................................................... 5 Show or H.i.d..e.. .P...a..c..k..a..g..e.. .C..o...n..t.e..n..t.s.. .................................................................................................................... 6 Delete a Pa..c..k..a..g...e.. ............................................................................................................................................. 6 Work With. .D...i.a..g..r.a..m....s.. ................................................................................................................ 7 Diagram .C..o..n...t.e..x..t. .M...e..n..u.. .................................................................................................................................. 10 Diagram T...a..s..k..s.. ............................................................................................................................................... 12 Add N..e..w... .D..i.a..g..r.a..m...s.................................................................................................................................... 13 Layou..t. .D...ia..g..r..a..m...s....................................................................................................................................... 14 Circular/Ellip..t.i.c..a..l. .L..a..y.o..u..t...................................................................................................................... 15 Box Layout......................................................................................................................................... 18 Per Page La..y..o..u..t................................................................................................................................. 19 Digraph Lay.o..u..t.................................................................................................................................... 20 Spring Layo.u..t...................................................................................................................................... 21 Neaten Layo..u..t..................................................................................................................................... 21 Converge/D.i.v..e..r.g..e.. .L..a..y..o..u..t................................................................................................................... 22 Fan Relation..s.. .L..a..y..o..u..t.......................................................................................................................... 24 Auto Route .L..a..y..o..u..t.............................................................................................................................. 25 Lay Out a D.i.a..g..r.a..m... .A...u..t.o..m...a..t.i.c.a..l.l.y........................................................................................................ 26 Delet.e.. .D..i.a..g..r.a..m........................................................................................................................................... 29 Rena.m...e.. .D..i.a..g..r.a..m........................................................................................................................................ 30 Copy. .A..n..d.. .P..a..s..t.e.. .D...i.a..g..r.a..m... .E..l.e..m...e..n..t........................................................................................................... 30 Diagr.a..m... .N..a..v..i.g..a..t.i.o..n.. .H..o..t.k..e..y..s..................................................................................................................... 30 Copy. .I.m...a..g..e.. .t.o.. .D..i.s..k................................................................................................................................... 31 Copy. .I.m...a..g..e.. .t.o.. .C..l.i.p..b..o..a..r.d........................................................................................................................... 31 Chan.g..e.. .D..i.a..g..r.a..m... .T...y.p..e............................................................................................................................... 31 Z Ord.e..r.. .E..l.e..m...e..n..t.s...................................................................................................................................... 32 Copy. .(.D..u..p..l.i.c..a..t.e..). .D...ia..g..r..a..m.......................................................................................................................... 32 Open. .P..a..c..k..a..g..e.. .F..r.o..m... .D...i.a..g..r.a..m.................................................................................................................... 33 Featu.r..e.. .V..i.s..ib..i.l.i.t.y........................................................................................................................................ 33 Insert. .D...i.a..g..r.a..m... .P..r.o..p..e..r..t.ie..s.. .N...o..t.e................................................................................................................. 36 Autos.i.z..e.. .E...le..m...e..n..t.s..................................................................................................................................... 36 Paste. .f.r..o..m... .P..r.o..j.e..c..t. .B..r..o..w..s..e..r...................................................................................................................... 37 Paste Multip..l.e.. .I.t.e..m...s............................................................................................................................ 38 Paste Comp..o..s..i.t.e.. .E..l.e..m...e..n..t.s................................................................................................................. 39 Paste Activi.t.i.e..s.................................................................................................................................... 39 Place. .R...e..l.a..t.e..d.. .E..l.e..m...e..n..t.s.. .o..n.. .D..i.a..g..r.a..m.......................................................................................................... 40 Swim.l.a..n..e..s.. .M...a..t.r.i.x...................................................................................................................................... 41 Using. .t.h..e.. .I.m...a..g..e.. .M...a..n..a..g..e..r......................................................................................................................... 44 Create Cust.o..m... .D...i.a..g..r.a..m... .B..a..c..k..g..r.o..u..n..d.................................................................................................. 45 Import Imag.e.. .L..i.b..r.a..r..y........................................................................................................................... 46 Swimlanes......................................................................................................................................... 47 Show. .R...e..a..l.iz..e..d.. .I.n..t.e..r.f.a..c..e..s.. .o..f. .C...la..s..s............................................................................................................ 49 Label. .M...e..n..u.. .S..e..c..t.i.o..n................................................................................................................................... 49 Lock .D..i.a..g..r.a..m.............................................................................................................................................. 50 Undo. .L..a..s..t. .A..c..t.i.o..n....................................................................................................................................... 51 © 1998-2010 Sparx Systems Pty Ltd II Contents Redo. .L..a..s..t. .A..c..t.i.o..n....................................................................................................................................... 51 View .L..a..s..t. .a..n..d.. .N..e..x..t. .D...i.a..g..r.a..m...................................................................................................................... 51 Diagr.a..m... .P..r.o..p..e..r..t.ie..s.................................................................................................................................... 52 General Tab......................................................................................................................................... 53 Diagram Ta.b........................................................................................................................................ 54 Elements Ta..b....................................................................................................................................... 55 Features Ta.b........................................................................................................................................ 57 Connectors .T...a..b................................................................................................................................... 58 Visible Clas.s.. .M...e..m...b..e..r.s........................................................................................................................ 59 Set th..e.. .D..e..f.a..u..l.t. .D...ia..g..r..a..m............................................................................................................................. 59 Creat.e.. .L..e..g..e..n..d..s......................................................................................................................................... 60 Scale. .I.m...a..g..e.. .t.o.. .P...a..g..e.. .S..i.z..e......................................................................................................................... 62 Set D.i.a..g..r.a..m... .P...a..g..e.. .S..i.z..e............................................................................................................................. 63 Pan a..n..d.. .Z..o..o..m... .a.. .D..i.a..g..r.a..m........................................................................................................................... 64 Move. .E..l.e..m...e..n..t.s.. .I.n.. .D...ia..g..r..a..m... .S..e..c..t.i.o..n..s........................................................................................................ 65 Work Wit.h.. .E...l.e..m...e..n..t.s.. ............................................................................................................... 67 Element C...o..n..t.e..x..t.. .M...e..n..u.. .................................................................................................................................. 69 Prope..r.t.i.e..s.. .M...e..n..u.. .S..e..c..t.i.o..n........................................................................................................................... 70 Advanced S.u..b..m...e..n..u............................................................................................................................. 71 Custom Pro.p..e..r.t.i.e..s.. .D...ia..l.o..g.................................................................................................................... 72 Add S..u..b..m...e..n..u............................................................................................................................................ 73 Insert Relat.e..d.. .E..l.e..m...e..n..t.s...................................................................................................................... 74 Find S...u..b..m...e..n..u........................................................................................................................................... 74 Embe..d..d..e..d.. .E..l.e..m...e..n..t.s.. .S..u..b..m...e..n..u................................................................................................................. 75 Embedded .E..l.e..m...e..n..t.s.. .W...i.n..d..o..w.............................................................................................................. 75 Featu.r..e..s. .M...e..n..u.. .S...e..c..t.io..n.............................................................................................................................. 77 Code. .E..n..g..i.n..e..e..r.i.n..g.. .M...e..n..u.. .S..e..c..t.i.o..n............................................................................................................... 77 Appe.a..r.a..n..c..e.. .M...e..n..u.. .S..e..c..t.i.o..n........................................................................................................................ 77 Set Elemen.t. .F..o..n..t................................................................................................................................ 79 Eleme..n..t. .M...u..l.t.i.p..l.e.. .S..e..l.e..c..t.i.o..n.. .M...e..n..u.............................................................................................................. 79 Element T..a..s..k..s.. ................................................................................................................................................ 81 Creat.e.. .E..l.e..m...e..n..t.s........................................................................................................................................ 81 Add E..l.e..m...e..n..t.s.. .D..i.r.e..c..t.l.y.. .T..o.. .P..a..c..k..a..g..e..s......................................................................................................... 83 Use A..u..t.o.. .N...a..m...in..g.. .a..n..d.. .A...u..t.o.. .C..o..u..n..t.e..r..s....................................................................................................... 83 Set E.l.e..m...e..n..t. .P..a..r..e..n..t.................................................................................................................................. 84 Show. .E...le..m...e..n..t. .U...s..e.................................................................................................................................... 85 Set U.p.. .C...r.o..s..s.. .R..e..f.e..r.e..n..c..e..s.......................................................................................................................... 86 Move. .E..l.e..m...e..n..t.s.. .W....it.h..i.n.. .D...i.a..g..r.a..m...s.............................................................................................................. 88 Move. .E..l.e..m...e..n..t.s.. .B..e..t.w...e..e..n.. .P..a..c..k..a..g..e..s.......................................................................................................... 89 Copy. .E..l.e..m...e..n..t.s.. .B..e..t.w...e..e..n.. .P..a..c..k..a..g..e..s.......................................................................................................... 90 Chan.g..e.. .E..l.e..m...e..n..t. .T..y..p..e............................................................................................................................... 91 Align .E...l.e..m...e..n..t.s.......................................................................................................................................... 91 Resiz.e.. .E...le..m...e..n..t.s........................................................................................................................................ 92 Delet.e.. .E..l.e..m...e..n..t.s........................................................................................................................................ 93 Custo..m...iz..e.. .V...i.s.i.b..i.l.i.t.y. .o..f. .E...l.e..m...e..n..t.s............................................................................................................... 94 Creat.e.. .N...o..t.e..s. .a..n..d.. .T...e..x.t.............................................................................................................................. 95 Set a.n.. .E..l.e..m...e..n..t.'.s. .D...e..f.a..u..l.t. .A..p..p..e..a..r.a..n..c..e....................................................................................................... 96 Get/S.e..t. .P...r.o..j.e..c..t. .C..u..s..t.o..m... .C...o..l.o..r.s................................................................................................................. 98 Set .E..l.e..m...e..n..t. .T..e..m...p..l.a..t.e..s.. .P..a..c..k..a..g..e............................................................................................................ 100 High..li.g..h..t. .C...o..n..t.e..x..t. .E..l.e..m...e..n..t...................................................................................................................... 101 Mak.e.. .L..i.n..k..e..d.. .E..l.e..m...e..n..t. .a.. .L..o..c..a..l .C...o..p..y........................................................................................................ 102 Cop.y.. .F..e..a..t.u..r.e..s.. .B..e..t.w...e..e..n.. .E..l.e..m...e..n..t.s.......................................................................................................... 103 Mov.e.. .F..e..a..t.u..r.e..s.. .B...e..t.w..e..e..n.. .E...le..m...e..n..t.s.......................................................................................................... 104 Attribute..s.. ...................................................................................................................................................... 105 Attri.b..u..t.e..s. .D...i.a..l.o..g.. .-. .G...e..n..e..r.a..l. .T..a..b............................................................................................................... 108 Attri.b..u..t.e..s. .D...i.a..l.o..g.. .-. .D..e..t.a..i.l......................................................................................................................... 110 Attri.b..u..t.e..s. .D...i.a..l.o..g.. .-. .C..o..n..s..t.r.a..i.n..t.s................................................................................................................. 111 Attri.b..u..t.e.. .T..a..g..g..e..d.. .V..a..l.u..e..s.......................................................................................................................... 112 UML Modeling with Enterprise Architect - UML Modeling Tool Contents III Crea..t.e.. .P..r..o..p..e..r.t.i.e..s.................................................................................................................................... 114 Disp.l.a..y.. .I.n..h..e..r.i.t.e..d.. .A..t.t.r..ib..u..t.e..s...................................................................................................................... 115 Crea..t.e.. .O...b..j.e..c.t. .F...r.o..m... .A..t.t.r..ib..u..t.e................................................................................................................... 117 Properti.e..s.. ..................................................................................................................................................... 118 Gen.e..r.a..l. .S..e..t.t.i.n..g..s...................................................................................................................................... 119 Advanced .S..e..t.t.i.n..g..s............................................................................................................................. 120 Deta..i.ls...................................................................................................................................................... 121 Req.u..i.r.e..m...e..n..t.s.......................................................................................................................................... 122 External R.e..q..u..i.r.e..m...e..n..t.s...................................................................................................................... 124 Con.s..t.r.a..i.n..t.s.............................................................................................................................................. 125 Link.s........................................................................................................................................................ 126 Scen..a..r..io..s................................................................................................................................................. 127 Structured. .S..p..e..c..i.f.ic..a..t.i.o..n.. .T..a..b.............................................................................................................. 129 Generate D...ia..g..r..a..m...s........................................................................................................................... 135 Generate T..e..s..t. .C...a..s.e..s......................................................................................................................... 142 Generate S..c..e..n..a..r.i.o.. .F..r..o..m... .A..c..t.i.v.i.t.y.. .D...ia..g..r..a..m......................................................................................... 143 Context Re..f.e..r.e..n..c..e..s.. .T..a..b.................................................................................................................... 143 Asso..c..i.a..t.e..d.. .F..i.l.e..s...................................................................................................................................... 144 Tagg..e..d.. .V...a..l.u..e..s. .T...a..b................................................................................................................................. 145 Tagg..e..d.. .V...a..l.u..e..s........................................................................................................................................ 145 Advanced .T..a..g.. .M...a..n..a..g..e..m...e..n..t............................................................................................................. 146 Quick Add. .o..f. .T..a..g..g..e..d.. .V..a..l.u..e..s............................................................................................................. 147 Obje..c..t. .C..l.a..s..s..i.f.ie..r..s.................................................................................................................................... 148 Using Clas..s.i.f.i.e..r.s................................................................................................................................ 149 Sele.c..t. .<..I.t.e..m...>.. ..D..i.a..l.o..g............................................................................................................................... 149 Select Pro.p..e..r.t.y.. .D..i.a..l.o..g....................................................................................................................... 151 Behavio.r..a..l. .M...o..d..e..l.i.n..g.. .................................................................................................................................... 153 Ope.r.a..t.i.o..n..s............................................................................................................................................... 154 Operations.. .D..i.a..l.o..g.. .-. .G...e..n..e..r.a..l............................................................................................................. 155 Operation.s.. .D...i.a..lo..g.. .-. .B...e..h..a..v..io..r..................................................................................................... 158 Initial Cod..e................................................................................................................................. 161 Operation.s.. .D...i.a..lo..g.. .-.. .C..o..n..s..t.r.a..i.n..t.s................................................................................................. 162 Operation .T..a..g..g..e..d.. .V..a..l.u..e..s.................................................................................................................. 163 Override P.a..r.e..n..t. .O...p..e..r.a..t.i.o..n..s............................................................................................................... 164 Display Inh..e..r.i.t.e..d.. .O...p..e..r.a..t.i.o..n..s............................................................................................................. 165 Inter.a..c..t.i.o..n..s.. .a..n..d.. .A..c..t.i.v..i.t.ie..s........................................................................................................................ 167 Beh.a..v.i.o..r. .C...a..l.l.s......................................................................................................................................... 167 Associate .w..i.t.h.. .D...if.f.e..r..e..n..t. .B..e..h..a..v..i.o..r.s.................................................................................................... 168 Synchroniz..e.. .A..r.g..u..m...e..n..t.s..................................................................................................................... 168 Beh.a..v.i.o..r. .P...a..r.a..m...e..t.e..r.s............................................................................................................................... 168 Link Note t.o.. .I.n..t.e..r..n..a..l .D...o..c..u..m...e..n..t.a..t.i.o..n................................................................................................. 168 Parameter.s.. .D..i.a..l.o..g............................................................................................................................. 170 Parameter. .T..a..g..g..e..d.. .V..a..l.u..e..s................................................................................................................. 172 Operation .P..a..r.a..m...e..t.e..r..s. .b..y.. .R...e..f.e..r.e..n..c..e................................................................................................. 173 Beh.a..v.i.o..r. .C...a..l.l. .A..r.g..u..m...e..n..t.s......................................................................................................................... 174 Element. .I.n..-..p..l.a..c..e.. .E..d..i.t..i.n..g.. .O...p..t.i.o..n...s.. .............................................................................................................. 175 In-pl.a..c..e.. .E..d..i.t.i.n..g.. .T..a..s..k..s............................................................................................................................. 175 Edit ..E..l.e..m...e..n..t. .I.t.e..m... .N..a..m...e.......................................................................................................................... 176 Edit .F...e..a..t.u..r.e.. .S..t.e..r.e..o..t.y..p..e........................................................................................................................... 177 Edit .F...e..a..t.u..r.e.. .S..c..o..p..e.................................................................................................................................. 178 Edit .A...t.t.r.i.b..u..t.e.. .K..e..y..w...o..r.d............................................................................................................................. 179 Edit .O...p..e..r.a..t.i.o..n.. .P...a..r.a..m...e..t.e..r. .K..e..y..w...o..r.d......................................................................................................... 179 Edit .P...a..r.a..m...e..t.e..r. .K...in..d................................................................................................................................. 180 Inse.r.t. .N...e..w.. .F..e..a..t.u..r..e.................................................................................................................................. 181 Inse.r.t. .O...p..e..r.a..t.i.o..n.. .P..a..r..a..m...e..t.e..r.................................................................................................................... 182 Inse.r.t. .M...a..i.n..t.e..n..a..n..c..e.. .F..e..a..t.u..r.e..................................................................................................................... 182 Inse.r.t. .T..e..s..t.i.n..g.. .F..e..a..t.u..r.e..s............................................................................................................................ 184 Element. .I.c..o..n...s.. .............................................................................................................................................. 186 © 1998-2010 Sparx Systems Pty Ltd IV Contents Compar.t.m...e..n..t..s.. ............................................................................................................................................. 187 Linked D..o...c..u..m...e..n..t.s.. ....................................................................................................................................... 188 Crea..t.e.. .D...o..c.u..m...e..n..t. ..A..r.t.i.f.a..c..t....................................................................................................................... 190 Link. .D..o..c..u..m...e..n..t. .t.o.. .U...M...L.. .E..l.e..m...e..n..t............................................................................................................. 191 Edit .L..i.n..k..e..d.. .D...o..c..u..m...e..n..t.s........................................................................................................................... 191 Hyp.e..r.l.in..k.. .F..r..o..m... .L..in..k..e..d.. .D...o..c..u..m...e..n..t.......................................................................................................... 193 Crea..t.e.. .E..l.e..m...e..n..t. .F...r.o..m... .D..o..c..u..m...e..n..t............................................................................................................ 193 Rep.l.a..c.e.. .o..r.. .D..e..l.e..t.e.. .D...o..c.u..m...e..n..t.s................................................................................................................. 194 Crea..t.e.. .L..i.n..k..e..d.. .D..o..c..u..m...e..n..t. .T..e..m...p..l.a..t.e..s....................................................................................................... 194 Edit .L..i.n..k..e..d.. .D...o..c..u..m...e..n..t. .T..e..m...p..l.a..t.e..s........................................................................................................... 195 Work W.i.t.h.. .C...o..n..n..e..c..t..o..r.s.. ......................................................................................................... 197 Connect..o..r. .C...o..n..t.e..x..t.. .M...e..n..u.. ............................................................................................................................ 197 Prop..e..r.t.i.e..s.. .M...e..n..u.. .S..e..c..t.i.o..n......................................................................................................................... 198 Type..-.S...p..e..c..if.i.c.. .M...e..n..u.. .S..e..c..t.i.o..n.................................................................................................................... 199 Adva..n..c..e..d.. .M...e..n..u.. .S...e..c.t.i.o..n.......................................................................................................................... 199 Style.. .M...e..n..u.. .S...e..c.t.i.o..n.................................................................................................................................. 199 App.e..a..r.a..n..c..e.. .M...e..n..u.. .S..e..c..t.io..n....................................................................................................................... 200 Connect..o..r. .T..a..s..k..s.. .......................................................................................................................................... 201 Con.n..e..c..t. .E..l.e..m...e..n..t.s................................................................................................................................... 201 Con.n..e..c..t. .t.o.. .E..l.e..m...e..n..t. .F..e..a..t.u..r.e.................................................................................................................... 202 Add. .a.. .N..o..t.e.. .t.o.. .a.. .C...o..n..n..e..c..t.o..r..................................................................................................................... 203 Arra.n..g..e.. .C...o..n..n..e..c.t.o..r.s................................................................................................................................. 205 Cha.n..g..e.. .C..o..n..n..e..c..t.o..r. .T..y..p..e.......................................................................................................................... 205 Cha.n..g..e.. .t.h..e.. .S..o..u..r.c..e.. .o..r. .T...a..r.g..e..t. .E..l.e..m...e..n..t................................................................................................... 206 Con.n..e..c..t.o..r. .S..t.y..l.e..s..................................................................................................................................... 206 Crea..t.e.. .C...o..n..n..e..c.t.o..r.. .in.. .P...r.o..j.e..c..t. B...r.o..w...s.e..r...................................................................................................... 209 Rela..t.io..n..s..h..i.p.. .V..i.s..i.b..i.li.t.y............................................................................................................................... 210 Dele..t.e.. .C..o..n..n..e..c..t.o..r.s................................................................................................................................... 210 Gen.e..r.a..l.i.z..a..t.io..n.. .S...e..t.s................................................................................................................................. 212 Hide../.S..h..o..w... .C..o..n..n..e..c..t.o..r.s............................................................................................................................ 212 Hide../.S..h..o..w... .L..a..b..e..ls.................................................................................................................................... 214 Con.n..e..c..t.o..r. .I.n..-.p..l.a..c..e.. .E..d..i.t.i.n..g.. .O..p..t.i.o..n..s......................................................................................................... 214 Rev.e..r.s..e.. .C..o..n..n..e..c..t.o..r................................................................................................................................. 214 Set .A..s..s..o..c.i.a..t.i.o..n.. .S...p..e..c.i.a..l.i.z..a..t.io..n..s............................................................................................................... 214 Sho.w.. .U...s..e..s. .A...r.r.o..w... .H..e..a..d........................................................................................................................... 215 Tree.. .S..t.y..l.e.. .H..i.e..r.a..r.c..h..y................................................................................................................................ 216 Connect..o..r. .P...r.o..p..e..r..t.i.e..s.. .................................................................................................................................. 217 Con.n..e..c..t.o..r. .C..o..n..s..t.r.a..i.n..t.s............................................................................................................................. 218 Sou.r.c..e.. .R..o..l.e............................................................................................................................................. 219 Targ..e..t. .R..o..l.e.............................................................................................................................................. 221 Con.n..e..c..t.o..r. .T..a..g..g..e..d.. .V..a..l.u..e..s....................................................................................................................... 222 Message.. .S...c..o..p..e.. ............................................................................................................................................ 222 Relation..s..h..i.p.. .M...a..t.r..i.x.. .............................................................................................................. 224 Open th.e.. .R..e..l.a..t..i.o..n..s..h..i.p.. .M...a..t..r.i.x.. ..................................................................................................................... 225 Set Elem..e..n..t.. .T..y..p..e.. ......................................................................................................................................... 225 Set Con.n..e..c..t.o..r.. .T..y..p..e.. .a..n..d.. .D...i.r.e..c..t.i.o...n.. ............................................................................................................. 226 Set Sou.r.c..e.. .a..n..d.. .T..a..r..g..e..t. .P...a..c..k..a..g..e.. ................................................................................................................. 227 Relation.s..h...i.p.. .M...a..t.r.i.x.. .O...p..t..i.o..n..s.. ....................................................................................................................... 228 Modify R..e..l.a..t..i.o..n..s..h..i.p..s.. .i.n... .M...a..t.r.i.x.. ................................................................................................................... 229 Export t.o.. .C...S..V.. ............................................................................................................................................... 230 Matrix P.r..o..f.i.l.e..s.. .............................................................................................................................................. 230 Review .S..o..u..r..c..e.. .a..n..d.. .T..a..r..g..e..t. .E...l.e..m...e..n..t.s.. ......................................................................................................... 231 Busines.s.. .M...o...d..e..l.i.n..g.. ............................................................................................................... 232 Process. .M...o..d...e..l.i.n..g.. .N...o..t.a..t.i.o..n... ........................................................................................................................ 233 Inputs, R...e..s..o..u..r.c..e..s.. .a..n...d.. .I.n..f.o..r..m...a..t.i.o..n... ........................................................................................................... 234 Events .......................................................................................................................................................... 235 Outputs. ......................................................................................................................................................... 235 UML Modeling with Enterprise Architect - UML Modeling Tool Contents V Goals .......................................................................................................................................................... 235 A Comp.l.e..t.e.. .B...u..s..i.n..e..s..s.. .P..r..o..c..e..s..s.. ................................................................................................................... 236 Busines.s.. .R...u..l.e.. .M...o..d...e..l.i.n..g.. ...................................................................................................... 237 Model B.u..s..i.n...e..s..s.. .R..u..l.e..s.. .F...o..r. .R...u..l.e..T..a..s..k..s.. ....................................................................................................... 240 Create a. .B...u..s..i.n..e..s..s.. .D...o..m...a..i.n... .M...o..d..e..l. .............................................................................................................. 241 Create a. .R...u..l.e.. .F..l.o...w.. .M...o...d..e..l. ........................................................................................................................... 242 Pass.. .P...a..r.a..m...e..t.e..r.s.. .t.o.. .R..u..l.e.. .F..l.o..w... .A..c..t.i.v..it.y.................................................................................................... 245 Mod.e..l. .R...u..le..s.. .I.n.. .a..n.. .O...p..e..r.a..t.i.o..n................................................................................................................... 246 Compos..e.. .B..u..s..i.n...e..s..s.. .R..u..l.e..s.. ........................................................................................................................... 248 Validate. .B...u..s..i.n..e..s..s.. .R...u..l.e..s.. ............................................................................................................................. 253 Code Ge..n..e..r..a..t.i.o..n.. .F..o...r. .B...u..s..i.n..e..s..s.. .R..u...l.e..s.. ....................................................................................................... 254 Systems.. .E...n..g..i.n..e..e..r..i.n..g.. .M...o..d..e..l.i.n...g.. .......................................................................................... 256 Create a. .R...e..q..u..i.r..e..m...e..n..t.s.. .M...o...d..e..l. .................................................................................................................... 259 Create a.n... .O..p...e..r.a..t.i.o..n...a..l. .D..o..m....a..i.n.. .M...o..d..e..l. ........................................................................................................ 260 SysML P..a..r..a..m...e..t.r.i.c.. .M...o...d..e..l.s.. .......................................................................................................................... 262 Simu..l.a..t.e.. .a.. .S...y.s..M...L.. .M...o..d..e..l........................................................................................................................ 265 Compos..e.. S...y..s..t.e..m... .D...e..s..i.g..n.. ............................................................................................................................ 267 Create R..e..u..s..a..b..l.e.. .S...u..b..s..y..s..t.e..m...s.. ..................................................................................................................... 268 Index 270 © 1998-2010 Sparx Systems Pty Ltd 1 Foreword Foreword This user guide describes how to use the modeling facilities of Enterprise Architect. UML Modeling with Enterprise Architect - UML Modeling Tool | 2 Modeling In relation to using Enterprise Architect, UML modeling can be described as graphically representing a business process or software system. The resulting model can be used to emphasize a certain aspect of the system being represented and to record, document and communicate its detail. A study of such a model can enable insight or understanding of the system. The Enterprise Architect Modeling Platform Enterprise Architect's modeling platform is based on the Unified Modeling Language (UML), a standard that defines rules and notations for specifying business and software systems. For information on UML, see the UML Dictionary. For examples of the UML models that Enterprise Architect can help you build, see the Model Templates topic in Using Enterprise Architect - UML Modeling Tool. Building a Model Using Enterprise Architect, you can quickly build a model using a hierarchy of packages to represent the structure and organization of the model. Each package can contain: · Other packages · Diagrams that represent various aspects of the equipment, environment and business processes of the system · Elements that represent the objects and actions within the system or process, arranged in an organization defined by relationships represented by UML connectors. The Create a Project - Quick Start topic briefly shows you how to create a diagram within a package, containing elements and connectors. See Getting Started with Enterprise Architect. Sparx Systems also provide a demonstration of quickly developing a Use Case model. For specific details of configuring and combining the components of a model, see: · Work With Packages 3 · Work With Diagrams 7 · Work With Elements 67 · Work With Connectors 197. Relationship Matrix The Relationship Matrix enables you to display and manage the relationships between the elements within selected packages. You can refine the display to show specific types of relationship between specific types of element. The Relationship Matrix 224 is an effective and convenient method of visualizing relationships quickly and definitively. © 1998-2010 Sparx Systems Pty Ltd 3 Work With Packages | 1 Work With Packages A package is a container of model elements, and is displayed in the Project Browser using the 'folder' icon familiar to Windows users. This topic explores the tasks you can perform with packages, including: · Open a package 33 · Add a package 3 · Rename a package 4 · Copy a package 4 · Drag a package onto a diagram 5 · Show or hide a package 6 · Delete a package 6 . Note: In the Corporate, Business and Software Engineering, Systems Engineering and Ultimate editions of Enterprise Architect, if security is enabled you must have Update Element permission to update or delete a package. See User Security in UML Models. 1.1 Open Package in the Project Browser To open a package from the Project Browser, follow the steps below: 1. Double-click on a package; the contents display in the Project Browser. 2. Click on the + and - symbols next to the folder icon to open or close the package respectively. Tip: Package contents are arranged alphabetically and elements can be dragged from one package to another using the mouse. 1.2 Add a Package To add a new package: 1. In the Project Browser, select the package or view under which to add a new package. 2. Right-click on the folder icon within the Project Browser. The context menu displays. 3. Select the Add | Add Package menu option. The New Model Package dialog displays. 4. In the Package Name field type the name of the new package. UML Modeling with Enterprise Architect - UML Modeling Tool
Description: