For my deposit use case in the communication diagram below: I make 3 successive calls to the Account
class which contains isPreferred()
, isCardHolder()
, and updateBalance()
. I don't know if the looping symbol I used above Account
is a way to display multiple calls to the same class, so any help is appreciated.
My operation sequence:
The possible sequence scenario I'm aiming for: 1, 2, 3, 3, 3, 4, 5 (printReceipt).
your diagram does not show the messages nor their numbering, the numbering you show correspond to nothing
out of that your reflexive arrow is correct having self message(s)
an extract of the sequence following normalized notation can be :
it is also possible to use hierarchical numbering rather than global numering
P.S. classes Screen/DBinterface and message communicate_DB are very 'strange' but this is not the subject of the question