講演抄録/キーワード |
講演名 |
2016-11-03 14:20
オブジェクトのライフタイムに基づくクラス図(ER図)の理解 ○金田重郎・井田明男(同志社大) KBSE2016-25 |
抄録 |
(和) |
UMLではクラス図の関連(Association)を「意味論的な関連性を示す」としている.しかし,これでは具体的設計指針とは言いがたい.そこで,本稿では,「一方のインスタンスが決まれば,他方のインスタンスが一意に決まる」関数従属的な関係を「関連」とする.「1対多」関連であり,一方の多重度は「1(一意)」である.この前提の下で,関連が引かれるべき2つのインスタンスのライフタイムの関係を分析する.その結果,関数従属型の関連は,一方のライフタイムがもう一方のライフタイムを包含するケースに張り得るものであり,関数従属性は,包含される側のインスタンスから,包含する側のインスタンスに対してのみ展開できる.開発者がしばしば用いる,1)タイムスタンプ,2)当該インスタンスの有効期間を示す属性の付与,の2つは,単なるプログラミングテクニックではなく,包含する側のインスタンスの多重度を1とするための重要な手段である.本分析結果は,存在従属型クラス図や,渡辺幸三のデータモデリング手法が,広い一般性を持つ事を傍証する. |
(英) |
UML specification categorizes “association” as a semantic relationship. This definition is not practical. In this paper, the association is taken as a relationship that only one instance is uniquely specified if one instance is selected. This relation is nearly equal to “functional dependency” of the RDB theory. The relationship is one-to-many relation, and at least one multiplicity should be “1”. This paper analyzes the lifetimes of two instances that the association builds a bridge. The analytical results show that the lifetime of the input side instance should be included within the longer lifetime of the output side instance. This theoretical result shows that the existence dependence class diagram has the equivalent expression ability with the conventional UML class diagram. Also, properties of timestamp or validity period are important tool to realize the functional dependency having “1” multiplicity in one side of the association. |
キーワード |
(和) |
クラス図 / ER図 / 関連 / 第3正規形 / オブジェクト / ライフタイム / 関数従属性 / |
(英) |
Class Diagram / ER Diagram / Relationship / The third normal form / Object / Lifetime / Functional Dependency / |
文献情報 |
信学技報, vol. 116, no. 284, KBSE2016-25, pp. 7-12, 2016年11月. |
資料番号 |
KBSE2016-25 |
発行日 |
2016-10-27 (KBSE) |
ISSN |
Print edition: ISSN 0913-5685 Online edition: ISSN 2432-6380 |
著作権に ついて |
技術研究報告に掲載された論文の著作権は電子情報通信学会に帰属します.(許諾番号:10GA0019/12GB0052/13GB0056/17GB0034/18GB0034) |
PDFダウンロード |
KBSE2016-25 |