Object-Oriented Architecture SAP Powerdesigner Documentation Collection Company

Total Page:16

File Type:pdf, Size:1020Kb

Object-Oriented Architecture SAP Powerdesigner Documentation Collection Company USER GUIDE | PUBLIC SAP PowerDesigner Document Version: 16.6.10 – 2019-12-17 Object-Oriented Architecture SAP PowerDesigner Documentation Collection company. All rights reserved. All rights company. affiliate THE BEST RUN 2019 SAP SE or an SAP SE or an SAP SAP 2019 © 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)......................................................... 22 Actors (OOM)............................................................24 Use Case Associations (OOM)................................................ 28 1.3 Structural Diagrams..........................................................30 Class Diagrams...........................................................31 Composite Structure Diagrams................................................33 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 Architecture 2 PUBLIC Content Interaction Overview Diagrams............................................... 127 Interaction References and Interaction Activities (OOM)............................. 128 Interaction Fragments (OOM)................................................130 Messages (OOM).........................................................132 Activities (OOM)..........................................................147 Organization Units (OOM)...................................................161 Starts and Ends (OOM).....................................................169 Decisions (OOM).........................................................170 Synchronizations (OOM)....................................................173 Flows (OOM)............................................................175 Object Nodes (OOM).......................................................177 States (OOM)............................................................179 Transitions (OOM)........................................................184 Events (OOM)........................................................... 187 Actions (OOM)...........................................................190 Junction Points (OOM).....................................................193 1.5 Implementation Diagrams.....................................................194 Component Diagrams......................................................194 Deployment Diagrams.....................................................196 Components (OOM).......................................................198 Nodes (OOM)...........................................................206 Component Instances (OOM)................................................208 Files (OOM).............................................................210 Node Associations (OOM)...................................................212 1.6 Web Services.............................................................. 214 Web Service Components (OOM)..............................................215 Web Service Methods (OOM).................................................221 Web Service Component Instances (OOM).......................................227 Generating Web Services for Java.............................................229 Generating Web Services for .NET.............................................230 Importing WSDL Files......................................................232 1.7 Generating and Reverse Engineering OO Source Files..................................236 Generating OO Source Files from an OOM.......................................236 Reverse Engineering OO Source Files into an OOM.................................240 Synchronizing a Model with Generated Files......................................243 1.8 Generating Other Models from an OOM........................................... 246 Managing Object Persistence During Generation of Data Models....................... 248 Managing Persistence for Generalizations....................................... 248 Managing Persistence for Complex Data Types....................................250 Customizing XSM Generation for Individual Objects................................252 1.9 Checking an OOM...........................................................254 Object-Oriented Architecture Content PUBLIC 3 Domain Checks..........................................................255 Data Source Checks.......................................................255 Package Checks......................................................... 256 Actor/Use Case Checks....................................................257 Class Checks............................................................258 Identifier Checks.........................................................263 Interface Checks.........................................................263 Class/Interface Attribute Checks............................................. 266 Class/Interface Operation Checks.............................................267 Realization Checks........................................................268 Generalization Checks.....................................................269 Object Checks...........................................................270 Instance Link Checks......................................................270 Message Checks......................................................... 271 State Checks............................................................271 State Action Checks.......................................................272 Event Checks............................................................273 Junction Point Checks..................................................... 274 Activity Checks.......................................................... 274 Decision Checks......................................................... 275 Object Node Checks.......................................................276 Organization Unit Checks...................................................277 Start/End Checks........................................................ 277 Synchronization Checks....................................................278 Transition and Flow Checks..................................................279 Component Checks.......................................................279 Node Checks............................................................280 Data Format Checks ...................................................... 281 Component Instance Checks.................................................281 Interaction Reference Checks................................................282 Class Part Checks........................................................283 Class/Component Port Checks...............................................284 Class/component Assembly Connector Checks...................................285 Association Checks.......................................................286 Activity Input and Output Parameter Checks..................................... 286 1.10 Importing a Rational Rose Model into an OOM.......................................287 Importing Rational Rose Use Case Diagrams..................................... 288 Importing Rational Rose Class Diagrams........................................289 Importing Rational Rose Collaboration Diagrams..................................290 Importing Rational Rose Sequence Diagrams.....................................291 Importing
Recommended publications
  • UML Tutorial: Part 1 -- Class Diagrams
    UML Tutorial: Part 1 -- Class Diagrams. Robert C. Martin My next several columns will be a running tutorial of UML. The 1.0 version of UML was released on the 13th of January, 1997. The 1.1 release should be out before the end of the year. This col- umn will track the progress of UML and present the issues that the three amigos (Grady Booch, Jim Rumbaugh, and Ivar Jacobson) are dealing with. Introduction UML stands for Unified Modeling Language. It represents a unification of the concepts and nota- tions presented by the three amigos in their respective books1. The goal is for UML to become a common language for creating models of object oriented computer software. In its current form UML is comprised of two major components: a Meta-model and a notation. In the future, some form of method or process may also be added to; or associated with, UML. The Meta-model UML is unique in that it has a standard data representation. This representation is called the meta- model. The meta-model is a description of UML in UML. It describes the objects, attributes, and relationships necessary to represent the concepts of UML within a software application. This provides CASE manufacturers with a standard and unambiguous way to represent UML models. Hopefully it will allow for easy transport of UML models between tools. It may also make it easier to write ancillary tools for browsing, summarizing, and modifying UML models. A deeper discussion of the metamodel is beyond the scope of this column. Interested readers can learn more about it by downloading the UML documents from the rational web site2.
    [Show full text]
  • Plantuml Language Reference Guide (Version 1.2021.2)
    Drawing UML with PlantUML PlantUML Language Reference Guide (Version 1.2021.2) PlantUML is a component that allows to quickly write : • Sequence diagram • Usecase diagram • Class diagram • Object diagram • Activity diagram • Component diagram • Deployment diagram • State diagram • Timing diagram The following non-UML diagrams are also supported: • JSON Data • YAML Data • Network diagram (nwdiag) • Wireframe graphical interface • Archimate diagram • Specification and Description Language (SDL) • Ditaa diagram • Gantt diagram • MindMap diagram • Work Breakdown Structure diagram • Mathematic with AsciiMath or JLaTeXMath notation • Entity Relationship diagram Diagrams are defined using a simple and intuitive language. 1 SEQUENCE DIAGRAM 1 Sequence Diagram 1.1 Basic examples The sequence -> is used to draw a message between two participants. Participants do not have to be explicitly declared. To have a dotted arrow, you use --> It is also possible to use <- and <--. That does not change the drawing, but may improve readability. Note that this is only true for sequence diagrams, rules are different for the other diagrams. @startuml Alice -> Bob: Authentication Request Bob --> Alice: Authentication Response Alice -> Bob: Another authentication Request Alice <-- Bob: Another authentication Response @enduml 1.2 Declaring participant If the keyword participant is used to declare a participant, more control on that participant is possible. The order of declaration will be the (default) order of display. Using these other keywords to declare participants
    [Show full text]
  • APECS: Polychrony Based End-To-End Embedded System Design and Code Synthesis
    APECS: Polychrony based End-to-End Embedded System Design and Code Synthesis Matthew E. Anderson Dissertation submitted to the faculty of the Virginia Polytechnic Institute and State University in partial fulfillment of the requirements for the degree of Doctor of Philosophy in Computer Engineering Sandeep K. Shukla, Chair Lamine Mili Alireza Haghighat Chao Wang Yi Deng April 3, 2015 Blacksburg, Virginia Keywords: AADL, CPS, Model-based code synthesis, correct-by-construction code synthesis, Polychrony, code generators, OSATE, Ocarina Copyright 2015, Matthew E. Anderson APECS: Polychrony based End-to-End Embedded System Design and Code Synthesis Matthew E. Anderson (ABSTRACT) The development of high integrity embedded systems remains an arduous and error-prone task, despite the efforts by researchers in inventing tools and techniques for design automa- tion. Much of the problem arises from the fact that the semantics of the modeling languages for the various tools, are often distinct, and the semantics gaps are often filled manually through the engineer's understanding of one model or an abstraction. This provides an op- portunity for bugs to creep in, other than standardising software engineering errors germane to such complex system engineering. Since embedded systems applications such as avionics, automotive, or industrial automation are safety critical, it is very important to invent tools, and methodologies for safe and reliable system design. Much of the tools, and techniques deal with either the design of embedded platforms (hardware, networking, firmware etc), and software stack separately. The problem of the semantic gap between these two, as well as between models of computation used to capture semantics must be solved in order to design safer embedded systems.
    [Show full text]
  • Systems Engineering with Sysml/UML Morgan Kaufmann OMG Press
    Systems Engineering with SysML/UML Morgan Kaufmann OMG Press Morgan Kaufmann Publishers and the Object Management Group™ (OMG) have joined forces to publish a line of books addressing business and technical topics related to OMG’s large suite of software standards. OMG is an international, open membership, not-for-profi t computer industry consortium that was founded in 1989. The OMG creates standards for software used in government and corporate environments to enable interoperability and to forge common development environments that encourage the adoption and evolution of new technology. OMG members and its board of directors consist of representatives from a majority of the organizations that shape enterprise and Internet computing today. OMG’s modeling standards, including the Unifi ed Modeling Language™ (UML®) and Model Driven Architecture® (MDA), enable powerful visual design, execution and maintenance of software, and other processes—for example, IT Systems Modeling and Business Process Management. The middleware standards and profi les of the Object Management Group are based on the Common Object Request Broker Architecture® (CORBA) and support a wide variety of industries. More information about OMG can be found at http://www.omg.org/. Related Morgan Kaufmann OMG Press Titles UML 2 Certifi cation Guide: Fundamental and Intermediate Exams Tim Weilkiens and Bernd Oestereich Real-Life MDA: Solving Business Problems with Model Driven Architecture Michael Guttman and John Parodi Architecture Driven Modernization: A Series of Industry Case Studies Bill Ulrich Systems Engineering with SysML/UML Modeling, Analysis, Design Tim Weilkiens Acquisitions Editor: Tiffany Gasbarrini Publisher: Denise E. M. Penrose Publishing Services Manager: George Morrison Project Manager: Mónica González de Mendoza Assistant Editor: Matt Cater Production Assistant: Lianne Hong Cover Design: Dennis Schaefer Cover Image: © Masterfile (Royalty-Free Division) Morgan Kaufmann Publishers is an imprint of Eslsevier.
    [Show full text]
  • UML Why Develop a UML Model?
    App Development & Modelling BSc in Applied Computing Produced Eamonn de Leastar ([email protected]) by Department of Computing, Maths & Physics Waterford Institute of Technology http://www.wit.ie http://elearning.wit.ie Introduction to UML Why develop a UML model? • Provide structure for problem solving • Experiment to explore multiple solutions • Furnish abstractions to manage complexity • Decrease development costs • Manage the risk of mistakes #3 The Challenge #4 The Vision #5 Why do we model graphically? " Graphics reveal data.! " Edward Tufte$ The Visual Display of Quantitative Information, 1983$ " 1 bitmap = 1 megaword.! " Anonymous visual modeler #6 Building Blocks of UML " The basic building blocks of UML are:! " model elements (classes, interfaces, components, use cases, etc.)! " relationships (associations, generalization, dependencies, etc.)! " diagrams (class diagrams, use case diagrams, interaction diagrams, etc.)! " Simple building blocks are used to create large, complex structures! " eg elements, bonds and molecules in chemistry! " eg components, connectors and circuit boards in hardware #7 Example : Classifier View #8 Example: Instance View #9 UML Modeling Process " Use Case! " Structural! " Behavioural! " Architectural #10 Use Case Visual Paradigm Help #11 Structural Modeling Visual Paradigm Help #12 Behavioural Modeling Visual Paradigm Help #13 Architectural Modeling Visual Paradigm Help #14 Structural Modeling " Core concepts! " Diagram Types #15 Structural Modeling Core Elements " a view of an system that emphasizes
    [Show full text]
  • Course Structure & Syllabus of B.Tech Programme In
    Course Structure & Syllabus of B.Tech Programme in Information Technology (From the Session 2015-16) VSSUT, BURLA COURSE STRUCTURE FIRST YEAR (COMMON TO ALL BRANCHES) FIRST SEMESTER SECOND SEMESTER Contact Contact Theory Hrs. Theory Hrs. CR CR Course Course Subject L .T .P Subject L. T. P Code Code Mathematics-I 3 - 1 - 0 4 Mathematics-II 3 - 1 - 0 4 Physics/Chemistry 3 - 1 - 0 4 Chemistry/ Physics 3 - 1 - 0 4 Engineering Computer /CS15- CS15- Mechanics/Computer 3 - 1 - 0 4 Programming/Engineering 3 - 1 - 0 4 008 008/ Programming Mechanics Basic Electrical Engineering/ Basic Electronics/Basic 3 - 1 - 0 4 3 - 1 - 0 4 Basic Electronics Electrical Engineering English/Environmental Environmental 3 - 1 - 0 4 3 - 1 - 0 4 Studies Studies/English Sessionals Sessionals Physics Laboratory/ Chemistry Lab/ Physics 0 - 0 - 3 2 0 - 0 - 3 2 Chemistry Lab Laboratory Workshop-I/Engineering Engineering Drawing/ 0 - 0 - 3 2 0 - 0 - 3 2 Drawing Workshop-I Basic Electrical Engineering Basic Electronics Lab/Basic 0 - 0 - 3 2 0 - 0 - 3 2 Lab/Basic Electronics Lab Electrical Engineering Lab Business Communication Programming Lab/ /CS15- CS15- and Presentation Skill/ 0 - 0 - 3 2 Business Communication 0 - 0 - 3 2 984 984/ Programming Lab and Presentation Skill Total 15-5-15 28 Total 15-5-15 28 SECOND YEAR THIRD SEMESTER FOURTH SEMESTER Contact Contact Theory Hrs. Theory Hrs. CR CR Course Subject L .T .P Course Code Subject L. T. P Code Mathematics-III Computer Organization 3 - 1 - 0 4 CS15-007 and Architecture 3 - 1 - 0 4 Digital Systems 3 - 1 - 0 4 CS15-032 Theory
    [Show full text]
  • UML Class Diagrams UML Is a Graphical Language for Recording Aspects of the Requirements and Design of Software Systems
    The Unified Modeling Language UML class diagrams UML is a graphical language for recording aspects of the requirements and design of software systems. Nigel Goddard It provides many diagram types; all the diagrams of a system together form a UML model. Three important types of diagram: School of Informatics 1. Use-case diagram. Already seen in requirements lecture. University of Edinburgh 2. Class diagram. Today. 3. Interaction diagram. In the future. Reminder: a simple use case diagram A class Reserve book Browse Browser BookBorrower Book Borrow copy of book A class as design entity is an example of a model element: the Return copy of book rectangle and text form an example of a corresponding presentation element. Extend loan UML explicitly separates concerns of actual symbols used vs Update catalogue meaning. Many other things can be model elements: use cases, actors, Borrow journal Librarian associations, generalisation, packages, methods,... Return journal JournalBorrower An object Classifiers and instances An aspect of the UML metamodel that it's helpful to understand up front. jo : Customer An instance is to a classifier as an object is to a class: instance and classifier are more general terms. This pattern generalises: always show an instance of a classifier In the metamodel, Class inherits from Classifier, Object inherits using the same symbol as for the classifier, labelled from Instance. instanceName : classifierName. UML defines many different classifiers. E.g., UseCase and Actor are classifiers. Showing attributes and operations Compartments We saw the standard: Book a compartment for attributes title : String I I a compartment for operations, below it copiesOnShelf() : Integer borrow(c:Copy) They can be suppressed in diagrams.
    [Show full text]
  • Generating Text with a Theorem Prover
    Generating Text with a Theorem Prover Ivfin I. Garibay School of Computer Science University of Central Florida Orlando, FL [email protected] Statechart Abstract ~ Theoreml The process of documenting designs is tedious and Content Planning Question tree + Tree transformations often error-prone. We discuss a system that au- , _?_T;_J Text Planning i Hypermxt~s implicittext planner(user)[ tomatically generates documentation for the single step transition behavior of Statecharts with particu- I.oa!izatioo Tomp,ato I lar focus on the correctness of the result in the sense that the document will present all and only the facts Hyper-t exit Document corresponding to the design being documented. Our approach is to translate the Statechart into Figure 1: Conceptual view Of the system. a propositional formula, then translate this formula into a natural language report. In the later transla- spective, this problem is distinguished in that the tion pragmatic effects arise due to the way the in- formal correctness of the document being generated formation is presented. Whereas such effects can be is crucial while felicitousness of the style is rela- difficult to quantify, we account for them within an tively unimportant. This leads us to a solution abstract framework by applying a series of transfor- based on formally verifiable theorem-proving tech- mations on the structure on the report while pre- niques which allows us to approach strategic NLG is- serving soundness and completeness of the logical sues within a highly abstract and conceptually clear content. The result is an automatically generated framework. hypertext report that is both logically correct and, The system takes a statechart in the form of a to a relatively high degree of confidence, free of mis- labeled directed graph and translates it into a set leading implicatures.
    [Show full text]
  • UML Diagrams
    mywbut.com UML Diagrams Overview UML was designed to be the distillation of best practices in software development. To accomplish this ambitious goal, UML provides an extensive set of diagramming tools. Because UML is such a big subject and the diagramming tools are so diverse I thought it would be helpful to give you an overview of the diagrams themselves. This chapter presents some samples of each diagram with a brief introduction describing the purpose and benefits of each diagram. As a kind of roadmap I'll use the UML groupings that divide the diagrams into packages based on their roles in the Model Management, Structural, and Behavioral aspects of system design. Model Management diagrams include Packages, which are used to represent Subsystems, Models, and more. Structural diagrams include the Class diagram, Object diagram, Composite Structure diagram, Component diagram, Deployment diagram, and the Combined Component and Deployment diagram. Behavioral diagrams include the Use Case diagram, Activity diagram, Interaction diagrams, State Machine diagram, and Protocol State Machine diagram. UML Diagrams and Work Products Each diagram reveals a unique yet overlapping view of a system. That sounds a bit strange. How can a diagram be unique yet overlap other diagrams? The uniqueness comes from the different perspective taken by each diagram. The overlap comes from the fact that all of the diagrams are looking at the same problem. The big question that usually crops up about now is, "Why do I have to use all these diagrams? Joe and Susan have always just drawn Class diagrams." This question is valid. For small, simple projects you may not need to create all these diagrams.
    [Show full text]
  • Object-Oriented Data Modeling
    M13_HOFF8406_10_SE_C13.QXD 6/5/10 10:25 AM Page 13-1 CHAPTER 13 Object-Oriented Data Modeling Learning Objectives After studying this chapter, you should be able to: ᭤ Concisely define each of the following key terms: class, object, state, behavior, class diagram, object diagram, operation, encapsulation, constructor operation, query operation, update operation, class-scope operation, association, association role, multiplicity, association class, abstract class, concrete class, class-scope attribute, abstract operation, method, polymorphism, overriding, multiple classification, aggregation, and composition. ᭤ Describe the activities in the different phases of the object-oriented development life cycle. ᭤ State the advantages of object-oriented modeling vis-à-vis structured approaches. ᭤ Compare the object-oriented model with the E-R and EER models. ᭤ Model a real-world domain by using a Unified Modeling Language (UML) class diagram ᭤ Provide a snapshot of the detailed state of a system at a point in time, using a UML object diagram. ᭤ Recognize when to use generalization, aggregation, and composition relationships. ᭤ Specify different types of business rules in a class diagram. INTRODUCTION In Chapters 2 and 3, you learned about data modeling using the E-R and EER models. In those chapters, you discovered how to model the data needs of an organization using entities, attributes, and a wide variety of relationships. In this chapter, you will be introduced to the object-oriented model, which is becoming increasingly popular because of its ability to thoroughly represent complex relationships, as well as to represent data and system behavior in a consistent, integrated notation. Fortunately, most of the concepts you learned in those chapters correspond to concepts in object-oriented modeling, but the object- oriented model has even more expressive power than the EER model.
    [Show full text]
  • Real Time UML
    Fr 5 January 22th-26th, 2007, Munich/Germany Real Time UML Bruce Powel Douglass Organized by: Lindlaustr. 2c, 53842 Troisdorf, Tel.: +49 (0)2241 2341-100, Fax.: +49 (0)2241 2341-199 www.oopconference.com RealReal--TimeTime UMLUML Bruce Powel Douglass, PhD Chief Evangelist Telelogic Systems and Software Modeling Division www.telelogic.com/modeling groups.yahoo.com/group/RT-UML 1 Real-Time UML © Telelogic AB Basics of UML • What is UML? – How do we capture requirements using UML? – How do we describe structure using UML? – How do we model communication using UML? – How do we describe behavior using UML? • The “Real-Time UML” Profile • The Harmony Process 2 Real-Time UML © Telelogic AB What is UML? 3 Real-Time UML © Telelogic AB What is UML? • Unified Modeling Language • Comprehensive full life-cycle 3rd Generation modeling language – Standardized in 1997 by the OMG – Created by a consortium of 12 companies from various domains – Telelogic/I-Logix a key contributor to the UML including the definition of behavioral modeling • Incorporates state of the art Software and Systems A&D concepts • Matches the growing complexity of real-time systems – Large scale systems, Networking, Web enabling, Data management • Extensible and configurable • Unprecedented inter-disciplinary market penetration – Used for both software and systems engineering • UML 2.0 is latest version (2.1 in process…) 4 Real-Time UML © Telelogic AB UML supports Key Technologies for Development Iterative Development Real-Time Frameworks Visual Modeling Automated Requirements-
    [Show full text]
  • AUTOSAR and Sysml – a Natural Fit? Andreas Korff
    View metadata, citation and similar papers at core.ac.uk brought to you by CORE provided by Archive Ouverte en Sciences de l'Information et de la Communication AUTOSAR and SysML – A Natural Fit? Andreas Korff To cite this version: Andreas Korff. AUTOSAR and SysML – A Natural Fit?. Conference ERTS’06, Jan 2006, Toulouse, France. hal-02270421 HAL Id: hal-02270421 https://hal.archives-ouvertes.fr/hal-02270421 Submitted on 25 Aug 2019 HAL is a multi-disciplinary open access L’archive ouverte pluridisciplinaire HAL, est archive for the deposit and dissemination of sci- destinée au dépôt et à la diffusion de documents entific research documents, whether they are pub- scientifiques de niveau recherche, publiés ou non, lished or not. The documents may come from émanant des établissements d’enseignement et de teaching and research institutions in France or recherche français ou étrangers, des laboratoires abroad, or from public or private research centers. publics ou privés. AUTOSAR and SysML – A Natural Fit? Andreas Korff1 1: ARTiSAN Software Tools GmbH, Eupener Str. 135-137, D-50933 Köln, [email protected] Abstract: This paper should give some ideas on how the UML 2 and the SysML can help defining the 2. AUTOSAR different AUTOSAR artifacts and later applying the specified AUTOSAR part to real implementations. 2.1 The AUTOSAR Initiative The AUTOSAR definitions are currently being In July 2003 the AUTOSAR (AUTomotive Open defined on top of the UML 2.0. In parallel, the OMG System ARchitecture) partnership was formally started in 2003 a Request for Proposal to define a launched by its core partners: BMW Group, Bosch, UML-based visual modeling language for Systems Continental, DaimlerChrysler, Siemens VDO and Engineering.
    [Show full text]