\tgEFAHw
ŏIXVF2009.11.26 - cFN
UML ̌o
UML Unified Modeling LanguageiꃂfOj̗łA1990NɌQYĂIuWFNgẃEv@_̓͂āA1994N Ratinal Software Ђ Grady Booch Jim Rumbaugh JnƂɒ[B̌A@_̂̂ꂷ邱Ƃ͍łƂA܂͕@_Ŏgp郂f̕\L@ꂵ悤ƂɕωB
̌ʁA1997NɁAIuWFNgwƊEő̒ĉł OMG(Object Management Group) ɂ UML1.1 WdlƂč̑ꂽB2003N3iKł̍ŐVł UML1.5 łÃy[W͂ɏĂB2008N̍ŐVłUML2.2łB
UML ̈ʒuÂ
fOƂāAOMĜntœoꂵUMĹA\tgEFAJ̋~ł邩̂悤ȎÃ\tgEFAJvWFNgUML̗pBOMGi߂ĂUMLZp҂̎iF蓙ǍXɔԂĂBUMLgȂvWFNg͋JƂ݂ȂAtUMLgΊJ͔IɌシƂFȂĂB
A͂߂ɒfĂA
UML͕`̊{߂Ă邾
łB
uǂ̂悤ɂĕ`̂vAuǂ̂悤ɃvOR[hƊ֘At̂vɂẮA߂ĂȂB
āAUMLgΖ@̂悤Ƀ\tgEFAȂǂƂƂ́AĂȂB
āA̍u`̖ړIAUMLC邱ƂłȂB
uHǗꂽ\tgEFAJ@v
C邱ƂA{u`̖ړIłB̂߂ɃIuWFNgw͂Ɛv̋Z@ɂĐĂÄƂUMLɂĂGBUMLL@̔wɂIuWFNgwIȍlgɂ邱ƂdvłB
UML}̎
UMĹAGcɌƈȉ9ނ̐}łB
́Ev̊eiKɂāA̐}`ƂŁAAR[hփX[YɈڍs邱ƂUML̖ړIłB
Aۂ9ނ̐}ׂċgĕ́EvsȂĂA\tgEFAJ͉"\łB̃y[Wł́A9̐}̒ŁAɏdvȐ}łƍlȉ3ɂĐsBȂAł͊e}̊TvqׁA̓Iȗ͎ۖɓKpƂɂB
[XP[X}
[XP[X}(Use Case Diagram)́AVXeǂ̂悤ɋ@\ׂi[XP[XjAт̊OiAN^[j\}łBVXegpGh[U[̎_炻̃VXe邱ƂłB̂߁AGh[U[◘p̈̐ƂƃR~jP[gāAvɑ鑊݂̗ۏႷ邱Ƃ"\ƂȂB
܂A[XP[X}́AVXe̊OƓƂ̋E͂肳}łƂƂłB
UM-}1
̐}̓[XP[X}̗ĂB
[XP[X}ɂ́AuAN^[vƌĂ镔O҂ƁAu[XP[XvƌĂVXe̎@\oꂷB
AN^[
- AN^[̓VXëꕔł͂ȂB̃VXegp郆[U[ʂ\B
- VXeƊɏAVXeIɏ肷B
- lԂłȂAn[hEFAOVXeAN^[ɂȂ肤B
[XP[X
あなたの家の外からスズメバチを削除するために呼び出す人
- AN^[ƃVXeƂ̊Ԃ̑ΘbfB
- [XP[X̓AN^[ɂĊJnAVXeĂA@\sB
- VXẽ[U[VXe𗘗pĐsPʋƖ̂ЂƂ𒊏ۉ́B
- [XP[XׂďW߂ƁAVXeǂg邩ׂĕ\B
- [XP[X̎_ŁA̓fAvfAfAeXgf֘AtĊǗłB
- [XP[X̃hLgƂāAu[XP[XLqiCxgt[jvƁuViIvB
[XP[XLqiCxgt[j
- Ɩ̗ʏ̌i{Ȃǁjgď́B
- [XP[XAǂ̂悤ɊJnEI邩AAN^[ƃ[XP[X̑ݍpɂċLqB
- [UC^[tFCXɊւLq͂ł邾ǂB[UC^[tFCX͐v̒iKɂȂȂƋ̓IɌ܂ȂAύX邱ƂłB
- OIȎꍇ́AOt[ƂăCt[Ƃ͕ʂɋLqB
ViI
- [XP[X̎tŋLq́B
- [XP[XsƂ̋̓IȗB
- e[XP[X́ÃViȈWƂĕ\B
- KvȃNXIuWFNg𒊏oƂɂȂB
- ʂāAVXe̓̓Iɕ\łB
- ViIɂ́A2ނB
- {ViIEEEׂĖȂ삷鎖
- 2ViIEEE{ViIɑO
V[PX}
V[PX} (Sequence Diagram) ́AVXeɓoꂷIuWFNgԂ̑ݍpnɉĕׂĕ\}łBV[PX}gpƁA[XP[X̂ɕKvȃIuWFNg̏WƁÂƂmɕ\łBIuWFNgԂł肳郁bZ[WԏɂЂƂLqł邽߁AViIƑΉċ̓Iȓêɕ֗łB
UM-}2
̐}̓V[PX}̗ĂB
V[PX}ɂ́A㕔ɁuIuWFNgvu^CCvƌĂcƁȀɏc̒`ŕ\ꂽuANeBx[VvAɃANeBx[VԂ́ubZ[Wvɂč\B
IuWFNg
- ViI̒ɌꂽAVXeɓoꂷ́BAN^[IuWFNgɂȂ肤B
- ǂIuWFNgƂč̗p邩́A͎҂̎rɂ邪Aʂɂ͕Ɍ閼ɒڂƗǂB
- VXeƖWȖ́AIuWFNgł͂ȂB
^CC
- Ԃ̌o߂\B
- IuWFNg̓^CCŏɑ݂Ă킯ł͂ȂB
ANeBx[V
- IuWFNgĂԂ\B
- IuWFNǵAAAKvȂȂΔjB
bZ[W
- IuWFNgԂ̂Ƃ\B
- IuWFNgԂ̑ݍṕANCAgIuWFNgibZ[WoIuWFNgjATvCAIuWFNgibZ[WIuWFNgjւ̐ȖƂĕ\B
- ́Ac̈ʒuƂĎB
bZ[Wɂ͓^Ɣ^ƂBʏ̏ꍇAM郁bZ[W͓^łꍇB^bZ[ẂAĂяoꂽIuWFNgł̏IƕK̃IuWFNgɕAB̂ƂɃbZ[WԂȂꍇ́AAbZ[W̖͏ȗłB
bZ[ẂAvOɂ葱Ăяo\̂ɗpB
NX}
NX} (Class Diagram) ́AΏۗ̈VXe̐ÓIȍ\\}łAuNXvƁuNXԂ̐ÓIȊW (Relationship)v}ɕ\̂łB
鳥はどのように聞こえるん
NX}͕͒iKłviKłp邪A͒iK̃NX}͗p҂̗ɗĖ̈\悤ɏBAJiKɂNX}͊J҂̎_Aڍꂽ`ŏB
UM-}3
̐}̓NX}̗ĂB
NX}́A`̒ɖO⑮A쓙uNXvƁANXԂȂuWvɂč\BWɂ͂Ɂu֘AvAuWvAuĉvȂǁA̎ނB܂AviKɂȂƁAW̗[Ɂu[vudxvꍇB
NX (Class)
- ގ̃f[^̍\ijƐU镑ijIuWFNg̏WB
- uvƂ́ÃNXɑIuWFNgʂɎf[^\̂ƁB
- uvƂ́ÃNXɑIuWFNgʂɍsƂłU镑̂ƁB
- ́ÃNXɑ̃IuWFNgɌŗĹulvB
- uv́ÃIuWFNg̗vɂċN邱̂łT[rXłB
- NX}ɂāANX͈ȉ̂悤ɒiKIɏڍċLqłB
UM-}4
- ڍ`ɂẮA⑀́uvAu^vAuԋplvȂǂ̏LB
- NX̏ɁAuXeI^CvvƌĂNX̎ނꍇB
- NXɂ́ÃNX̃CX^XiIuWFNgjłuۃNXvƁAłȂuۃNXvƂɕ邱ƂłBʂɁAPɁuNXvƌꍇ͋ۃNXwB
ۃNX (Abstract Class)
- ۃNX́ANXΑ̂ɂĕ\B
- ۃNX'ۑA얼Α̂ɂĕ\B
- ۑ삾܂Ƃ߂̂́uC^[tFCXvƌĂB
UM-}5
C^[tFCX (Interface)
- 삾܂Ƃ߂́B
- C^[tFCX̏ <
> ƂXeI^CvB - ͂Ȃ̂ŁAȂA܂͏ȗĂ悢B
- ȗ`̕ʌ`ƂāAɐĕ\ĂǂB
UM-}6
W (Relation)
- NXԂ̂Ȃˑ\B
- u֘AvAuĉvAuvAuˑv4ނAɊ֘ÁuWvƁuvȂB
UM-}7
- ̐}́ANX̊WNX}gĕ`̂łB̖́uĉv\B̐}́Au֘AvAuĉvAuvAuˑvƂ̂́A4ƂuWv̈łAƂƂ\ĂBɁAuWv́u֘Av̈łAuv́uWvłBƂƂ͓RAuv́uWv̈łB
֘A (Association)
豚の家族は何と呼ばれる
- ʓIɁANXԂɈӖIȊW邱Ƃ\B
- Ȃŕ\B
UM-}8
- ɁAɂ܂܂ȑ{ƂŁA낢ȏt邱ƂłB
UM-}9
-
udxv́ANX1̃CX^XÃNX̂̃CX^XƊ֘A邩\B̐}ł́ANX2̃CX^X͂̓NX11̃CX^XƊ֘A邪ANX1̃CX^X0ȏ̃̕NX2̃CX^XƊ֘ABƂAuvNXƁuwvNXƂ͊֘AA1̖ɂ͕̊wڂĂ悤ȏꍇ́Â悤Ȋ֘AɂȂB
-
uirQ[reBvƂ͊֘Â̕ƂŁA̒[ɖĕ\B̐}̏ꍇANX1NX2ւ̊֘A͂邪At̊֘A͂ȂƂӖB́Auv͂ǂ̊wڂĂ邩LĂ邪Auwv͎ǂ̖ɍڂĂ邩͒mȂAƂ\B
-
u[vƂ́Å֘ȀŃNXʂĂAA\͂Ȃǂ\BƂAuЁvNXƁuЈvNX̊֘ȀꍇAЂ̃[́uٗpҁvłAЈ̃[́uٗpҁvƂȂB[͕K{ł͂ȂAfɈӖtꍇɂ̂ݎgp悢B
-
u֘ANXvƂ́Å֘A邽߂ɕʂȃNXgpĂꍇɏBƂAuЁvNXɁuЈvNX̃CX^XꍇÁuXgvNXgĊoĂ邱Ƃ邩ȂB̂悤ȏꍇA֘ANX́uXgvNXƂȂB̊֘ANX́AviKŏڍׂȃNXꍇɁAKvɉď܂B
W (Aggregation)
UM-}10
(Composition)
UM-}11
ĉ (Generalization)
-
̃NXÃNX̕\ĂTOʉTOł邱Ƃ\B
-
is-a ̊WB
-
̎Op`ɂĕ\B
-
ĉ̋t́u (Specialization)vƌB
-
ĉ́AWɂĕ\ƂłB
-
ĉiނɂďW傫ȂĂBiނƏW͏肳ĂB
-
ĉiނɂĎdl͒PĂBiނƎdl͕GĂB
UM-}12
(Realization)
UM-}13
ˑ (Dependency)
UM-}14
܂Ƃ
UML 9̐}̂A悭g3ɌĂ܂ȐsB
킸3̐}ɂĂłA߂ĕGȋK߂Ă邱ƂƎvB
UML ͊{Iɐ}`ƂŃfLqĂOtBJł邩A̕@ɓ̂͐}̕`łA`łBāAxׂLq߂Ă͎̂dȂB
AɂĂAɎꂽ܂iɎĐ}`ĂƂ͗eՂł͂ȂƁANv낤BAUML ͐}̌`͋K肵ĂĂA̓Iȕ`܂ł͎ĂȂB܂A^ꂽUML 9̐}̌`ɂĂ@ɂẮAقƂlj߂ĂȂ̂łB
āAUML gă\tgEFAJsƂƁA܂̗͂QlɂāAsŐ}ĂAJԂƂŃmEnE~ς邵ȂBUML ł͕WIȋLq̌`܂Ă邾łAQlɂ鑽̗肪pł̂Łu܂vƎvB
UML 𗘗p\tgEFAJōłdvȓ_́AIuWFNgwɂ镪͂ƐvsƂ_łB}𐳊mɕ`ƂɂāA̓_YĂ܂Ă͖{]|AtɌƁAIuWFNgwI͂ƐvłȂA}̐m͑]ɂĂ܂ȂƂƂłB
K̓vWFNgɌĝȂdlƂĂ̐}ɂKvBL@̓ꂳꂽUMLɏďKv낤BA̎Ƃł͂܂萳mɂ͂ȂōsBw̃IuWFNgwIȊJ@gɂĂقB
0 件のコメント:
コメントを投稿