/
クラス図その2 福本研 古賀慎平 クラス図その2 福本研 古賀慎平

クラス図その2 福本研 古賀慎平 - PowerPoint Presentation

thousandnike
thousandnike . @thousandnike
Follow
351 views
Uploaded On 2020-08-03

クラス図その2 福本研 古賀慎平 - PPT Presentation

クラス名アドバンス クラスがパッケージに属する場合クラス名の前にパッケージ名をつけることができる 会社 従業員 パッケージ名 ID: 796414

unique int int unique

Share:

Link:

Embed:

Download Presentation from below link

Download The PPT/PDF document "クラス図その2 福本研 古賀..." is the property of its rightful owner. Permission is granted to download and print the materials on this web site for personal, non-commercial use only, and to display it on your personal computer provided you do not modify the materials and that you retain all copyright notices contained in the materials. By downloading content from our website, you accept the terms of this agreement.


Presentation Transcript

Slide1

クラス図その2

福本研 古賀慎平

Slide2

クラス名(∽アドバンス)

クラスがパッケージに属する場合,クラス名の前にパッケージ名をつけることができる.

会社: :従業員

パッケージ名

クラス名

Slide3

属性(∽アドバンス)

クラスの属性は多重度及びプロパティ文字列を表記することができる.

ステレオタイプ 可視性  名前 : 型表現 

[

多重度]

 = 初期値 {プロパティ文字列}            -  従業員ID  int      [1]            {unique}

従業員

勤続年数 : 

int

[1]

 = 

1

従業員

ID

 : 

int

[1]

 

{unique}

Slide4

操作(∽アドバンス)

クラスの操作は引数の入出力種別,引数のデフォルト値,プロパティ文字列を表記することができる.

Slide5

タグ付値,

メタ属性

(

∽アドバンス

)タグ付値をつけることで情報を付与できる.

Slide6

派生属性

(∽アドバンス)

他の属性などから計算できる属性.

派生属性

Slide7

派生関連

(∽アドバンス)

他の属性などから計算できる属性.

命令する

命令する

/

直接命令する

(

派生関連

)

Slide8

クラススコープ

インスタンススコープ

(∽アドバンス)

クラススコープ

…あるクラスから生成されたオブジェクトで共通の属性や,クラスに対しての呼び出し.

他の属性などから計算できる属性(下線で表示).

インスタンススコープ…属性や操作が個々のオブジェクトに当てはまる.

Slide9

Slide10

パラメタライズドクラス

(

∽アドバンス

)

仮パラメタを持ったクラスを生成する.この仮パラメタを束縛(bind)することで初めて使用できる.

Slide11

制約(∽

アドバンス

)

モデル

に条件や制限をつける.記述の際はどのような形式言語を用いても構わない.

Slide12

コンポジション集約

(∽

アドバンス

)

全体と部分のライフサイクルが同じ場合に使用される.

Slide13

メタ属性(∽

アドバンス

)

関連

に対してもタグ付値することができる.

Slide14

制約(∽

アドバンス

)

関連

にも制約をつけることができる.

Slide15

汎化1(∽

アドバンス

)

区別子

…サブクラスがいくつかのグループに分類できる場合などに使用.

Slide16

汎化2(∽

アドバンス

)

制約

…モデルに条件や制限をつける.

Slide17

Slide18

Related Contents


Next Show more