Object-Oriented Modeling SAP Powerdesigner Documentation Collection Content
Total Page:16
File Type:pdf, Size:1020Kb
User Guide PUBLIC SAP PowerDesigner Document Version: 16.6.2 – 2017-01-05 Object-Oriented Modeling SAP PowerDesigner Documentation Collection Content 1 Building OOMs ................................................................7 1.1 Getting Started with Object-Oriented Modeling.......................................... 7 Creating an OOM.............................................................9 Previewing Object Code........................................................12 Customizing Object Creation Scripts.............................................. 14 Customizing your Modeling Environment........................................... 15 1.2 Use Case Diagrams.............................................................20 Use Case Diagram Objects......................................................21 Use Cases (OOM)............................................................21 Actors (OOM).............................................................. 24 Use Case Associations (OOM)...................................................28 1.3 Structural Diagrams............................................................ 30 Class Diagrams.............................................................30 Composite Structure Diagrams..................................................32 Package Diagrams...........................................................35 Object Diagrams.............................................................36 Classes (OOM)..............................................................38 Packages (OOM)............................................................ 58 Interfaces (OOM)............................................................61 Objects (OOM)..............................................................63 Attributes (OOM)............................................................68 Identifiers (OOM)............................................................76 Operations (OOM)........................................................... 78 Associations (OOM)..........................................................85 Generalizations (OOM)........................................................94 Dependencies (OOM).........................................................97 Realizations (OOM)..........................................................100 Require Links (OOM).........................................................101 Annotations (OOM)..........................................................103 Instance Links (OOM)........................................................106 Domains (OOM)............................................................ 110 1.4 Dynamic Diagrams.............................................................115 Communication Diagrams.....................................................115 Sequence Diagrams..........................................................117 Activity Diagrams........................................................... 121 Statechart Diagrams.........................................................124 Object-Oriented Modeling 2 PUBLIC Content Interaction Overview Diagrams..................................................127 Interaction References and Interaction Activities (OOM)................................128 Interaction Fragments (OOM).................................................. 129 Messages (OOM)........................................................... 132 Activities (OOM)............................................................146 Organization Units (OOM)..................................................... 161 Starts and Ends (OOM).......................................................168 Decisions (OOM)............................................................169 Synchronizations (OOM)......................................................172 Flows (OOM)...............................................................174 Object Nodes (OOM).........................................................176 States (OOM)..............................................................178 Transitions (OOM).......................................................... 183 Events (OOM)..............................................................186 Actions (OOM).............................................................189 Junction Points (OOM)....................................................... 192 1.5 Implementation Diagrams........................................................193 Component Diagrams........................................................193 Deployment Diagrams........................................................195 Components (OOM).........................................................197 Nodes (OOM)..............................................................204 Component Instances (OOM)..................................................206 Files (OOM)...............................................................208 Node Associations (OOM).....................................................210 1.6 Web Services.................................................................212 Web Service Components (OOM)................................................213 Web Service Methods (OOM)...................................................219 Web Service Component Instances (OOM).........................................225 Generating Web Services for Java............................................... 227 Generating Web Services for .NET...............................................228 Importing WSDL Files........................................................230 1.7 Generating and Reverse Engineering OO Source Files....................................235 Generating OO Source Files from an OOM..........................................235 Reverse Engineering OO Source Files into an OOM................................... 239 Synchronizing a Model with Generated Files........................................243 1.8 Generating Other Models from an OOM..............................................245 Managing Object Persistence During Generation of Data Models..........................247 Managing Persistence for Generalizations..........................................247 Managing Persistence for Complex Data Types......................................249 Customizing XSM Generation for Individual Objects...................................251 1.9 Checking an OOM.............................................................253 Object-Oriented Modeling Content PUBLIC 3 Domain Checks............................................................ 254 Data Source Checks.........................................................254 Package Checks............................................................255 Actor/Use Case Checks...................................................... 256 Class Checks..............................................................257 Identifier Checks............................................................261 Interface Checks........................................................... 262 Class/Interface Attribute Checks................................................264 Class/Interface Operation Checks...............................................265 Realization Checks..........................................................267 Generalization Checks........................................................267 Object Checks.............................................................268 Instance Link Checks........................................................ 269 Message Checks........................................................... 269 State Checks..............................................................270 State Action Checks......................................................... 271 Event Checks..............................................................271 Junction Point Checks........................................................272 Activity Checks.............................................................273 Decision Checks............................................................274 Object Node Checks.........................................................274 Organization Unit Checks..................................................... 275 Start/End Checks...........................................................276 Synchronization Checks......................................................276 Transition and Flow Checks....................................................277 Component Checks......................................................... 278 Node Checks..............................................................279 Data Format Checks .........................................................279 Component Instance Checks...................................................280 Interaction Reference Checks.................................................. 281 Class Part Checks...........................................................282 Class/Component Port Checks.................................................282 Class/component Assembly Connector Checks.....................................283 Association Checks......................................................... 284 Activity Input and Output Parameter Checks........................................284 1.10 Importing a Rational Rose Model into an OOM.........................................285 Importing Rational Rose Use Case Diagrams........................................286 Importing Rational Rose Class Diagrams...........................................287 Importing Rational Rose Collaboration