uml

How to represent the nested class of C++ in UML?

假如想象 提交于 2020-01-02 00:54:08
问题 How to represent the nested class of C++ in UML? class A { class B { } } 回答1: I had thought that the spec got away from the cross-and-circle notation. So, I did some wandering around in the specs, and couldn't find it in 2.0. I have to conclude that the 2.0 spec no longer supports it. While it's actually specified in v1.4, I looked all through the 2.4.1 spec, and it isn't anywhere to be seen (in fact, the word "anchor" returns 0 results in a document-wide search). I did some other looking

The essense of usecase diagrams

风格不统一 提交于 2020-01-01 17:26:13
问题 For a school assignment, we have to make a Usecase diagram. But the documentation that we have, is not very extended. It just describes what components a usecase consists of, and one example. We have to make a usecase about a library system. We have found 11 usecases, but I won't bother you with all of them. IIRC, a usecase describes a typical usage of a system, right? But what things belong on a usecase diagram, and how do they connect together? What we have now are four actors (member,

How can I reverse engineer my JavaScript files with js/uml?

a 夏天 提交于 2020-01-01 09:18:18
问题 Goal My goal is to get an UML model out of my JavaScript project (consisting of several .js files) and store it as XMI. How far I've come I searched the internet and found out js/uml is the first place to go. I've managed it to get the js/uml plugin running with Eclipse 3.7.1 (Win32) and a local installation of my pre-downloaded additional plugins: mdt-uml2tools-Update-incubation-I201103290512.zip (installs required org.eclipse.uml2.diagram.clazz 0.10.0) jsuml-eclipse-0.8.4.zip (only works

How to make a composite key to be unique?

。_饼干妹妹 提交于 2020-01-01 09:11:31
问题 I am making a database of students in one school.Here is what I have so far: If you don't like reading jump to the "In short" part The problem is that I'm not happy with this design. I want the combination of grade , subgrade and id_class to be unique and to serve as a primary key for the students table. I can remove the student_id and make a composite key from the 3 but I don't want that either. Maybe I should make another table lets say combination_id where grade , subgrade and id_class are

How to make a composite key to be unique?

泪湿孤枕 提交于 2020-01-01 09:10:09
问题 I am making a database of students in one school.Here is what I have so far: If you don't like reading jump to the "In short" part The problem is that I'm not happy with this design. I want the combination of grade , subgrade and id_class to be unique and to serve as a primary key for the students table. I can remove the student_id and make a composite key from the 3 but I don't want that either. Maybe I should make another table lets say combination_id where grade , subgrade and id_class are

Visual Studio UML Class Diagram Generator

孤人 提交于 2020-01-01 07:38:07
问题 I was wondering if there was a software that would generate UML class diagrams from my project files (C#) in Visual Studio 2008 Professional? Like a plugin of sorts? I have checked previous posts and did not see anything useful on the first glance. Edit: I found Class Diagram item! but open to more tips. Edit: Any ideas regarding how do I go about exporting these diagrams? Edit: Export diagram as image. 回答1: What about the Visual Studio Class Diagram? Choose "add New Item" - General category

Is there a way to generate a UML class diagram from an existing MySQL database?

女生的网名这么多〃 提交于 2020-01-01 07:20:50
问题 Was just wondering if there was any software out there to do this? The storage engine is InnoDB so the foreign keys are in place to connect the tables up in the diagram (if such software even exists). 回答1: You can generate a data model from the data table that shows foreign key constraints using Enterprise Architect. That gives you a data model in a UML tool that you can easily trace to other UML artifacts. It does not auto-create a class model from the data tables however. It is not best

Is there a way to generate a UML class diagram from an existing MySQL database?

放肆的年华 提交于 2020-01-01 07:20:07
问题 Was just wondering if there was any software out there to do this? The storage engine is InnoDB so the foreign keys are in place to connect the tables up in the diagram (if such software even exists). 回答1: You can generate a data model from the data table that shows foreign key constraints using Enterprise Architect. That gives you a data model in a UML tool that you can easily trace to other UML artifacts. It does not auto-create a class model from the data tables however. It is not best

Can I use UML for modelling website navigation

三世轮回 提交于 2020-01-01 05:03:19
问题 Can I use UML for modelling website navigation? If so someone give me some books/links for referrence (UML for websites kind of...!!!). If not so what are the tools for this? And basically I am a programmer and when I designed my previous website I just sketched down different page design ideas on paper and opted the one that I felt suitable. Then I did implement that design using html/css from scratch. Is this the approach generally taken by all or have tools for drawing the to be

Is there a convention for showing overridden methods in UML static class diagrams?

a 夏天 提交于 2020-01-01 04:11:05
问题 If class Human inherits some methods from superclass Mammal unchanged (such as laysEggs: () -> false ) and overrides other methods (such as postsToStackOverflow : () -> true ), is there any difference between how the different methods are indicated in portion of the UML static class diagram for Human ? For example, are only the overridden methods shown in the box for Human , or are both shown, with some annotation for the overridden methods? 回答1: Now there is. Some anonymous got me to dig