uml

From user stories to sequence diagram

孤街醉人 提交于 2019-12-06 04:29:24
I would like to know: how to convert users stories into sequence diagrams? and what is the most easy diagram to understand (for customer)? Aleks In my opinion, what works best with the customers are not use cases. They are too abstract and complicated even for the most of developers. And when they are finally approved, you're never sure whether the customers actually understood them correctly. I suggest the mix of UML activity diagrams and user interface prototypes (non UML) as far the best tool to work on this level of analysis with non technical business people. Activities model their

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

How to draw a web service using UML [closed]

|▌冷眼眸甩不掉的悲伤 提交于 2019-12-06 03:54:23
Closed . This question is opinion-based . It is not currently accepting answers. Want to improve this question? Update the question so it can be answered with facts and citations by editing this post . Closed 2 years ago . What's the best and most elegant way to represent a web service interface using a UML class diagram? Well it is just a diagram to help pass a point so whatever is clear. One option is to use stereotypes put "contract" on the interface and put "web service" on the class. Martin Spamer I would use a Sequence Diagram not a Class Diagram . Web Service with UML 来源: https:/

UML help C# Design Principles

给你一囗甜甜゛ 提交于 2019-12-06 03:42:54
问题 Could anyone please point out the meaning of the graph below: What is the relationship between PolicyLayer and PolicyServiceInterface What is the relationship between PolicyServiceInterface and MachanismLayer. C# code would be also appreciated! Please note that the UML is from Agile Principles, Patterns, and Practices in C# By Martin C. Robert, Martin Micah 2006. Added on 15 2011/6/2 Do the following have the same meaning: 1) A solid line with a triangle at one end 2) A dashed line with a

How to represent class instances in UML?

雨燕双飞 提交于 2019-12-06 03:36:01
问题 I have a class diagram for my application which consists of several compositions and aggregations. Now I want to have diagram based on the class diagram which shows class instances. A snapshot if you will. I need this because it would help discussing some functional requirements. Class diagram : -------- 1 * ------- | Parent |----------------------| Child | -------- ------- "Instance" diagram : -------- --------- | Parent |----------------------| Child 1 | -------- | --------- | | --------- +

open source tool to generate Javadocs through Maven2 with automatic UML diagrams like ydoc [closed]

穿精又带淫゛_ 提交于 2019-12-06 03:30:21
I want to generate javadocs through maven's site generation plugin and I want to have automatic UML diagrams created and embedded in the javadoc. The statsvn project uses yDoc to generate their UML documentation but I think they're using Maven1. yDoc is a commercial shareware product, so I'm unsure how the open source statsvn project integrates with it (or if there is a free version to use for javadoc generation). Example svnstat yDoc javadoc: ChurnPageMaker.java svnstat includes ydoc as a plugin to their Maven1 report generation: project.xml <reports> <report>maven-ydoc-plugin</report> ... <

HashMap in class diagram (UML)

天大地大妈咪最大 提交于 2019-12-06 03:27:46
问题 I build UML 2.0 class diagram for my Java application. In my code I have attribute with HashMap datatype. But, as I know, there is no HashMap datatype in UML standard. The question is - can I use HashMap as datatype for attribute of the class? UPDATE maybe in diagram I just should point to java.util package? and maybe place Map class in this package on the diagram? 回答1: HashMap should not appear in your UML model anyway. HashMap is just an implementation of a qualified association. Probably

A productive alternative to UML

吃可爱长大的小学妹 提交于 2019-12-06 03:11:12
问题 I find UML hard to create quickly. I'd like to put my ideas more quickly, especially for small open sourced projects. If it was big enough I'd bother with UML but the project is too small for this kind of thing. I don't want yet another tool that will make me think "nehh I'll do it later". Any suggestions? 回答1: You could use a blog (WordPress is quick) or a mind map (here's one free on Sourceforge) 回答2: UML is not a tool, it's a language. If you want a tool that is quick and easy, I'd

设计模式----外观模式UML和实现代码(5个必须掌握的设计模式)

风流意气都作罢 提交于 2019-12-06 02:34:49
一、什么是外观模式? 外观模式(Facade)定义:为子系统中的一组接口提供一个一致的界面,些模式定义了一个高层接口。这个接口使得这一子系统更加容易使用。 类型:结构型模式 顺口溜:适装 桥 组享代 外 二、 外观 模式UML 三、JAVA代码实现 package com.amosli.dp.structural.facade; public class Facade { SubsystemOne one; SubsystemTwo two; SubsystemThree three; public Facade() { one = new SubsystemOne(); two = new SubsystemTwo(); three = new SubsystemThree(); } public void methodA() { System.out.println("group A:"); one.operation1(); two.operation2(); } public void methodB() { System.out.println("group B:"); three.operation3(); } } package com.amosli.dp.structural.facade; public class SubsystemOne { public

Database design using UML Class Diagram

浪子不回头ぞ 提交于 2019-12-06 02:17:43
问题 I would like to design a database using UML class diagrams but I dont know how. Can someone help me. How can I design a database using UML class diagrams? 回答1: Making an SQL database model in the form of a UML class diagram from a general information design model essentially requires to Represent all entity types (or better: classes representing object types) as classes stereotyped as «object table» using SQL datatype names and replacing the UML {id} property modifier with a «pkey» stereotype