| Item type |
SIG Technical Reports(1) |
| 公開日 |
2017-07-12 |
| タイトル |
|
|
タイトル |
オブジェクトの正規性を重視して存在従属関連を用いたドメインモデリング手法 |
| タイトル |
|
|
言語 |
en |
|
タイトル |
A Domain Model Approach using Normalized Class and Existence Dependency |
| 言語 |
|
|
言語 |
jpn |
| 資源タイプ |
|
|
資源タイプ識別子 |
http://purl.org/coar/resource_type/c_18gh |
|
資源タイプ |
technical report |
| 著者所属 |
|
|
|
同志社大学理工学部 |
| 著者所属 |
|
|
|
同志社大学理工学部 |
| 著者所属 |
|
|
|
同志社大学理工学部 |
| 著者所属(英) |
|
|
|
en |
|
|
Faculty of Science and Engineering, Doshisha University |
| 著者所属(英) |
|
|
|
en |
|
|
Faculty of Science and Engineering, Doshisha University |
| 著者所属(英) |
|
|
|
en |
|
|
Faculty of Science and Engineering, Doshisha University |
| 著者名 |
金田, 重郎
井田, 明男
森本, 悠介
|
| 著者名(英) |
Shigeo, Kaneda
Akio, Ida
Yusuke, Morimoto
|
| 論文抄録 |
|
|
内容記述タイプ |
Other |
|
内容記述 |
オブジェクト指向モデリングでは, 1) 「インスタンスのライフタイム」 と 「当該インスタンスの属性値のライフタイム」 が一致し, 2) インスタンスのすべての属性値が,当該インスタンスのオブジェクト ID (プライマリーキー) に非推移的に関数従属する,ことが望まれる.しかし,現実の設計では,関連した他インスタンスの属性値を属性値としてコピーして保存し,以後の処理に利用する事が多い.ビューとでも言うべきこの追加属性は,クラスの正規性を破壊し,AP のモジュラリティを低下させる.この問題を回避するため,本稿では,(1) 存在従属関連のみで永続化すべきクラスを記述し,(2) 生成されたインスタンスは消さない,アプローチを提案する.ただし,実際には,インスタンスはアップデートされ,あるいは消去される.その情報を表現するため,インスタンスには,当該バージョンの有効期間を示すタイムスタンプ属性を設定し,更に複数のバージョンのインスタンスを設けて,データ状態変化のログを記録する.これにより,各インスタンスは,時点さえ与えられれば,存在従属関連を上流方向に辿り,タイムスタンプを参照しながら,当該時点において適切な属性値を選択 ・ 利用できる.結果として,任意の時点で,多重度 1 でポイントされる範囲内にある他インスタンスの属性値を辿ることを保証しつつ,クラスの正規性を担保できる. |
| 論文抄録(英) |
|
|
内容記述タイプ |
Other |
|
内容記述 |
Object-oriented modeling is a major approach to requirement analysis and object-oriented software development. In an ideal situation, the lifetime of a property value should be equal to that of its instance in the class diagram design. Furthermore, each property value should depend functionally and non-transitively on the object ID (primary key of the instance). We call this type of class a "normalized class" in this paper. However, the above assumptions prove to be far from reality. Real applications usually require non-normalized classes that have property values copied from the corresponding instances. This property value transitively depends on the object ID, which implies the class is not normalized. Consequently, the non-normalized structure reduces the maintenance capabilities of the application software. To overcome the problem, this paper proposes the following scheme. (1) Normalized classes and an existence-dependency class diagram are fully adopted. (2) The generated instances are never deleted and use a type of timestamp to label their lifetime. (3) Each instance consists of many versions to record the time-dependent changes of the instance. The above mechanism allows each instance to obtain property values of different instances at any time, provided the current instance and the target instance are linked by an existence-dependency association. |
| 書誌レコードID |
|
|
収録物識別子タイプ |
NCID |
|
収録物識別子 |
AN10112981 |
| 書誌情報 |
研究報告ソフトウェア工学(SE)
巻 2017-SE-196,
号 7,
p. 1-6,
発行日 2017-07-12
|
| ISSN |
|
|
収録物識別子タイプ |
ISSN |
|
収録物識別子 |
2188-8825 |
| Notice |
|
|
|
SIG Technical Reports are nonrefereed and hence may later appear in any journals, conferences, symposia, etc. |
| 出版者 |
|
|
言語 |
ja |
|
出版者 |
情報処理学会 |