UML Question about Sequence Diagram -


i have question regarding uml sequence diagram.

let's have object customer, kioskui, kioskservice , kioskservice has last process called shownotification(); method shownotification goes customer object or kioskui?

if kioskui, object have return variable customer object "<----- notification", or no longer have return kioskui customer?

since sequence diagram focus on how process operates 1 other question is, tangible object printed report no longer needed shown in sequence diagram or have to?

in object oriented systems see sequence diagrams depictions of objects sending messages each communicate. arrows in these diagrams show sender/receiver relation between objects in time, label arrow depict message itself, e.g. method call arguments. asking if backwards arrow should point kioskui or customer object. answer simple, depends on sent message, e.g. method call "shownotification()" return. have decide this, guess kioskui natural choice. answer is, should show backwards arrow customer if there forward arrow customer (this should depicted using box on lifeline unless asynchronous call). needed depicted in diagram choice depending on need , uml makes no difference long classifier guess, means can have instance can there - classes, components, actors, nodes,... example saw many use case realizations done sequence diagrams actors objects lifelines.


Comments

Popular posts from this blog

python - Scipy curvefit RuntimeError:Optimal parameters not found: Number of calls to function has reached maxfev = 1000 -

c# - How to add a new treeview at the selected node? -

java - netbeans "Please wait - classpath scanning in progress..." -