uml

Bug with installing ObjectAid into eclipse LUNA

时间秒杀一切 提交于 2019-12-08 21:00:18
问题 I have eclipse LUNA, and I am trying to install ObjectAid for building UML diagrams. When I try to install it I get the following error: An error occurred while collecting items to be installed session context was:(profile=epp.package.java, phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=). Artifact osgi.bundle,org.junit,3.8.2.v3_8_2_v20100427-1100 is a folder but the repository is an archive or remote location. Why do I get this error, and how to overcome it?

Precondition in an Use Case

[亡魂溺海] 提交于 2019-12-08 18:03:35
问题 I'm creating a Use Case for a project for school and I'm confused about the precondition field. I can understand preconditions like, "must be logged in" or "needs an account." But what if the software is a local setup? To me, it sounds logical that a precondition is that "the software needs to be installed." But on the other hand, this precondition looks weird because otherwise, you would not have this Use Case in the first place. So my question, in short, is: Can system requirements or

How to draw a self-call in Dia?

左心房为你撑大大i 提交于 2019-12-08 17:05:44
问题 I just started using Dia. I'm trying to build a sequence diagram. I would like to represent self-calls. How does one do that in Dia? I can't figure it out. Thanks. 回答1: First place a UML Message object with it's base attached to your lifeline. Then, double-click the arrow (or right-click, Properties), and change the Message Type drop-down field to Recursive, and you'll get something like this: Now you can drag the green anchor point around to make the Message arrow look as you'd like. (A note

UML to XML representation

三世轮回 提交于 2019-12-08 15:24:25
问题 I build a class diagram using Eclipse modeling tool-Papyrus. how can i export UML diagram to XML format to see the class, attribute, and generalization, etc. relationships represented in XML? How can I do this? 回答1: now i solved my question and post it as series of steps 回答2: According to the Papyrus website: http://www.papyrusuml.org/scripts/home/publigen/content/templates/show.asp?P=130&L=EN&ITEMID=4 they do have: "Full respect of the DI2 (Diagram Interchange ) standard" see http://www.omg

Use Case diagram - System as an Actor

时光总嘲笑我的痴心妄想 提交于 2019-12-08 14:00:00
问题 Can I include the system as an actor on use case diagram? The system automatically sends emails and/or automatically updates some details of another user. 回答1: Depends. If you have a system that is responsible for sending e-mails - lets call it NOTIFY - and another system - lets call it X - that uses NOTIFY then X can be modelled as an actor of use case Send e-mail that is covered by NOTIFY. On the other hand, NOTIFY itself cannot be modelled as an actor using its own use cases. 回答2: No. The

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

Use fork/join or decision/merge nodes in an activity diagram for modelling user choices?

荒凉一梦 提交于 2019-12-08 13:29:47
问题 I was trying to use the activity diagram to model user interactions with a GUI, and came across the following question: whether to use decision/merge nodes or fork/join nodes in modelling different user choices. For example, a user can either change the settings of the program by clicking a button, or launch a process by clicking another button. It seemed to me using decision/merge nodes and a control arrow pointing back to the decision node is more natural, as the choices cannot be taken in

How to specifiy enumeration literal as default value in UML Attribute?

女生的网名这么多〃 提交于 2019-12-08 11:26:27
I currently doing some model transformations using EMF-UML-Implementation. In my model transformation I create an uml class with some attributes. The attributes are type of enumerations I also created. Some of the attribute should get a default value. The default value should be enumeration literals. The question now is, how do I get the enumeration literals to the defaultValue -property of the Property . I already have found that I have to use ValueSpecification . But the UML superstructure says not much about that (page 139 f.). Which properties do I have to use for setting the defaultValue

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

create sequence diagram generator ruby gem

北慕城南 提交于 2019-12-08 10:06:48
问题 So I want to create a gem similar to VCR that starts recording method calls along with the classes those methods are in, maybe even line number, and stop recording and generate say a yml file or something which is effectively a UML sequence diagram metadata description of the run. Extending that even further, I want to use the mermaid gem to actually spit out a picture UML diagram. I'm thinking of taking the approach outlined in this reddit post, basically storing a array of hashes to parse