c# compared to Visual Basic .NET, 153 generating code from Visio, 134 enhancing model, 167 Generate dialog window, 149 table of operation types, 139 XML comments and code templates, 162 problems with formatting, 165 tags for comments, 162
C++ generating code from Visio, 134 operation types, 140
Capitalization tab, ORM building logical model, 306
check out media use case adding messages between objects, 114 Activation shape, 114 Message shape, 114 UML Operation Properties Dialog, 115 completing checkout, 127 Activation shape, 127 Message shape, 127 deriving business classes from use cases, 105 adding actor to sequence diagram, 111 adding use case text to sequence diagram, 108 UML sequence diagram, 107 designing library system, 116 relating database tables to business objects, 106 representing user interface, 113
check, Database Properties Window column properties, 322 Entity Relationship diagrams, 323
class base classes, 171 collection classes, 169 constructing Employee class, 135 implementing interface in class, 148 UML class diagram, 20 class name, 20 member attributes, 20 member operations, 20
class diagram, UML, 20 see also static structure diagram. associations, 21 association class, 21 class, 20 class name, 20 member attributes, 20 member operations, 20 composition, 20 multiplicities, 20 roles, 20 dependency, 20 detailed design documentation, 222 navigability information, 223 high level design documentation, 218 Conceptual class diagrams, 218 inheritance, 20 Reverse engineering, 183 nested classes, 184 referenced .NET classes, 184 testing documentation, 227
Class Properties Dialog see UML Class Properties Dialog.
Class shape static structure stencil, 252 using with RemotingType stereotype, 252
Client-activated objects Remoting, 244 stateful remoting types, 256
code generating code from Visio, 134 adding fields to class, 136 adding indexer, 169 adding methods to class, 141 adding properties to class, 138 adding properties to interface, 145 base classes, 171 C#, 149 checking errors, 152 code templates, 154 delegates, 170 Employee class, 135 Employees collection class, 169 EmployeeType enumeration, 167 enhancing model, 167 events, 170 Generate dialog window, 148 implementing interface in class, 148 mapping associations, 167 Person interface, 144 regenerating code, 152 viewing code generated from attributes, 136 viewing code generated from operations, 140 virtual methods, 171 Visual Basic .NET, 153 segregating using business objects, 77 software development lifecycle, 210 UML documentation, 225 high level design documentation, 226 requirements development documentation, 226
code templates advantages, 155 custom code templates. creating, 160 generating code from Visio, 154 specialized code templates, 158 using, 155 changing default settings, 156 editing templates, 156 placeholders, 158 XML comments and code templates, 162 problems with formatting, 165
Code-to-UML mapping, 185 associations, 187 attributes, 187 examples, 185 inheritance, 185 methods, 189 operations, 189 primitive types, 192 properties, 189 table of elements, 89 value types, 192
collaboration diagram, UML, 17 detailed design documentation, 224
collection classes, 169 Employees collection class, 169
column properties, Database Properties Window Check tab, 322 Data Type tab, 322 Definition tab, 321 Entity Relationship diagrams, 321
COM and OLE diagrams, 48 Boundary shape, 51 COM Object shape, 49 creating, 49 Interface shape, 51 Process Boundary shape, 51 Reference connector, 50 Vtable shape, 50 Weak Reference connector, 50
COM Object shape COM and OLE diagrams, 49 IUnknown interface, 49
comments comment web pages, 166 XML comments and code templates, 162
communicates UML use case diagram, 15
component design bank distributed system, 257 creating component diagram, 257 design issues, 257 deployment, 257 performance, 257 reuse, 257 security, 257 packaging components, 261
component diagram, UML, 21 <<executable>>, 22 <<library>>, 22 bank distributed system, 257 bird's eye view, 260 Component shape, 258 creating, 258 Dependency shape, 259 high level design documentation, 221 Implementation Model, 257 Interface shape, 259
component report compared to deployment diagram report, 236 description, 236 UML documentation, 236
Component shape component stencil, 258 UML component diagram, 258 UML deployment diagram, 266
component stencil Component shape, 258 Dependency shape, 259
components, UML compared to .NET assemblies, 261 definition, 261
composite type, Database Properties Window ORM, 326
composition specifying relationship between business object and data access class, 97 UML class diagram, 20 multiplicities, 20 roles, 20
Composition shape removing end points, 99 specifying relationship between business object and data access class, 97 static structure stencil, 97
Conceptual class diagrams high level design documentation, 218
Conceptual Schema Design Procedure combination of objects, 285 constraints, 290 Add Constraint form, 290 Fact Type Editor, 285 description, 273 drawing fact types, 278 example of using, 273 ORM, 273 reports, 283
concrete subclasses see subclassing base class.
concurrency, distributed systems, 243
Configure method RemotingConfiguration class, 245
connectors, 42 automatic rerouting of connectors, 47 Data Flow connector, 54 description, 42 Dynamic Connector, 42 connecting shapes, 43 options for using connectors, 46 Reference connector, 50 Relationship connector, 67 stencils, 42 Weak Reference connector, 50
Constraint element extending UML model, 249
Constraint Properties Dialog see UML Constraint Properties Dialog.
constraints Add Constraint form, 299 creating constraints between facts, 290 equality constraint, 295 Fact Type Editor, 297 frequency constraints, 287 index constraint, 295 mandatory constraints, 287 ORM notation, 285 ring constraint, 295 setting constraints, 297 subset constraint, 295 uniqueness constraints, 287
Construction phase Rational Unified Process, 28
control flow UML activity diagram, 14
Corner Resize shape Windows User Interface diagrams, 59
Create New Data Source wizard generating database, 309
CSDP see Conceptual Schema Design Procedure.
custom code templates, 160 advantages of using, 161 creating, 160 creating template from scratch, 160 editing existing template, 160 testing custom template, 161
| |||||||||||||||||||||||||||||||||||