UML 2.0 Infrastructure Specification

CODEDRAGON Development/UML

반응형

 

uml2_infrastructure_final_adopted_specification.pdf


UML 2.0 Infrastructure Specification

1 Scope .....................................................................................................................................1

2 Conformance .........................................................................................................................1

3 Normative References ...........................................................................................................3

4 Terms and Definitions ..........................................................................................................3

5 Symbols ..............................................................................................................................19

6 Additional information .......................................................................................................20

6.1 Changes to Adopted OMG Specifications ......................................................... 20

6.2 Architectural Alignment and MDA Support ........................................................ 20

6.3 How to Read this Specification ......................................................................... 20

6.4 Acknowledgments ............................................................................................. 20

Part I - Introduction .................................................................................................................22

7 Language Architecture ........................................................................................................23

7.1 Design Principles .............................................................................................. 23

7.2 Infrastructure Architecture ................................................................................. 23

7.2.1 Core ...................................................................................................................... 24

7.2.2 Profiles .................................................................................................................. 25

7.2.3 Architectural Alignment between UML and MOF .................................................. 26

7.2.4 Superstructure Architecture .................................................................................. 26

7.2.5 Reusing Infrastructure ........................................................................................... 27

7.2.6 The Kernel Package .............................................................................................. 27

7.2.7 Metamodel layering ............................................................................................... 28

7.2.8 The four-layer metamodel hierarchy ..................................................................... 28

7.2.9 Metamodeling ........................................................................................................ 29

7.2.10 An example of the four-level metamodel hierarchy ............................................. 30

8 Language Formalism ..........................................................................................................32

8.1 Levels of Formalism .......................................................................................... 32

8.1.1 Diagrams ...............................................................................................................33

8.1.2 Instance Model ...................................................................................................... 33

8.2 Class Specification Structure ............................................................................ 33

8.2.1 Description ............................................................................................................33

8.2.2 Associations .......................................................................................................... 34

8.2.3 Constraints ............................................................................................................34

8.2.4 Additional Operations (optional) ............................................................................ 34

8.2.5 Semantics ............................................................................................................. 34

8.2.6 Semantic Variation Points (optional) ..................................................................... 34

8.2.7 Notation ................................................................................................................. 35

8.2.8 Presentation Options (optional) ............................................................................. 35

8.2.9 Style Guidelines (optional) .................................................................................... 35

8.2.10 Examples (optional) ............................................................................................ 35

8.2.11 Rationale (optional) ............................................................................................. 35

8.2.12 Changes from UML 1.4 ....................................................................................... 35

8.3 Use of a Constraint Language ........................................................................... 35

8.4 Use of Natural Language .................................................................................. 36

8.5 Conventions and Typography ........................................................................... 36

Part II - Infrastructure Library ................................................................................................37

9 Core::Abstractions ..............................................................................................................39

9.1 BehavioralFeatures package ............................................................................. 40

9.1.1 BehavioralFeature ................................................................................................. 41

9.1.2 Parameter ............................................................................................................. 42

9.2 Changeabilities package ................................................................................... 43

9.2.1 ChangeabilityKind ................................................................................................. 43

9.2.2 StructuralFeature (as specialized) ........................................................................ 44

9.3 Classifiers package ........................................................................................... 45

9.3.1 Classifier ............................................................................................................... 45

9.3.2 Feature .................................................................................................................. 46

9.4 Comments package .......................................................................................... 47

9.4.1 Comment............................................................................................................... 47

9.4.2 Element (as specialized) ....................................................................................... 48

9.5 Constraints package .......................................................................................... 49

9.5.1 Constraint ..............................................................................................................50

9.5.2 Namespace (as specialized) ................................................................................. 52

9.6 Elements package ............................................................................................. 53

9.7 Expressions package ........................................................................................ 54

9.7.1 Expression ............................................................................................................ 54

9.7.2 OpaqueExpression ................................................................................................ 55

9.7.3 ValueSpecification ................................................................................................. 56

9.8 Generalizations package ................................................................................... 57

9.8.1 Classifier (as specialized) ..................................................................................... 58

9.8.2 Generalization ....................................................................................................... 59

9.9 Instances package ............................................................................................ 61

9.9.1 InstanceSpecification ............................................................................................ 62

9.9.2 InstanceValue ....................................................................................................... 64

9.9.3 Slot ........................................................................................................................ 65

9.10 Literals package .............................................................................................. 66

9.10.1 LiteralBoolean ..................................................................................................... 66

9.10.2 LiteralInteger ....................................................................................................... 67

9.10.3 LiteralNull ............................................................................................................68

9.10.4 LiteralSpecification .............................................................................................. 69

9.10.5 LiteralString .........................................................................................................69

9.10.6 LiteralUnlimitedNatural ........................................................................................ 70

9.11 Multiplicities package ...................................................................................... 71

9.11.1 MultiplicityElement .............................................................................................. 71

9.12 MultiplicityExpressions package ...................................................................... 74

9.12.1 MultiplicityElement (specialized) ......................................................................... 75

9.13 Namespaces package ..................................................................................... 76

9.13.1 NamedElement ................................................................................................... 77

9.13.2 Namespace ......................................................................................................... 78

9.14 Ownerships package ....................................................................................... 79

9.14.1 Element (as specialized) ..................................................................................... 80

9.15 Redefinitions package ..................................................................................... 81

9.15.1 RedefinableElement ............................................................................................ 82

9.16 Relationships package .................................................................................... 83

9.16.1 DirectedRelationship ........................................................................................... 84

9.16.2 Relationship ........................................................................................................ 85

9.17 StructuralFeatures package ............................................................................ 86

9.17.1 StructuralFeature ................................................................................................ 86

9.18 Super package ................................................................................................ 87

9.18.1 Classifier (as specialized) ................................................................................... 87

9.19 TypedElements package ................................................................................. 90

9.19.1 Type .................................................................................................................... 90

9.19.2 TypedElement ..................................................................................................... 91

9.20 Visibilities package .......................................................................................... 91

9.20.1 NamedElement (as specialized) ......................................................................... 92

9.20.2 VisibilityKind ........................................................................................................93

10 Core::Basic .......................................................................................................................94

10.1 Types diagram ................................................................................................ 95

10.1.1 Type .................................................................................................................... 95

10.1.2 NamedElement ................................................................................................... 95

10.1.3 TypedElement ..................................................................................................... 96

10.2 Classes diagram ............................................................................................. 97

10.2.1 Class ................................................................................................................... 97

10.2.2 Operation ............................................................................................................ 98

10.2.3 Parameter ........................................................................................................... 98

10.2.4 Property ..............................................................................................................99

10.3 DataTypes diagram ....................................................................................... 100

10.3.1 DataType .......................................................................................................... 100

10.3.2 Enumeration ...................................................................................................... 100

10.3.3 EnumerationLiteral ............................................................................................ 101

10.3.4 PrimitiveType .................................................................................................... 101

10.4 Packages diagram ........................................................................................ 102

10.4.1 Package ............................................................................................................ 102

10.4.2 Type (additional properties) .............................................................................. 102

11 Core::Constructs .............................................................................................................104

11.1 Root diagram ................................................................................................. 105

11.1.1 Comment (as specialized) ................................................................................. 106

11.1.2 DirectedRelationship (as specialized) ............................................................... 107

11.1.3 Element (as specialized) ................................................................................... 107

11.1.4 Relationship (as specialized) ............................................................................. 108

11.2 Expressions diagram ..................................................................................... 108

11.2.1 Expression (as specialized) .............................................................................. 109

11.2.2 OpaqueExpression (as specialized) .................................................................. 110

11.2.3 ValueSpecification (as specialized) ................................................................... 110

11.3 Classes diagram ............................................................................................ 111

11.3.1 Association ........................................................................................................ 112

11.3.2 Class (as specialized) ....................................................................................... 118

11.3.3 Classifier (additional properties) ........................................................................ 120

11.3.4 Operation (additional properties) ....................................................................... 123

11.3.5 Property (as specialized) ................................................................................... 123

11.3.6 Classifiers diagram ............................................................................................ 127

11.3.7 Classifier (as specialized) ................................................................................. 127

11.3.8 Feature (as specialized) .................................................................................... 128

11.3.9 MultiplicityElement (as specialized) .................................................................. 128

11.3.10 RedefinableElement (as specialized) .............................................................. 129

11.3.11 StructuralFeature (as specialized) .................................................................. 129

11.3.12 Type (as specialized) ...................................................................................... 130

11.3.13 TypedElement (as specialized) ....................................................................... 130

11.4 Constraints diagram ...................................................................................... 131

11.4.1 Constraint .......................................................................................................... 131

11.4.2 Namespace (additional properties) ................................................................... 132

11.5 DataTypes diagram ....................................................................................... 132

11.5.1 DataType (as specialized) ................................................................................. 133

11.5.2 Enumeration (as specialized) ............................................................................ 135

11.5.3 EnumerationLiteral (as specialized) .................................................................. 136

11.5.4 Operation (additional properties) ....................................................................... 137

11.5.5 PrimitiveType (as specialized) .......................................................................... 137

11.5.6 Property (additional properties) ......................................................................... 138

11.6 Namespaces diagram ................................................................................... 138

11.6.1 ElementImport ................................................................................................... 139

11.6.2 NamedElement (as specialized) ....................................................................... 142

11.6.3 Namespace (as specialized) ............................................................................. 142

11.6.4 PackageableElement ........................................................................................ 144

11.6.5 PackageImport................................................................................................... 144

11.7 Operations diagram ....................................................................................... 146

11.7.1 BehavioralFeature (as specialized) ................................................................... 147

11.7.2 Operation (as specialized) ................................................................................ 147

11.7.3 Parameter (as specialized) ............................................................................... 151

11.8 Packages diagram ......................................................................................... 152

11.8.1 Type (additional properties) .............................................................................. 152

11.8.2 Package ............................................................................................................ 153

11.8.3 PackageMerge .................................................................................................. 155

12 Core::PrimitiveTypes ......................................................................................................160

12.1 PrimitiveTypes package ................................................................................ 160

12.1.1 Boolean ............................................................................................................. 160

12.1.2 Integer ...............................................................................................................161

12.1.3 String ................................................................................................................. 162

12.1.4 UnlimitedNatural ................................................................................................ 163

13 Core::Profiles ..................................................................................................................164

13.1 Profiles package ............................................................................................ 165

13.1.1 Extension (from Profiles) ................................................................................... 165

13.1.2 ExtensionEnd (from Profiles) ............................................................................ 168

UML Infrastructure 2.0 Adopted Specification v

13.1.3 Class (from Constructs, Profiles) ...................................................................... 169

13.1.4 Package (from Constructs, Profiles) .................................................................. 170

13.1.5 Profile (from Profiles)........................................................................................ 170

13.1.6 ProfileApplication (from Profiles) ....................................................................... 173

13.1.7 Stereotype (from Profiles) ................................................................................. 174

Part III - Appendices .............................................................................................................179

A. XMI Serialization and Schema .......................................................................................180

B. Support for Model Driven Architecture ..........................................................................181

Index ......................................................................................................................................183

 

반응형

'Development > UML' 카테고리의 다른 글

StarUML v2.0.1-beta12 updated(2014/12/01)  (0) 2014.12.05
UML Spec  (0) 2014.08.30
UML 2.0 OCL Specification  (0) 2014.08.13
UML 2.0 Diagram Interchange Specification  (0) 2014.07.30
UML 특징  (0) 2014.06.14