ISO/IEC 19505-1:2012
(Main)Information technology — Object Management Group Unified Modeling Language (OMG UML) — Part 1: Infrastructure
Information technology — Object Management Group Unified Modeling Language (OMG UML) — Part 1: Infrastructure
ISO/IEC 19505-1:2012 defines the Unified Modeling Language (UML), revision 2. The objective of UML is to provide system architects, software engineers, and software developers with tools for analysis, design, and implementation of software-based systems as well as for modeling business and similar processes.
Technologies de l'information — Langage de modélisation unifié OMG (OMG UML) — Partie 1: Infrastructure
General Information
Standards Content (Sample)
INTERNATIONAL ISO/IEC
STANDARD 19505-1
First edition
2012-04-15
Information technology — Object
Management Group Unified Modeling
Language (OMG UML) —
Part 1:
Infrastructure
Technologies de l'information — Langage de modélisation unifié OMG
(OMG UML) —
Partie 1: Infrastructure
Reference number
ISO/IEC 19505-1:2012(E)
©
ISO/IEC 2012
---------------------- Page: 1 ----------------------
ISO/IEC 19505-1:2012(E)
COPYRIGHT PROTECTED DOCUMENT
© ISO/IEC 2012
All rights reserved. Unless otherwise specified, 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 permission in writing from either ISO at the address below or
ISO's member body in the country of the requester.
ISO copyright office
Case postale 56 CH-1211 Geneva 20
Tel. + 41 22 749 01 11
Fax + 41 22 749 09 47
E-mail copyright@iso.org
Web www.iso.org
Published in Switzerland
ii © ISO/IEC 2012 – All rights reserved
---------------------- Page: 2 ----------------------
ISO/IEC 19505-1:2012(E)
Table of Contents
1. Scope . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
2. Conformance . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
2.1 General . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1
2.2 Language Units . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2
2.3 Compliance Levels . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2
2.4 Meaning and Types of Compliance . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3
2.5 Compliance Level Contents . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .5
3. Normative References . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
4. Terms and Definitions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
5. Notational Conventions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
6. Additional Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
6.1 Architectural Alignment and MDA Support . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .6
6.2 How to Proceed . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .6
6.2.1 Diagram format . 7
7. Language Architecture . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
7.1 General . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .13
7.2 Design Principles . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .13
7.3 Infrastructure Architecture . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .13
7.4 Core . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .14
7.5 Profiles . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .16
7.6 Architectural Alignment between UML and MOF . . . . . . . . . . . . . . . . . . . . . . . . .16
7.7 Superstructure Architecture . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .17
7.8 Reusing Infrastructure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .18
7.9 The Kernel Package . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .18
7.10 Metamodel Layering . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .18
7.11 The Four-layer Metamodel Hierarchy . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .19
© ISO/IEC 2012 - All rights reserved iii
---------------------- Page: 3 ----------------------
ISO/IEC 19505-1:2012(E)
7.12 Metamodeling . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .19
7.13 An Example of the Four-level Metamodel Hierarchy . . . . . . . . . . . . . . . . . . . . . .20
8. Language Formalism . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .23
8.1 General . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .23
8.2 Levels of Formalism . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .23
8.3 Package Specification Structure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .24
8.3.1 Class Descriptions . 24
8.3.2 Diagrams . 24
8.3.3 Instance Model . 24
8.4 Class Specification Structure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .24
8.4.1 Description . 25
8.4.2 Attributes . 25
8.4.3 Associations . 25
8.4.4 Constraints . 25
8.4.5 Additional Operations (optional) .25
8.4.6 Semantics . 25
8.4.7 Semantic Variation Points (optional) . 25
8.4.8 Notation . 26
8.4.9 Presentation Options (optional) .26
8.4.10 Style Guidelines (optional) . 26
8.4.11 Examples (optional) . 26
8.4.12 Rationale (optional) . 26
8.4.13 Changes from UML 1.4 . 26
8.5 Use of a Constraint Language . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .26
8.6 Use of Natural Language . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .27
8.7 Conventions and Typography . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .27
9. Core::Abstractions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .31
9.1 BehavioralFeatures Package . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .33
9.1.1 BehavioralFeature . 33
9.2 Parameter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .34
9.3 Changeabilities Package . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .35
9.3.1 StructuralFeature (as specialized) . 36
9.4 Classifiers Package . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .36
9.4.1 Classifier . 37
9.4.2 Feature . 38
9.5 Comments Package . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .39
9.5.1 Comment . 39
9.5.2 Element . 40
iv © ISO/IEC 2012 - All rights reserved
---------------------- Page: 4 ----------------------
ISO/IEC 19505-1:2012(E)
9.6 Constraints Package . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .41
9.6.1 Constraint . 42
9.6.2 Namespace (as specialized) .45
9.7 Elements Package . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .46
9.7.1 Element . 46
9.8 Expressions Package . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .47
9.8.1 Expression . 47
9.8.2 OpaqueExpression . 48
9.8.3 ValueSpecification . 49
9.9 Generalizations Package . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .51
9.9.1 Classifier (as specialized) . 52
9.9.2 Generalization . 53
9.10 Instances Package . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .54
9.10.1 InstanceSpecification . 55
9.10.2 InstanceValue . 58
9.10.3 Slot . 59
9.11 Literals Package . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .60
9.11.1 LiteralBoolean . 60
9.11.2 LiteralInteger . 61
9.11.3 LiteralNull . 62
9.11.4 LiteralReal . 63
9.11.5 LiteralSpecification . 64
9.11.6 LiteralString . 64
9.11.7 LiteralUnlimitedNatural . 65
9.12 Multiplicities Package . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .66
9.12.1 MultiplicityElement . 67
9.13 MultiplicityExpressions Package . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .70
9.13.1 MultiplicityElement (specialized) .71
9.14 Namespaces Package . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .73
9.14.1 NamedElement . 73
9.14.2 Namespace . 75
9.15 Ownerships Package . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .76
9.15.1 Element (as specialized) . 77
9.16 Redefinitions Package . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .78
9.16.1 RedefinableElement . 79
9.17 Relationships Package . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .81
9.17.1 DirectedRelationship . 81
9.17.2 Relationship . 82
9.18 StructuralFeatures Package . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .83
© ISO/IEC 2012 - All rights reserved v
---------------------- Page: 5 ----------------------
ISO/IEC 19505-1:2012(E)
9.18.1 StructuralFeature . 83
9.19 Super Package . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .84
9.19.1 Classifier (as specialized) . 85
9.20 TypedElements Package . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .87
9.20.1 Type . 88
9.20.2 TypedElement . 89
9.21 Visibilities Package . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .89
9.21.1 NamedElement (as specialized) . 90
9.21.2 VisibilityKind . 91
10. Core::Basic . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .93
10.1 General . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .93
10.2 Types Diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .94
10.2.1 Comment . 94
10.2.2 Element . 95
10.2.3 NamedElement . 95
10.2.4 Type . 96
10.2.5 TypedElement . 96
10.3 Classes Diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .97
10.3.1 Class . 97
10.3.2 MultiplicityElement . 98
10.3.3 Operation . 99
10.3.4 Parameter . 99
10.3.5 Property . 100
10.4 DataTypes Diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .101
10.4.1 DataType . 101
10.4.2 Enumeration . 102
10.4.3 EnumerationLiteral . 102
10.4.4 PrimitiveType . 103
10.5 Packages Diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .103
10.5.1 Package . 103
10.5.2 Type . 104
11. Core::Constructs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .105
11.1 General . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .105
11.2 Root Diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .106
11.2.1 Comment . 107
11.2.2 DirectedRelationship . 108
11.2.3 Element . 108
11.2.4 Relationship . 109
11.3 Expressions Diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .110
vi © ISO/IEC 2012 - All rights reserved
---------------------- Page: 6 ----------------------
ISO/IEC 19505-1:2012(E)
11.3.1 Expression . 110
11.3.2 OpaqueExpression . 111
11.3.3 ValueSpecification . 111
11.4 Classes Diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .112
11.4.1 Association . 113
11.4.2 Class . 120
11.4.3 Classifier . 123
11.4.4 Operation . 126
11.4.5 Property . 126
11.5 Classifiers Diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .131
11.5.1 Classifier . 132
11.5.2 Feature . 133
11.5.3 MultiplicityElement . 134
11.5.4 RedefinableElement . 134
11.5.5 StructuralFeature . 135
11.5.6 Type . 136
11.5.7 TypedElement . 137
11.6 Constraints Diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .137
11.6.1 Constraint . 138
11.6.2 Namespace . 139
11.7 DataTypes Diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .139
11.7.1 DataType . 140
11.7.2 Enumeration . 141
11.7.3 EnumerationLiteral . 143
11.7.4 Operation . 144
11.7.5 PrimitiveType . 144
11.7.6 Property . 145
11.8 Namespaces Diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .146
11.8.1 ElementImport . 146
11.8.2 NamedElement . 149
11.8.3 Namespace . 150
11.8.4 PackageableElement .151
11.8.5 PackageImport . 152
11.9 Operations Diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .153
11.9.1 BehavioralFeature . 154
11.9.2 Operation . 156
11.9.3 Parameter . 159
11.9.4 ParameterDirectionKind . 160
11.10 Packages Diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .161
11.10.1 Type . 161
11.10.2 Package . 162
11.10.3 PackageMerge . 165
12. Core::Profiles . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 175
© ISO/IEC 2012 - All rights reserved vii
---------------------- Page: 7 ----------------------
ISO/IEC 19505-1:2012(E)
12.1 General . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .175
12.2 Profiles package . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .177
12.2.1 Class (from Profiles) . 178
12.2.2 Extension (from Profiles) . 179
12.2.3 ExtensionEnd (from Profiles) . 182
12.2.4 Image (from Profiles) . 183
12.2.5 Package (from Profiles) . 184
12.2.6 PackageableElement (from Profiles) . 186
12.2.7 Profile (from Profiles) . 186
12.2.8 ProfileApplication (from Profiles) . 193
12.2.9 Stereotype (from Profiles) . 194
13. PrimitiveTypes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .203
13.1 General . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .203
13.2 PrimitiveTypes Package . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .203
13.2.1 Boolean . 203
13.2.2 Integer . 204
13.2.3 Real . 205
13.2.4 String . 206
13.2.5 UnlimitedNatural . 207
Subpart III - Annexes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 209
Annex A: XMI Serialization and Schema . . . . . . . . . . . . . . . . . . . . . . . . . . . .211
Annex B: Support for Model Driven Architecture . . . . . . . . . . . . . . . . . . . .213
Annex C: UML XMI Documents . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .215
INDEX . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .217
viii © ISO/IEC 2012 - All rights reserved
---------------------- Page: 8 ----------------------
ISO/IEC 19505-1:2012(E)
Foreword
ISO (the International Organization for Standardization) is a worldwide federation of national standards bodies (ISO
member bodies). The work of preparing International Standards is normally carried out through ISO technical
committees. Each member body interested in a subject for which a technical committee has been established has the right
to be represented on that committee. International organizations, governmental and non-governmental, in liaison with
ISO, also take part in the work. ISO collaborates closely with the International Electrotechnical Commission (IEC) on all
matters of electrotechnical standardization.
International Standards are drafted in accordance with the rules given in the ISO/IEC Directives, Part 2.
The main task of technical committees is to prepare International Standards. Draft International Standards adopted by the
t
...
Questions, Comments and Discussion
Ask us and Technical Secretary will try to provide an answer. You can facilitate discussion about the standard in here.