SlideShare a Scribd company logo
1 of 15
Download to read offline
UML2.5で変わったこと・変わらないこと
~よくわかるUML2.5のすべて~
2013/10/15 L3・L4認定者の集い

吉田裕之
富士通株式会社
プリンシパルエンジニア
Copyright 2013 FUJITSU LIMTED
UML2.5で何が変わったのか?
表記方法は変わりません
モデラーには影響無

メタモデルは変わりません
ツールベンダーには影響無

仕様書が読みやすくなりました
みんなHappy♪
1

Copyright 2013 FUJITSU LIMTED
前提知識のおさらい
 UMLはOMGが標準化しています
 OMGの標準化はMDAに基いています(以前はOMA)
 MDAとは要するに「UMLモデルで仕様定義すること」です
(OMAは「CORBAインターフェースで仕様定義すること」でした)
∴UMLはUMLモデルで仕様定義しています
 「モデルをモデル化」することを「メタモデル」と言います

 OMGはメタモデル言語としてMOFを標準化しています
∴UMLとMOFはMOFで定義されています(?)
 UMLとMOFは実質的に同じ言語なので、
UMLとMOFはUMLで定義されている、と言って正しいのです
2

Copyright 2013 FUJITSU LIMTED
UMLメタモデルの例
Element

+type

Type

TypedElement

0..1

0..1 +ownedAttribute
+class

Relationship

プロパティには
型がある

クラスは型の一種

Class

M2

0..*

Property

クラスは0個以上の
プロパティを属性に持つ

関連は関係の一種

+association
2..*
Association
+memberEnd
関連は2個以上の
プロパティを端として持つ

3

Copyright 2013 FUJITSU LIMTED
UML2.5の策定状況
Event

Date

Notes

Base document(s)

UML Specification Simplification ad/2012-08-01

Voting List Deadline

September 14, 2012

Beta 1 specification publication

October 15, 2012

FTF comments due

June 10, 2013

FTF report due date

August 26, 2013

FTF recommendation and
report deadline

Relevant documents:
ptc/13-09-06 (UML 2.5 Specification with change
bars)
ptc/13-09-05 (UML 2.5 Specification without
change bars)
ptc/13-09-02 (UML 2.5 UPDATED RTF report)
ptc/13-08-17 (UML 2.5 FTF report - Machine
Consumable Files Archive)
ptc/13-08-14 (UML 2.5 FTF report)

October 4, 2013

Veto Power

Relevant documents:
ptc/12-10-24 (UML 2.5 Beta 1 document)

March 12, 2014

4

Copyright 2013 FUJITSU LIMTED
何が読みやすくなったのか?
~UML2.5仕様書「6.1 Specification Simplification」より~
 2分冊が1冊になりました
 PackageMergeを使うのをやめました
 前方参照が無いように章の順序を変えました

 各章の最後にクラス定義と関連定義を一覧する節を設けました
 準拠レベルL0, L1, L2, L3をやめました
 パッケージ構成を仕様書の章に合わせました
 OCLを積極的に使って制約をきちんと書きました
 そのためにすべての関連と関連端に曖昧性がない名前を付けました
 デフォルト値がある場合の多重度を0にしました
 LoopNode::loopVariableをコンポジット(◆)に変更しました
 {ordered}をちゃんと書きました
5

Copyright 2013 FUJITSU LIMTED
2分冊が1冊に
 Infrastructureが無くなった

6

Copyright 2013 FUJITSU LIMTED
PackageMergeとは
 モデルを部品化して統合する方法
 あちこちのパッケージで同じ名前のクラスを少しずつ定義して統合

7

Copyright 2013 FUJITSU LIMTED
Classifier(2.4.1)
 Classifierの定義が7つのパッケージにあった
 最終的にすべてのPackageをマージする

実は…
InfrastructureでもClassifierは4つのパッケージ
で定義されていました。Kernelはそれらをマー
ジしたものですが、Superstructure仕様書の
Kernelパッケージのページにはそれがすべて記
載されています。つまり、Infrastrucure仕様書
を読む必要が無いようになっているわけです。
8

Copyright 2013 FUJITSU LIMTED
ClassifierとClass(2.4.1 ⇒ 2.5)
Classifier
 2.4.1の7つのPackageで定義
属性2個、関連14個、操作8個、制約7個。
 2.5では9章Classification 9.2 Classifiersだけで定義
属性2個(ok)、関連14個(ok)、操作17個(+)、制約4個(-)
 操作はOCLで使用。制約を英語ではなく積極的にOCLで定義するようになっ
たため操作が増えている。

Class
 2.4.1では5つのPackageで定義
属性1個、関連6個、操作1個、制約1個
 2.5では11章Structured Classifiers 11.4Classesで定義
属性2個(+)、関連6個(ok)、操作3個(+)、制約1個(ok)
 属性はisAbstructをClassifierから継承しつつ再定義
9

Copyright 2013 FUJITSU LIMTED
準拠レベルとは
 2.4.1ではL0~L3の4つの準拠レベルを設定
 L0:KernelとPrimitive Typesのみをマージ
データ交換可能な最小モデル
 L1:L0+11個のパッケージをマージ
クラス図、ユースケース図、シーケンス図、コミュニケーション図、アクティビ
ティ図の基本
 L2:L1+14個のパッケージをマージ
コンポジット構造図、コンポーネント図、配置図、ステートマシン図、プロファイ
ル
 L3:すべてのパッケージをマージ

 2.5ではすべてのパッケージをUMLパッケージにインポート
 すべてのクラスが、UMLパッケージ内でそのまま利用可能

10

Copyright 2013 FUJITSU LIMTED
パッケージ構成(2.4.1)
 Kernelパッケージがinfrastructureのパッケージをマージして利用

依存関係は
パッケージ
マージ
11

Copyright 2013 FUJITSU LIMTED
パッケージ構成=章の構成(2.5)







Common Structure
 Root
 Templates







Namespaces
Types and Multiplicity
Constraints
Dependencies

Values



 Literals
 Expressions
 Time
 Intervals











 Data Types
 Signals
 Interfaces







Structured Classifiers
 Structured Classifiers
 Encapsulated Classifiers

Activities



Activities
Control Nodes
Object Nodes
Executable Nodes
Activity Groups

Messages
Occurrences
Fragments
Interaction Uses
Sequence Diagrams
Communication Diagrams

 Interaction Overview Diagrams
 Timing Diagrams



UseCases
 Use Cases



Deployments
 Deployments

Actions







Interactions








StateMachines







Structural Feature Actions
Variable Actions
Accept Event Actions
Structured Actions
Expansion Regions
Other Actions

 Interactions
 Lifelines

Common Behavior

 Behavior StateMachines
 StateMachine Redefinition
 ProtocolStateMachines

Features
Properties
Operations
Generalization Sets
Instances

Simple Classifiers



 Behaviors
 Events

Classification
 Classifiers
 Classifier Templates

Packages
 Packages
 Profiles










Classes
Associations
Components
Collaborations

Actions
Invocation Actions
Object Actions
Link End Data
Link Actions
Link Object Actions
12

 Artifacts
 Nodes



InformationFlows
 Information Flows




Primitive Types
Standard Profile
Copyright 2013 FUJITSU LIMTED
読みやすくなったのか?
 2.4.1
 Infrastructure仕様書:208+付録6ページ(表紙、目次、索引を除く)
 Superstructure仕様書:690+付録34ページ

 2.5
 715+付録70ページ(増えてる!)
 各章(付録も)の最後にあるクラス一覧・関連一覧が半分くらい?

いずれにしても
表記方法は変わらないので
我々モデラーには影響ありません
(めでたし、めでたし)

13

Copyright 2013 FUJITSU LIMTED
14

Copyright 2010 FUJITSU LIMITED

More Related Content

Recently uploaded

MPAなWebフレームワーク、Astroの紹介 (その1) 2024/05/17の勉強会で発表されたものです。
MPAなWebフレームワーク、Astroの紹介 (その1) 2024/05/17の勉強会で発表されたものです。MPAなWebフレームワーク、Astroの紹介 (その1) 2024/05/17の勉強会で発表されたものです。
MPAなWebフレームワーク、Astroの紹介 (その1) 2024/05/17の勉強会で発表されたものです。iPride Co., Ltd.
 
ネットワーク可視化 振る舞い検知(NDR)ご紹介_キンドリル202405.pdf
ネットワーク可視化 振る舞い検知(NDR)ご紹介_キンドリル202405.pdfネットワーク可視化 振る舞い検知(NDR)ご紹介_キンドリル202405.pdf
ネットワーク可視化 振る舞い検知(NDR)ご紹介_キンドリル202405.pdfTakayuki Nakayama
 
LoRaWAN無位置ロープ式水漏れセンサーWL03A 日本語マニュアル
LoRaWAN無位置ロープ式水漏れセンサーWL03A 日本語マニュアルLoRaWAN無位置ロープ式水漏れセンサーWL03A 日本語マニュアル
LoRaWAN無位置ロープ式水漏れセンサーWL03A 日本語マニュアルCRI Japan, Inc.
 
情報を表現するときのポイント
情報を表現するときのポイント情報を表現するときのポイント
情報を表現するときのポイントonozaty
 
Hyperledger Fabricコミュニティ活動体験& Hyperledger Fabric最新状況ご紹介
Hyperledger Fabricコミュニティ活動体験& Hyperledger Fabric最新状況ご紹介Hyperledger Fabricコミュニティ活動体験& Hyperledger Fabric最新状況ご紹介
Hyperledger Fabricコミュニティ活動体験& Hyperledger Fabric最新状況ご紹介Hyperleger Tokyo Meetup
 
2024年5月17日 先駆的科学計算フォーラム2024 機械学習を用いた新たなゲーム体験の創出の応用
2024年5月17日 先駆的科学計算フォーラム2024 機械学習を用いた新たなゲーム体験の創出の応用2024年5月17日 先駆的科学計算フォーラム2024 機械学習を用いた新たなゲーム体験の創出の応用
2024年5月17日 先駆的科学計算フォーラム2024 機械学習を用いた新たなゲーム体験の創出の応用KLab Inc. / Tech
 
LoRaWAN無位置ロープ型水漏れセンサー WL03A-LB/LSカタログ ファイル
LoRaWAN無位置ロープ型水漏れセンサー WL03A-LB/LSカタログ ファイルLoRaWAN無位置ロープ型水漏れセンサー WL03A-LB/LSカタログ ファイル
LoRaWAN無位置ロープ型水漏れセンサー WL03A-LB/LSカタログ ファイルCRI Japan, Inc.
 
部内勉強会(IT用語ざっくり学習) 実施日:2024年5月17日(金) 対象者:営業部社員
部内勉強会(IT用語ざっくり学習) 実施日:2024年5月17日(金) 対象者:営業部社員部内勉強会(IT用語ざっくり学習) 実施日:2024年5月17日(金) 対象者:営業部社員
部内勉強会(IT用語ざっくり学習) 実施日:2024年5月17日(金) 対象者:営業部社員Sadaomi Nishi
 
Keywordmap overview material/CINC.co.ltd
Keywordmap overview material/CINC.co.ltdKeywordmap overview material/CINC.co.ltd
Keywordmap overview material/CINC.co.ltdkokinagano2
 

Recently uploaded (9)

MPAなWebフレームワーク、Astroの紹介 (その1) 2024/05/17の勉強会で発表されたものです。
MPAなWebフレームワーク、Astroの紹介 (その1) 2024/05/17の勉強会で発表されたものです。MPAなWebフレームワーク、Astroの紹介 (その1) 2024/05/17の勉強会で発表されたものです。
MPAなWebフレームワーク、Astroの紹介 (その1) 2024/05/17の勉強会で発表されたものです。
 
ネットワーク可視化 振る舞い検知(NDR)ご紹介_キンドリル202405.pdf
ネットワーク可視化 振る舞い検知(NDR)ご紹介_キンドリル202405.pdfネットワーク可視化 振る舞い検知(NDR)ご紹介_キンドリル202405.pdf
ネットワーク可視化 振る舞い検知(NDR)ご紹介_キンドリル202405.pdf
 
LoRaWAN無位置ロープ式水漏れセンサーWL03A 日本語マニュアル
LoRaWAN無位置ロープ式水漏れセンサーWL03A 日本語マニュアルLoRaWAN無位置ロープ式水漏れセンサーWL03A 日本語マニュアル
LoRaWAN無位置ロープ式水漏れセンサーWL03A 日本語マニュアル
 
情報を表現するときのポイント
情報を表現するときのポイント情報を表現するときのポイント
情報を表現するときのポイント
 
Hyperledger Fabricコミュニティ活動体験& Hyperledger Fabric最新状況ご紹介
Hyperledger Fabricコミュニティ活動体験& Hyperledger Fabric最新状況ご紹介Hyperledger Fabricコミュニティ活動体験& Hyperledger Fabric最新状況ご紹介
Hyperledger Fabricコミュニティ活動体験& Hyperledger Fabric最新状況ご紹介
 
2024年5月17日 先駆的科学計算フォーラム2024 機械学習を用いた新たなゲーム体験の創出の応用
2024年5月17日 先駆的科学計算フォーラム2024 機械学習を用いた新たなゲーム体験の創出の応用2024年5月17日 先駆的科学計算フォーラム2024 機械学習を用いた新たなゲーム体験の創出の応用
2024年5月17日 先駆的科学計算フォーラム2024 機械学習を用いた新たなゲーム体験の創出の応用
 
LoRaWAN無位置ロープ型水漏れセンサー WL03A-LB/LSカタログ ファイル
LoRaWAN無位置ロープ型水漏れセンサー WL03A-LB/LSカタログ ファイルLoRaWAN無位置ロープ型水漏れセンサー WL03A-LB/LSカタログ ファイル
LoRaWAN無位置ロープ型水漏れセンサー WL03A-LB/LSカタログ ファイル
 
部内勉強会(IT用語ざっくり学習) 実施日:2024年5月17日(金) 対象者:営業部社員
部内勉強会(IT用語ざっくり学習) 実施日:2024年5月17日(金) 対象者:営業部社員部内勉強会(IT用語ざっくり学習) 実施日:2024年5月17日(金) 対象者:営業部社員
部内勉強会(IT用語ざっくり学習) 実施日:2024年5月17日(金) 対象者:営業部社員
 
Keywordmap overview material/CINC.co.ltd
Keywordmap overview material/CINC.co.ltdKeywordmap overview material/CINC.co.ltd
Keywordmap overview material/CINC.co.ltd
 

Featured

2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by HubspotMarius Sescu
 
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTExpeed Software
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsPixeldarts
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthThinkNow
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfmarketingartwork
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024Neil Kimberley
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)contently
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024Albert Qian
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsKurio // The Social Media Age(ncy)
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Search Engine Journal
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summarySpeakerHub
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next Tessa Mero
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentLily Ray
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best PracticesVit Horky
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project managementMindGenius
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...RachelPearson36
 

Featured (20)

2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot
 
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPT
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
 
Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 

UML2.5: What is changed and what is unchanged.