
Template UML Profile and Modeling Guide V2.2.2 R3.1 Rev 0001 Document Title Template UML Profile and Modeling Guide Document Owner AUTOSAR GbR Document Responsibility AUTOSAR GbR Document Identification No 121 Document Classification Auxiliary Document Version 2.2.2 Document Status Final Part of Release 3.1 Revision 0001 Document Change History Date Version Changed by Change Description 15.08.2008 2.2.2 AUTOSAR Layout adaptations Administration 23.06.2008 2.2.1 AUTOSAR Legal disclaimer revised Administration 20.12.2007 2.2.0 AUTOSAR • Removed stereotype Administration <<atpIdentifiable>> • Added stereotypes <<import>> • Refined stereotypes <<instanceRef…> • Optimized consistency of document • Added concept for documentation of model evolution • Added stereotype <<splitable>> • Document meta information extended • Small layout adaptations made 31.01.2007 2.1.0 AUTOSAR • Detailed modeling of instanceRefs and Administration indexedRefs added • Example on instanceRefs added • Legal disclaimer revised • Release Notes added • “Advice for users” revised • “Revision Information” added 1 of 86 Document ID 121:AUTOSAR_TemplateModelingGuide - AUTOSAR Confidential - Template UML Profile and Modeling Guide V2.2.2 R3.1 Rev 0001 18.10.2005 2.0.0 AUTOSAR • Formal reorganization of document Administration • Alignment with UML2 • Formal UML profile • Extraction of common patterns into separate document • Methodology added for model subset specification 09.05.2005 1.0.0 AUTOSAR Initial release Administration Page left intentionally blank 2 of 86 Document ID 121:AUTOSAR_TemplateModelingGuide - AUTOSAR confidential - Template UML Profile and Modeling Guide V2.2.2 R3.1 Rev 0001 Disclaimer This document of a specification as released by the AUTOSAR Development Partnership is intended for the purpose of information only. The commercial exploitation of material contained in this specification requires membership of the AUTOSAR Development Partnership or an agreement with the AUTOSAR Development Partnership. The AUTOSAR Development Partnership will not be liable for any use of this specification. Following the completion of the development of the AUTOSAR specifications commercial exploitation licenses will be made available to end users by way of written License Agreement only. No part of this publication may be reproduced or utilized in any form or by any means, electronic or mechanical, including photocopying and microfilm, without per- mission in writing from the publisher." The word AUTOSAR and the AUTOSAR logo are registered trademarks. Copyright © 2004-2008 AUTOSAR Development Partnership. All rights reserved. Advice to users of AUTOSAR Specification Documents: AUTOSAR Specification Documents may contain exemplary items (exemplary reference models, "use cases", and/or references to exemplary technical solutions, devices, processes or software). Any such exemplary items are contained in the Specification Documents for illustration purposes only, and they themselves are not part of the AUTOSAR Standard. Neither their presence in such Specification Documents, nor any later documentation of AUTOSAR conformance of products actually implementing such exemplary items, imply that intellectual property rights covering such exemplary items are licensed under the same rules as applicable to the AUTOSAR Standard. 3 of 86 AUTOSAR_TemplateModelingGuide - AUTOSAR confidential - Template UML Profile and Modeling Guide V2.2.2 R3.1 Rev 0001 Table of Contents 1 Introduction ....................................................................................................... 7 1.1 Origins and Goals ............................................................................................ 7 1.2 Document Guide.............................................................................................. 8 1.3 Terminology ..................................................................................................... 8 1.3.1 Terms ....................................................................................................... 8 1.3.2 UML Diagrams.......................................................................................... 9 1.3.3 Profile Classes........................................................................................ 10 1.3.4 Specification Items.................................................................................. 10 2 Requirements Traceability.............................................................................. 11 3 AUTOSAR Template Models at a Glance (informative)................................ 12 3.1 Scope............................................................................................................. 12 3.2 Usage of Packages........................................................................................ 12 3.3 Classes and Attributes................................................................................... 12 3.4 Enumerations................................................................................................. 13 3.5 Associations and Composite Aggregations.................................................... 13 3.6 Dependencies................................................................................................ 14 3.7 Types and Prototypes.................................................................................... 14 3.8 Structure Elements ........................................................................................ 20 3.9 Constraints..................................................................................................... 22 3.10 Metamodel Evolution ..................................................................................... 22 4 Alignment with UML and MOF........................................................................ 23 5 UML Profile for AUTOSAR Templates ........................................................... 25 5.1 Supported Modeling Constructs..................................................................... 25 5.2 UML Profile Specification............................................................................... 26 5.2.1 Classes................................................................................................... 26 5.2.2 Class Attributes....................................................................................... 29 5.2.3 Mixed Content......................................................................................... 32 5.2.4 Types, Prototypes, and Structure Elements ........................................... 33 5.2.5 Associations ........................................................................................... 35 5.2.6 IsOfType Association.............................................................................. 38 5.2.7 IndexedRef Association .......................................................................... 39 5.2.8 InstanceRef Association ......................................................................... 40 5.2.8.1 Detailed Representation of InstanceRef Association....................... 40 5.2.8.2 Short Representation of InstanceRef Association ........................... 45 5.2.8.3 ............................................................................................................... 46 5.2.8.4 Constraints on instanceRef associations......................................... 46 5.2.9 Constraints ............................................................................................. 50 5.2.10 Dependencies......................................................................................... 52 5.2.11 Packages................................................................................................ 53 5.2.12 Primitive Types ....................................................................................... 55 5.2.13 Enumerations.......................................................................................... 58 4 of 86 Document ID 121:AUTOSAR_TemplateModelingGuide - AUTOSAR confidential - Template UML Profile and Modeling Guide V2.2.2 R3.1 Rev 0001 5.2.14 Tagged Values........................................................................................ 58 5.2.15 Splitable attributes, associations and aggregations................................ 58 5.3 Summary ....................................................................................................... 60 6 Conventions..................................................................................................... 63 6.1 Naming Conventions...................................................................................... 63 6.1.1 Language................................................................................................ 63 6.1.2 Model Element Names ........................................................................... 63 6.1.3 Class Names .......................................................................................... 63 6.1.4 Diagram Names...................................................................................... 64 6.2 Modeling Conventions ................................................................................... 64 6.2.1 Unambiguous Models ............................................................................. 64 6.2.2 Abstract Classes..................................................................................... 64 6.2.3 Enumerations.......................................................................................... 64 6.2.4 Class Attributes vs.
Details
-
File Typepdf
-
Upload Time-
-
Content LanguagesEnglish
-
Upload UserAnonymous/Not logged-in
-
File Pages86 Page
-
File Size-