uml

Use case diagram: of several actors of a use case, only some have access to an extending use case

我们两清 提交于 2019-12-08 03:10:36
问题 How can I represent a diagram in which several actors have access to the same function, or "use case" but some of them have additional functions or "extends" (if im right) inside it, if i just extend on the main "use case" that would mean its accessible by everyone right? 回答1: When a use case extends the main use case, extension points at the main use case, can have conditions. As a condition you could specify a specific actor. If the actors can be generalized, I have seen this solution too.

Software structure versus Software architecture [closed]

你离开我真会死。 提交于 2019-12-07 22:56:29
问题 Closed . This question needs to be more focused. It is not currently accepting answers. Want to improve this question? Update the question so it focuses on one problem only by editing this post. Closed 5 years ago . I can't get the precise differences between software structure and software architecture A simple example explains the precise differences would be very appreciated BTW,I use UML for representing architecture 回答1: Software architecture and Software structure overlap between them.

Can I extend actor in use case? [closed]

自作多情 提交于 2019-12-07 20:09:35
问题 It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center. Closed 7 years ago . Can I extend actor in use case? for example I have "normal user" , "student user" and "teacher user"... every use case the "normal user" uses it ,by default the "student user" and "teacher user" use it too.. so

How to visualize polymorphic invocations in a single diagram?

北战南征 提交于 2019-12-07 18:39:58
问题 First, see these Java codes: Drawable.java package examples.simple.model; public interface Drawable { public void draw(); } Shape.java package examples.simple.model; public abstract class Shape implements Drawable { private Point center; public Point getCenter() { return center; } public void setCenter(Point center) { this.center = center; } } Rectangle.java package examples.simple.model; public class Rectangle extends Shape { public void draw() { System.out.println("Drawing a rectangle....")

How to generate flow diagram from ASP.Net and C#.Net code?

狂风中的少年 提交于 2019-12-07 18:35:19
问题 I have started working on a new project and the code is huge. Documentation for that project is out of date. But i need to understand the code. One way is that i can put break point and debug the code to understand it but since code is huge and it may take about a month to understand in that way. What else or other faster approach i can use to understand the code something like creating its flow diagram from code? 回答1: If you're lucky enough to be using VS 2010 Ultimate then you can generate

UML Activity Diagram with variable number of concurrent flows

柔情痞子 提交于 2019-12-07 17:53:42
问题 I'm struggling with modeling in UML a scenario where variable number of concurrent flows occurs. A good and simple real life scenario would be a POOL ride-sharing service. For first rider whole flow seems easy. However once first rider is in a car and driver picks up second rider, then it becomes difficult to show on diagram, as now rider 1 and rider 2 are concurrent flows, and number of these concurrent flows will always be variable, between 0 and number of maximum seats in a car. What's the

Converting a UML class diagram created using Papyrus into an .ecore file

断了今生、忘了曾经 提交于 2019-12-07 17:40:52
问题 Here is what I do using eclipse : Create a new Papyrus project Create a class diagram in Papyrus Create a new EMF empty project Use the EMF Generator Model to convert my .uml file (created with Papyrus) into an .ecore file Now i would like to do that in Java. I found a post here where someone is doing it from XSD. I would like to do the same thing but from UML. User565300 is using something called Xsd2Ecore but I couldn't find a Uml2Ecore. Do you guys know what eclipse is using to convert UML

How State machine diagram can be represented as a Behavior for an operation in UML?

丶灬走出姿态 提交于 2019-12-07 17:26:41
问题 Behaviors (Method Body)can be state machines or activities - activities are easy to understand, as they are the equivalent of procedural code. I don't understand how a state machine can be used as the behavior for an operation? Could you Please provide a simple example for that? ---Note--- Operation is a specification-only element - imagine it as the method signature in OO programming languages. It has a name and a list of parameters. Behavior is (among other things) what an operation (or

Java API to create UML diagrams

跟風遠走 提交于 2019-12-07 15:25:28
Is there any Java API (Opensource) that can be used in drawing/creating UML diagrams. JFreeChart is a Java API to draw charts/bars/graphs, similarly is there any tool to draw UML diagrams using Java ? Perhaps not specifically for UML diagrams but I have been using JUNG to create hierarchical graphs and am very happy with it. Take a look at the examples they have and see if it's useful for you. If you want to create class diagrams, this tutorial shows how to do it with eclipse draw2d. You could check the EMF-based implementation of the UMLTM 2.4.1 metamodel for the Eclipse platform. This will

UML工具-StarUML

≡放荡痞女 提交于 2019-12-07 14:02:34
UML工具-StarUML 下载地址 http://staruml.io/ 破解方法 下载 链接:https://pan.baidu.com/s/1wDMKDQkKrE9D1c0YeXz0xg 密码:y65m 然后参照下图, 替换掉你自己StarUML安装目录中的app.asar文件即可。 替换完成后, 成功破解。 打开软件验证破解 help- About 这个软件默认装在c盘 破解完后 重新打包 卸载之前安装 将打好包的 放在任意盘符 解压 点击 就可以 使用 来源: https://www.cnblogs.com/wf-zhang/p/12001511.html