uml

Active class versus passive class

非 Y 不嫁゛ 提交于 2019-12-21 03:36:09
问题 In UML specification superstructure 2.5(still Beta, page 203) A Class may be designated by setting isActive to true as active (i.e., each of its instances is an active object). When isActive is false the Class is passive (i.e., each of its instances executes within the context of some other object). I wonder if there is a simple example illustrates the differences in applying each one of them? And elaborate this concept a bit? 回答1: By definition, Active Objects In UML, active classes, and

Should I use UML when designing new code and algorithms? [closed]

纵然是瞬间 提交于 2019-12-21 02:28:39
问题 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 4 years ago . I'm designing a new system and finding that I am struggling with the structure of what I want to do. A symptom is that every time I re-approach the problem I have to try to draw the relationships of the components on paper. (It is not yet clear in my mind as to what these

UML Domain Modeling

给你一囗甜甜゛ 提交于 2019-12-20 19:41:21
问题 What is the difference between a domain model and a data model? 回答1: A datamodel is a design model that only describes data and it's relations. The model contains entities, but they are described in terms of what data they own not how they act on this data or what their responsibilities are. An domain model on the other hand, is a conceptual model used in analysis of a problem domain. It describes the domain in terms of entities that have relations, data and behaviour. It describes the

Generating UML diagram from Scala sources [closed]

送分小仙女□ 提交于 2019-12-20 11:10:22
问题 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 . Is there any stand-alone tools (not Eclipse or Idea plugins) for generating class diagram from Scala source files? 回答1: try Acceleo see an example of using it with scala here 回答2: I had exactly this problem and couldn't find anything that would quickly draw a hierarchy from some Scala source code so I ended up

Are there any UML reference card available? [closed]

好久不见. 提交于 2019-12-20 09:47:12
问题 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 3 years ago . Are there any reference cards or cheats sheets available for UML? 回答1: UML Distilled is the shortest but yet explicative guide to UML (Amazon link). You also have several UML Cheat Sheets: UML Quick Reference Guide UML Reference Card UML Cheatsheet 回答2: Something like this? 来源: https://stackoverflow.com

UML diagram shapes missing on Visio 2013

时光毁灭记忆、已成空白 提交于 2019-12-20 09:27:26
问题 I have installed Visio 2013 Standard and I'm trying to create an UML diagram. I choose the "UML class" template but when it opens, the Shapes panel is empty. As recomended, I go to "More Shapes" menu, but cannot find anything related to UML. Have anyone had this problem and got a solution? Thanks 回答1: Software & Database is usually not in the Standard edition of Visio, only the Pro version. Try looking here for some templates that will work in standard edition UML 2.0 Diagrams and Shape

“UML Support” Plugin for IntelliJ

走远了吗. 提交于 2019-12-20 08:53:18
问题 I must be missing something. I am reading this article and it says that there is a plugin called "UML Support" which is enabled by default. I didn't have it, so I went to Preferences > Plugins and see no such plugin. Searching didn't show it as well. This page which is a sub-page of the previous one says I should be able to press CMD Shift Option U and a diagram will come up. That doesn't work, and I also don't see a Diagram > Show Diagram on any context menu for my files in the project. How

UML第二次作业

五迷三道 提交于 2019-12-20 07:47:09
一、plant UML语法学习小结 1.类之间的关系 使用 .. 来代替 -- 可以得到点 线. 在这些规则下,也可以绘制下列图形 @startumlClass01 <|-- Class02 Class03 *-- Class04 Class05 o-- Class06 Class07 .. Class08 Class09 -- Class10 @enduml @startuml Class11 <|.. Class12 Class13 --> Class14 Class15 ..> Class16 Class17 ..|> Class18 Class19 <--* Class20 @enduml @startuml Class21 #-- Class22 Class23 x-- Class24 Class25 }-- Class26 Class27 +-- Class28 Class29 ^-- Class30 @enduml 2、关系上的标识 在关系之间使用标签来说明时, 使用 : 后接 标签文字。 对元素的说明,你可以在每一边使用 "" 来说明. @startuml Class01 "1" *-- "many" Class02 : contains Class03 o-- Class04 : aggregation Class05 --> "1" Class06

Any way to automatically generate a UML diagram? [closed]

自古美人都是妖i 提交于 2019-12-20 06:20:45
问题 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 have a MySQL DB and I would like to generate its relational diagram. Is there a tool that can connect to the DB and automatically generate it for me? 回答1: Yes, DEVART's DBForge for MySQL will do this. There is a free Express edition, I'm not sure it has this functionality, but have a look at: http://www.devart

can I use different two class diagrams for two different environments? [closed]

北城余情 提交于 2019-12-20 06:18: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 . I'm working on project for two different environment which are iOS and Android, and it's so hared for me to design one class diagram for two different systems, so can I use two class diagrams, one for android and the other for iOS ? I mean it doesn't make any sense to use the