Altova Umodel 2019 User & Reference Manual
Total Page:16
File Type:pdf, Size:1020Kb
User and Reference Manual Altova UModel 2019 User & Reference Manual 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. Published: 2019 © 2019 Altova GmbH Table of Contents 1 UModel 3 2 Introducing UModel 6 2.1 Support Notes................................................................................................................. 7 3 UModel Tutorial 10 3.1 Getting Started................................................................................................................. 11 3.2 Use Cases................................................................................................................. 14 3.3 Class Diagrams................................................................................................................. 23 3.3.1 Creating................................................................................................... Derived Classes 31 3.4 Object Diagrams................................................................................................................. 37 3.5 Component................................................................................................................. Diagrams 44 3.6 Deployment................................................................................................................. Diagrams 50 3.7 Forward................................................................................................................. Engineering (from Model to Code) 55 3.8 Reverse................................................................................................................. Engineering (from Code to Model) 65 4 UModel Graphical User Interface 74 4.1 Model Tree................................................................................................................. Window 76 4.2 Diagram................................................................................................................. Tree Window 80 4.3 Favorites................................................................................................................. Window 81 4.4 Properties................................................................................................................. Window 82 4.5 Styles Window................................................................................................................. 83 4.6 Hierarchy................................................................................................................. Window 84 4.7 Overview................................................................................................................. Window 86 4.8 Documentation................................................................................................................. Window 87 4.9 Messages................................................................................................................. Window 88 4.10 Diagram................................................................................................................. Window 90 4.11 Diagram................................................................................................................. Pane 91 5 UModel Command Line Interface 94 Altova UModel 2019 1 5.1 Creating,................................................................................................................. Loading, and Saving Projects in Batch Mode 99 6 How to Model... 102 6.1 Elements................................................................................................................. 103 6.1.1 Creating................................................................................................... Elements 103 6.1.2 Inserting................................................................................................... Elements from the Model into a Diagram 104 6.1.3 Renaming,................................................................................................... Moving, and Copying Elements 105 6.1.4 Deleting................................................................................................... Elements 107 6.1.5 Finding ...................................................................................................and Replacing Text 108 6.1.6 Checking................................................................................................... Where and If Elements Are Used 109 6.1.7 Constraining................................................................................................... Elements 110 6.1.8 Hyperlinking................................................................................................... Elements 112 6.1.9 Documenting................................................................................................... Elements 114 6.1.10 Changing................................................................................................... the Style of Elements 115 6.2 Diagrams................................................................................................................. 117 6.2.1 Creating................................................................................................... Diagrams 117 6.2.2 Generating................................................................................................... Diagrams 118 6.2.3 Opening................................................................................................... Diagrams 120 6.2.4 Deleting................................................................................................... Diagrams 121 6.2.5 Changing................................................................................................... the Style of Diagrams 121 6.2.6 Aligning................................................................................................... and Resizing Modeling Elements 123 6.2.7 Type Autocompletion................................................................................................... in Classes 125 6.2.8 Zooming................................................................................................... into/out of Diagrams 127 6.3 Relationships................................................................................................................. 128 6.3.1 Creating................................................................................................... Relationships 128 6.3.2 Changing................................................................................................... the Style of Lines and Relationships 129 6.3.3 Viewing................................................................................................... Element Relationships 131 6.3.4 Associations................................................................................................... 131 6.3.5 Collection................................................................................................... Associations 134 6.3.6 Containment................................................................................................... 137 6.4 Stereotypes................................................................................................................. and Tagged Values 138 6.4.1 Tagged................................................................................................... Values 139 6.4.2 Applying................................................................................................... Stereotypes 140 6.4.3 Showing................................................................................................... or Hiding Tagged Values 142 7 Projects and Code Engineering 144 7.1 Managing................................................................................................................. UModel Projects 145 7.1.1 Creating,................................................................................................... Opening, and Saving Projects 145 2 Altova UModel 2019 7.1.2 Opening................................................................................................... Projects from a URL 146 7.1.3 Moving................................................................................................... Projects to a New Directory 150 7.1.4 Applying................................................................................................... UModel Profiles 151 7.1.5 Including................................................................................................... Subprojects 152 7.1.6 Sharing................................................................................................... Packages and Diagrams 153 7.1.7 Tips for..................................................................................................