Customizing and Extending Powerdesigner SAP Powerdesigner Documentation Collection Content

Total Page:16

File Type:pdf, Size:1020Kb

Customizing and Extending Powerdesigner SAP Powerdesigner Documentation Collection Content User Guide PUBLIC SAP PowerDesigner Document Version: 16.6.2 – 2017-01-05 Customizing and Extending PowerDesigner SAP PowerDesigner Documentation Collection Content 1 PowerDesigner Resource Files.................................................... 9 1.1 Opening Resource Files in the Editor.................................................10 1.2 Navigating and Searching in Resource Files............................................ 11 1.3 Editing Resource Files........................................................... 13 1.4 Saving Changes................................................................13 1.5 Sharing and Embedding Resource Files...............................................13 1.6 Creating and Copying Resource Files.................................................14 1.7 Specifying Directories to Search for Resource Files.......................................15 1.8 Comparing Resource Files........................................................ 15 1.9 Merging Resource Files.......................................................... 16 2 Extension Files................................................................18 2.1 Creating an Extension File.........................................................19 2.2 Attaching Extensions to a Model....................................................20 2.3 Exporting an Embedded Extension File for Sharing.......................................21 2.4 Extension File Properties......................................................... 21 2.5 Example: Adding a New Attribute from a Property Sheet...................................23 2.6 Example: Creating Robustness Diagram Extensions......................................24 Creating New Types of Objects with Stereotypes......................................25 Specifying Custom Symbols for Robustness Objects...................................27 Example: Creating Custom Checks on Instance Links.................................. 28 Example: Defining Templates to Extract Message Descriptions............................33 Example: Creating a Generated File for the Message Information.......................... 35 Example: Testing the Robustness Extensions........................................37 2.7 Metaclasses (Profile)............................................................39 Extended Objects, Sub-Objects, and Links (Profile)....................................42 2.8 Stereotypes (Profile)............................................................43 Creating New Metaclasses with Stereotypes.........................................46 2.9 Criteria (Profile)............................................................... 47 2.10 Extended Attributes (Profile)......................................................48 Calculated Attribute Scripts.................................................... 52 Creating an Extended Attribute Type..............................................54 Specifying Icons for Attribute Values..............................................55 Linking Objects Through Extended Attributes........................................57 Aggregating Attribute Values with Aggregated Metrics..................................57 2.11 Extended Collections and Compositions (Profile)........................................58 2.12 Calculated Collections (Profile).....................................................61 Customizing and Extending PowerDesigner 2 PUBLIC Content 2.13 Dependency Matrices (Profile).....................................................63 Specifying Advanced Dependencies...............................................66 2.14 Forms (Profile)................................................................67 Adding Extended Attributes and Other Controls to Your Form............................ 69 Example: Creating Common Form Controls......................................... 73 Example: Creating a Property Sheet Tab............................................75 Example: Including a Form in a Form.............................................. 78 Example: Opening a Dialog from a Property Sheet.....................................81 2.15 Custom Symbols (Profile)........................................................ 84 2.16 Custom Checks (Profile)......................................................... 86 Example: PDM Custom Check...................................................88 Example: PDM Autofix........................................................ 88 2.17 Event Handlers (Profile)..........................................................90 Example: Setting Default Property Values...........................................94 2.18 Methods (Profile).............................................................. 95 2.19 Menus (Profile)................................................................96 Example: Opening a Dialog Box from a Menu.........................................98 2.20 Templates (Profile)............................................................100 2.21 Generated Files (Profile).........................................................101 Example: JavaGenerated File and Templates........................................103 Generating Your Files in a Standard or Extended Generation.............................105 2.22 Transformations (Profile)........................................................107 Transformation Profiles (Profile)................................................ 109 Developing Transformation Scripts...............................................110 2.23 XML Imports (Profile)...........................................................111 XML Import Mappings........................................................112 Metamodel Mapping Properties................................................. 116 Metamodel Object Properties...................................................117 2.24 Object Generations (Profile)...................................................... 118 Model-to-Model Generation Mappings.............................................119 2.25 Chart Datasets (Profile).........................................................120 EA Example Charts..........................................................122 2.26 Global Script (Profile)...........................................................126 3 Object, Process, and XML Language Definition Files.................................. 127 3.1 Settings Category: Process Language...............................................129 3.2 Settings Category: Object Language.................................................131 3.3 Settings Category: XML Language..................................................132 3.4 Generation Category........................................................... 132 Example: Adding a Generation Option.............................................133 Example: Adding a Generation Command and Task...................................135 3.5 Profile Category (Definition Files).................................................. 138 Customizing and Extending PowerDesigner Content PUBLIC 3 4 DBMS Definition Files.........................................................139 4.1 Triggers Templates, Trigger Template Items, and Procedure Templates.......................140 4.2 Database Generation and Reverse Engineering.........................................140 Script Generation........................................................... 141 Script Reverse Engineering.................................................... 144 Live Database Generation..................................................... 145 Live Database Reverse Engineering.............................................. 146 Defining Generation and Reverse-Engineering of New Metaclasses........................153 Adding Scripts Before or After Generation and Reverse Engineering....................... 154 4.3 General Category (DBMS)........................................................154 4.4 Script/Sql Category (DBMS)......................................................155 Syntax Category (DBMS)......................................................155 Format Category (DBMS)..................................................... 156 File Category (DBMS)........................................................158 Keywords Category (DBMS)................................................... 159 4.5 Script/Objects Category (DBMS)...................................................161 Common Object Items........................................................163 Table Category (DBMS).......................................................167 Column Category (DBMS)..................................................... 171 Index Category (DBMS).......................................................178 Pkey Category (DBMS)....................................................... 181 Key Category (DBMS)........................................................182 Reference Category (DBMS)...................................................184 View Category (DBMS).......................................................187 Tablespace Category (DBMS).................................................. 189 Storage Category (DBMS).....................................................189 Database Category (DBMS)....................................................190 Domain Category (DBMS).....................................................191 Abstract Data Type Category (DBMS).............................................192 Abstract Data Type Attribute Category (DBMS)......................................194 User Category (DBMS).......................................................195
Recommended publications
  • IPBES Workshop on Biodiversity and Pandemics Report
    IPBES Workshop on Biodiversity and Pandemics WORKSHOP REPORT *** Strictly Confidential and Embargoed until 3 p.m. CET on 29 October 2020 *** Please note: This workshop report is provided to you on condition of strictest confidentiality. It must not be shared, cited, referenced, summarized, published or commented on, in whole or in part, until the embargo is lifted at 3 p.m. CET/2 p.m. GMT/10 a.m. EDT on Thursday, 29 October 2020 This workshop report is released in a non-laid out format. It will undergo minor editing before being released in a laid-out format. Intergovernmental Platform on Biodiversity and Ecosystem Services 1 The IPBES Bureau and Multidisciplinary Expert Panel (MEP) authorized a workshop on biodiversity and pandemics that was held virtually on 27-31 July 2020 in accordance with the provisions on “Platform workshops” in support of Plenary- approved activities, set out in section 6.1 of the procedures for the preparation of Platform deliverables (IPBES-3/3, annex I). This workshop report and any recommendations or conclusions contained therein have not been reviewed, endorsed or approved by the IPBES Plenary. The workshop report is considered supporting material available to authors in the preparation of ongoing or future IPBES assessments. While undergoing a scientific peer-review, this material has not been subjected to formal IPBES review processes. 2 Contents 4 Preamble 5 Executive Summary 12 Sections 1 to 5 14 Section 1: The relationship between people and biodiversity underpins disease emergence and provides opportunities
    [Show full text]
  • Windows Command Prompt Cheatsheet
    Windows Command Prompt Cheatsheet - Command line interface (as opposed to a GUI - graphical user interface) - Used to execute programs - Commands are small programs that do something useful - There are many commands already included with Windows, but we will use a few. - A filepath is where you are in the filesystem • C: is the C drive • C:\user\Documents is the Documents folder • C:\user\Documents\hello.c is a file in the Documents folder Command What it Does Usage dir Displays a list of a folder’s files dir (shows current folder) and subfolders dir myfolder cd Displays the name of the current cd filepath chdir directory or changes the current chdir filepath folder. cd .. (goes one directory up) md Creates a folder (directory) md folder-name mkdir mkdir folder-name rm Deletes a folder (directory) rm folder-name rmdir rmdir folder-name rm /s folder-name rmdir /s folder-name Note: if the folder isn’t empty, you must add the /s. copy Copies a file from one location to copy filepath-from filepath-to another move Moves file from one folder to move folder1\file.txt folder2\ another ren Changes the name of a file ren file1 file2 rename del Deletes one or more files del filename exit Exits batch script or current exit command control echo Used to display a message or to echo message turn off/on messages in batch scripts type Displays contents of a text file type myfile.txt fc Compares two files and displays fc file1 file2 the difference between them cls Clears the screen cls help Provides more details about help (lists all commands) DOS/Command Prompt help command commands Source: https://technet.microsoft.com/en-us/library/cc754340.aspx.
    [Show full text]
  • TRSDOS 6.2 to LS-DOS 6.3.0 Manual Update
    LS-DOSÔ 6.3 UPDATE FOR TRSDOSâ 6.2.X The LS-DOS 6.3 release is an upgrade for the TRSDOS 6.2 operating system. Several important changes have been made to extend and enhance the operating system and its utilities. The date ranging has been expanded to accept dates through the year 1999. Files will now carry a modification time as well as a date. The DATECONV/CMD program is provided to translate version 6.2 or earlier disks to the 6.3 style dating. The user password has been eliminated from the system. The owner password still remains. The library command ID was added to display a customer service number. Several enhancements have been made to BASIC. The new DISKCOPY/CMD program will duplicate 5" double density floppy disks. Because the LS-DOS 6.3 update is a series of enhancements to TRSDOS 6.2, the primary documentation remains the 6.2 manual and Technical Reference manual. If you have a version of TRSDOS earlier than 6.2, you can obtain the manuals from Radio Shack under the catalog numbers 26-0316 (TRSDOS Version 6 [6.2 DOS manual and disk]), 26-2110 (Model 4/4D [6.2] Technical Reference Manual), or 26-1117 (6.2 DOS manual only). This documentation should be treated as an addendum to the TRSDOS 6.2 information. LS-DOS 6.3 installation instructions Before performing the upgrade, it is recommended that you make several backup copies of the 6.3 master disk. The simplest way to do this is to boot your system using the 6.3 diskette, insert a blank diskette to receive the copy in drive 1, and type the command: DISKCOPY :0 :1 When the copy finishes, you can insert another destination diskette and make another copy.
    [Show full text]
  • Powerdesigner 16.6 Data Modeling
    SAP® PowerDesigner® Document Version: 16.6 – 2016-02-22 Data Modeling Content 1 Building Data Models ...........................................................8 1.1 Getting Started with Data Modeling...................................................8 Conceptual Data Models........................................................8 Logical Data Models...........................................................9 Physical Data Models..........................................................9 Creating a Data Model.........................................................10 Customizing your Modeling Environment........................................... 15 1.2 Conceptual and Logical Diagrams...................................................26 Supported CDM/LDM Notations.................................................27 Conceptual Diagrams.........................................................31 Logical Diagrams............................................................43 Data Items (CDM)............................................................47 Entities (CDM/LDM)..........................................................49 Attributes (CDM/LDM)........................................................55 Identifiers (CDM/LDM)........................................................58 Relationships (CDM/LDM)..................................................... 59 Associations and Association Links (CDM)..........................................70 Inheritances (CDM/LDM)......................................................77 1.3 Physical Diagrams..............................................................82
    [Show full text]
  • Objects and Classes in Python Documentation Release 0.1
    Objects and classes in Python Documentation Release 0.1 Jonathan Fine Sep 27, 2017 Contents 1 Decorators 2 1.1 The decorator syntax.........................................2 1.2 Bound methods............................................3 1.3 staticmethod() .........................................3 1.4 classmethod() ..........................................3 1.5 The call() decorator.......................................4 1.6 Nesting decorators..........................................4 1.7 Class decorators before Python 2.6.................................5 2 Constructing classes 6 2.1 The empty class...........................................6 3 dict_from_class() 8 3.1 The __dict__ of the empty class...................................8 3.2 Is the doc-string part of the body?..................................9 3.3 Definition of dict_from_class() ...............................9 4 property_from_class() 10 4.1 About properties........................................... 10 4.2 Definition of property_from_class() ............................ 11 4.3 Using property_from_class() ................................ 11 4.4 Unwanted keys............................................ 11 5 Deconstructing classes 13 6 type(name, bases, dict) 14 6.1 Constructing the empty class..................................... 14 6.2 Constructing any class........................................ 15 6.3 Specifying __doc__, __name__ and __module__.......................... 15 7 Subclassing int 16 7.1 Mutable and immutable types.................................... 16 7.2
    [Show full text]
  • Writing Mathematical Expressions in Plain Text – Examples and Cautions Copyright © 2009 Sally J
    Writing Mathematical Expressions in Plain Text – Examples and Cautions Copyright © 2009 Sally J. Keely. All Rights Reserved. Mathematical expressions can be typed online in a number of ways including plain text, ASCII codes, HTML tags, or using an equation editor (see Writing Mathematical Notation Online for overview). If the application in which you are working does not have an equation editor built in, then a common option is to write expressions horizontally in plain text. In doing so you have to format the expressions very carefully using appropriately placed parentheses and accurate notation. This document provides examples and important cautions for writing mathematical expressions in plain text. Section 1. How to Write Exponents Just as on a graphing calculator, when writing in plain text the caret key ^ (above the 6 on a qwerty keyboard) means that an exponent follows. For example x2 would be written as x^2. Example 1a. 4xy23 would be written as 4 x^2 y^3 or with the multiplication mark as 4*x^2*y^3. Example 1b. With more than one item in the exponent you must enclose the entire exponent in parentheses to indicate exactly what is in the power. x2n must be written as x^(2n) and NOT as x^2n. Writing x^2n means xn2 . Example 1c. When using the quotient rule of exponents you often have to perform subtraction within an exponent. In such cases you must enclose the entire exponent in parentheses to indicate exactly what is in the power. x5 The middle step of ==xx52− 3 must be written as x^(5-2) and NOT as x^5-2 which means x5 − 2 .
    [Show full text]
  • Modeling Data Heritage with Sybase Powerdesigner®
    MODELING DATA HERITAGE WITH SYBASE POWERDESIGNER® THE ENTERPRISE. UNWIRED. WHITE PAPER Knowing where our data came from and where it is going is one of the most challenging aspects of managing today’s data center. As our systems become more integrated and interdependent, through replication, ware- housing and system integration efforts, the impact of a change on any data element can be huge. Having the ability to document, and then report on, data heritage, allows users to more effectively and efficiently predict the impact of a change, as well as streamline its implementation. Managing Data Heritage, the sources and targets of data, require a 21st century modeling tool like Sybase PowerDesigner. REQUIREMENTS FOR MANAGING DATA HERITAGE When managing data heritage, it is important to be able to clearly document the data elements (aliases, format, statistics and other quality indicators), document the sourcing information and target data systems information (including transformation rules), and stewardship information (who created and modified the data elements, security and access rights and history). Starting with the processes, users need to be able to trace to all data elements (and any interim elements) to all final implementation points. To achieve this, users need to document: ■ All data processes with business definitions and requirements ■ All data items at a conceptual level with business definitions and stewardship details ■ All physical data (Tables/Columns) with version history ■ All dependencies between source and target tables and columns A TOOLSET AND A SOLUTION: BUILDING BLOCKS FOR DATA HERITAGE To address these needs, PowerDesigner offers rich process modeling, data analysis and design techniques that capture and manage the dependency metadata needed to document data heritage.
    [Show full text]
  • PL/SQL Data Types
    PPLL//SSQQLL -- DDAATTAA TTYYPPEESS http://www.tutorialspoint.com/plsql/plsql_data_types.htm Copyright © tutorialspoint.com PL/SQL variables, constants and parameters must have a valid data type, which specifies a storage format, constraints, and valid range of values. This tutorial will take you through SCALAR and LOB data types available in PL/SQL and other two data types will be covered in other chapters. Category Description Scalar Single values with no internal components, such as a NUMBER, DATE, or BOOLEAN. Large Object LOB Pointers to large objects that are stored separately from other data items, such as text, graphic images, video clips, and sound waveforms. Composite Data items that have internal components that can be accessed individually. For example, collections and records. Reference Pointers to other data items. PL/SQL Scalar Data Types and Subtypes PL/SQL Scalar Data Types and Subtypes come under the following categories: Date Type Description Numeric Numeric values on which arithmetic operations are performed. Character Alphanumeric values that represent single characters or strings of characters. Boolean Logical values on which logical operations are performed. Datetime Dates and times. PL/SQL provides subtypes of data types. For example, the data type NUMBER has a subtype called INTEGER. You can use subtypes in your PL/SQL program to make the data types compatible with data types in other programs while embedding PL/SQL code in another program, such as a Java program. PL/SQL Numeric Data Types and Subtypes Following
    [Show full text]
  • How Many Bits Are in a Byte in Computer Terms
    How Many Bits Are In A Byte In Computer Terms Periosteal and aluminum Dario memorizes her pigeonhole collieshangie count and nagging seductively. measurably.Auriculated and Pyromaniacal ferrous Gunter Jessie addict intersperse her glockenspiels nutritiously. glimpse rough-dries and outreddens Featured or two nibbles, gigabytes and videos, are the terms bits are in many byte computer, browse to gain comfort with a kilobyte est une unité de armazenamento de armazenamento de almacenamiento de dados digitais. Large denominations of computer memory are composed of bits, Terabyte, then a larger amount of nightmare can be accessed using an address of had given size at sensible cost of added complexity to access individual characters. The binary arithmetic with two sets render everything into one digit, in many bits are a byte computer, not used in detail. Supercomputers are its back and are in foreign languages are brainwashed into plain text. Understanding the Difference Between Bits and Bytes Lifewire. RAM, any sixteen distinct values can be represented with a nibble, I already love a Papst fan since my hybrid head amp. So in ham of transmitting or storing bits and bytes it takes times as much. Bytes and bits are the starting point hospital the computer world Find arrogant about the Base-2 and bit bytes the ASCII character set byte prefixes and binary math. Its size can vary depending on spark machine itself the computing language In most contexts a byte is futile to bits or 1 octet In 1956 this leaf was named by. Pages Bytes and Other Units of Measure Robelle. This function is used in conversion forms where we are one series two inputs.
    [Show full text]
  • Automatically Adapting Programs for Mixed-Precision Floating-Point Computation
    Automatically Adapting Programs for Mixed-Precision Floating-Point Computation Michael O. Lam and Bronis R. de Supinski and Jeffrey K. Hollingsworth Matthew P. LeGendre Dept. of Computer Science Center for Applied Scientific Computing University of Maryland Lawrence Livermore National Laboratory College Park, MD, USA Livermore, CA, USA [email protected], [email protected] [email protected], [email protected] ABSTRACT IEEE standard provides for different levels of precision by As scientific computation continues to scale, efficient use of varying the field width, with the most common widths being floating-point arithmetic processors is critical. Lower preci- 32 bits (\single" precision) and 64 bits (\double" precision). sion allows streaming architectures to perform more opera- Figure 1 graphically represents these formats. tions per second and can reduce memory bandwidth pressure Double-precision arithmetic generally results in more ac- on all architectures. However, using a precision that is too curate computations, but with several costs. The main cost low for a given algorithm and data set leads to inaccurate re- is the higher memory bandwidth and storage requirement, sults. In this paper, we present a framework that uses binary which are twice that of single precision. Another cost is instrumentation and modification to build mixed-precision the reduced opportunity for parallelization, such as on the configurations of existing binaries that were originally devel- x86 architecture, where packed 128-bit XMM registers can oped to use only double-precision. This framework allows only hold and operate on two double-precision numbers si- developers to explore mixed-precision configurations with- multaneously compared to four numbers with single preci- out modifying their source code, and it enables automatic sion.
    [Show full text]
  • New Features Summary SAP Powerdesigner Documentation Collection Company
    USER GUIDE | PUBLIC SAP PowerDesigner Document Version: 16.7.00 – 2020-04-03 New Features Summary SAP PowerDesigner Documentation Collection company. All rights reserved. All rights company. affiliate THE BEST RUN 2020 SAP SE or an SAP SE or an SAP SAP 2020 © Content 1 New Features v16.7...........................................................3 2 New Features v16.6 SP10...................................................... 5 3 New Features v16.6 SP09......................................................7 4 New Features v16.6 SP08......................................................9 5 New Features v16.6 SP07......................................................11 6 New Features v16.6 SP06.....................................................15 7 New Features v16.6 SP05..................................................... 18 7.1 New PowerDesigner Web Features v16.6 SP05........................................18 7.2 New Requirements Model Features v16.6 SP05.......................................19 7.3 New Enterprise Architecture Model Features v16.6 SP05.................................19 7.4 New Business Process Model Features v16.6 SP05.....................................21 7.5 New Data Model Features v16.6 SP05..............................................21 8 New Features v16.6 SP04.....................................................23 8.1 New Web Client Features.......................................................23 8.2 New Desktop Client Features....................................................29 9 New Features v16.6 SP03....................................................
    [Show full text]
  • Programming Curriculum
    PARC VLP PROGRAMMING CURRICULUM WWW.PARCROBOTICS.ORG Overview Study of programming languages, paradigms and data structures. Chapter 1: Programming Basics Sections A. What is programming? B. What is a programming language? C. Writing source code D. Running your code E. Using IDE Chapter 2: Programming Syntax Sections A. Why Python?A. Why Python? B. Basic statementsB. Basic statements and expressions and expressions C. Troubleshooting issues C. Troubleshooting issues Chapter 3: Variables and Data Types Sections A. IntroductionA. to Introductionvariables and to data variables types and data types B. WorkingB.W withorking variables with variables across Languages across Languages C. Working with numbers C. Working with numbers D. Working with strings E. WorkingD. with commentsWorking with strings E. Working with comments Chapter 4: Conditional Code Sections: A. Making decisions in code B. Exploring conditional code C. Working with simple conditions D. Conditionals across languages PAN-AFRICAN ROBOTICS COMPETITION 1 Chapter 1 SECTION A What is programming? Programming is the process of converting ideas into instructions that a computer can understand and execute. These instructions are specific and sequential. You can think of it as a recipe. Let's you want to prepare your favorite food; you would need first a list of ingredients and then a set of instructions as to which ingredients go in first. If you have ever cooked before or watched someone cook before you will know that the amount of each ingredient can dramatically affect the outcome. Computers are very literal. They try to execute our commands exactly. When we give them bad instructions, we might introduce bugs or even make the computer crash.
    [Show full text]