Howto UML: sub methods / calls / operations / procedures
Posted
by hsmit
on Stack Overflow
See other posts from Stack Overflow
or by hsmit
Published on 2010-03-17T09:06:18Z
Indexed on
2010/03/17
9:11 UTC
Read the original article
Hit count: 506
How would you guys model this in UML (in a sequence diagram)?
..
car1.drive();
..
... in Car class:
..
drive(){
this.startEngine();
}
startEngine(){
this.getKey();
this.insertKey();
}
..
a small begin:
objx car1
---- ----
| |
| drive() |
|-------->| startEngine()
| |------------.
| | |
| |<-----------.
| |
But where comes the getKey() method? Must this be communicated via another sequence diagram? Or is there a way to include sub procedures?
© Stack Overflow or respective owner