Created
January 6, 2012 15:15
-
-
Save redhead/1571007 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ACTOR | |
----- | |
actor NazevAktera { | |
description: Popis ucastnika | |
} | |
// abstraktni akter | |
abstract actor A { .. } | |
// dedeni | |
actor A extends B { .. } | |
USECASE | |
------- | |
usecase UseCase1 { | |
notes: Popis pripadu | |
actors { | |
A, B, C | |
} | |
pre { | |
1. Stav pred spustenim use case | |
} | |
flow { | |
1. Pripad uziti zazina kdyz bla bla | |
2. dah dah | |
3. pokud bar je foo { | |
1. bla bla | |
} | |
4. jinak { | |
1. asd asd | |
} | |
} | |
post { | |
1. Stav po use case | |
} | |
} | |
usecase UseCase2 includes UC3 extends U5 { | |
... | |
flow { | |
1. include(UC3) | |
2. bla bla | |
extension point: ovedueBook | |
// nebo alternativni zapis (??) | |
<overdueBook> | |
3. foo bar | |
} | |
} | |
// extension use case pro vazbu <<extend>> | |
extension usecase U5 { | |
... | |
segment { | |
1. xyz | |
2. blaa blee | |
} | |
segment { | |
... | |
} | |
} | |
PROBLEMY | |
-------- | |
dedicnost use-casu = overridovani vseho (krome pre/post-condition) - jednotlivych stepu apod. ?? | |
nasobnost (kardinality) asociaci actor - usecase?? | |
K UVAZE | |
------- | |
vynechat includes/extends z hlavicky deklarace a brat je ze scenare | |
nebo explicitne uvest v hlavicce (=> mozna kolize s klicovym slovem extends pro dedeni) ? | |
cislovani stepu - ano nebo ne? | |
zahrnout ve stepu ucastnika?? (tj. dialog mezi akterem a systemem) | |
Z KNIHY UML2 | |
------------------- | |
zobecneni (dedeni) use casu je lepsi se vyhnout (nebo vynechat scenar v bazovem UC) | |
<<extend>> spise nepouzivat (vede ke vetsi slozitosti/neprehlednosti) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment