sequence-diagram

Sequence diagram example

梦想的初衷 提交于 2019-12-08 13:43:03
问题 The use case to model is the register of a new appointment. The user logins in the system as a patient (role). To make an appointment shoudl enter medical specialty and date. System shoudl look for the doctors availables for that specialty on that date. From the results patient should choose one and then system save the appointment. At the end user shoudl receive an email with the information of the appointment. The classes that I have in my model are: User PAtient Doctor Appointment

Representing loops in a UML communication diagram

心不动则不痛 提交于 2019-12-08 10:19:32
问题 Given the following sequence diagram, how to express the equivalent in a UML communication diagram? Edit This is slightly different from How to express loops in Communication Diagrams? because there are two messages in the loop. I see the link to http://www.smartdraw.com/resources/tutorials/uml-collaboration-diagrams/ which mentions the * for a loop. Would it be right then to use: 1 * [i=1..5] : hello 2 * [i=1..5] : bye The trouble I see is that this seems to be ambiguous: is it hello x 5

Multi-threaded time-based call hierarchy

妖精的绣舞 提交于 2019-12-07 16:23:22
问题 I am using eclipse to write java code. If I'm debugging some code I can set a breakpoint and follow along as the code goes through each of the functions or I can backtrack. I can also look at the call hierarchy or the references to get an idea. But that's not enough. I would like to have a some sort of time-based visualization of what each thread is doing along the process from ... let's say "point A" (pressing a button on the interface) to "point B" (getting the result). I want to see which

Is there a free (as in beer) Flow chart generator for COBOL Code? [closed]

别说谁变了你拦得住时间么 提交于 2019-12-07 15:26:29
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 4 years ago . I've never read COBOL in my life and have been tasked with rewriting the old COBOL code in a new language. Are there any free or free-to-try software packages out there that will generate a flow chart for a COBOL program? I've looked at "Visustin" and "Code Visual to Flowchart" Visustin blanks out part of the

Creating Code from sequence diagram

你离开我真会死。 提交于 2019-12-07 14:56:14
问题 Is there a way to Generate Code from sequence diagram ?? All I could find is Reverse Engineeering ie..from the generated code you can obtain sequence diagram. Is there a way to do otherway round (From the diagram to source code generation). This is already acheived for UML class diagrams. link for the same http://msdn.microsoft.com/en-us/library/ff657795.aspx i want the same thing for sequence diagram. Is there any third party tools generating the code from the UML Sequence diagram?? would

Drawing Call Flow with sequence Diagram leads to ambiguity

心不动则不痛 提交于 2019-12-07 08:54:00
问题 I want to draw a Sequence Diagram Where A -> B.run() B.run() -> B.m1() B.m1() -> B.m2() So far I've come up with these. http://i51.tinypic.com/eja5bl.jpg http://i52.tinypic.com/1449s3.jpg But Here I cannot mention it clearly that B.m2() is called by B.m1() Rather it looks like B.run() Calls both B.m1() and B.m2() serially. ------------- EDIT ---------------- This is What I Currently have drawn http://i55.tinypic.com/21276kk.jpg Well Is my Current Diagram Okay ?? What I want is this. (Call

How to draw calls from constructors in UML sequence diagrams?

ぐ巨炮叔叔 提交于 2019-12-07 06:09:17
问题 I've seen multiple ways to draw constructors, namely like here with tails under them (function call) but more often like here without the tails and with no arrow returning (sometimes with the label <<create>> ). I'm aware that there are differences between UML1 and UML2 and I'm not sure if this is one of them, however either way I cannot find any references as to how I can represent method calls from the constructor of an object. EDIT: Example java code below. Say oour entry point is foo() .

Designing a sequence diagram for an auction system

元气小坏坏 提交于 2019-12-06 12:28:58
问题 I'm currently working on a sequence diagram for an auction system which acts as the middleman between customers and companies. However I'm having difficulty with the design of the system and would appreciate some guidance, especially as I seek to tighten up the UML diagram. The entire idea behind the system is that the customer creates a booking via a mobile app which uploaded to the auction app where companies can bid for it. If a company wins a bid, the auction app gives them a price range

How will inheritance is depicted in a sequence diagram?

左心房为你撑大大i 提交于 2019-12-06 04:42:13
问题 Say method m of class A calls method n on class B, but the source code of class B does not contain n, since n is inherited from one of the superclasses of B. How will the sequence diagram look? Will there be message interaction between A and B by the method n or would it be with A and the superclass of B with by method n 回答1: If you're to respect the principle of encapsulation, the interaction would purely be between A and B . The fact that B 's implementation uses inheritance is of no

Difference between types of messages in sequence diagrams

偶尔善良 提交于 2019-12-06 04:20:12
问题 What is the difference between? Self message Recursive message Re-entrant message thanks 回答1: A Self Message is a type of message which represents the execution or operation call in the same object lifeline. A recursive message is a type of self message that is executed recursively. A re-entrant message is where you have an object A and and oject B. A makes a call C to B B needs some data from A to complete call C B sends a message to A get the data required to complete call C The call that B