Questions tagged [class-diagram]

UML diagram describing object classes and relations among them.

A class diagram is a component of the Unified Modeling Language decribing object classes in the object oriented programming paradigm :

  • What they contain (attributes)
  • How they behave (methods)
  • How they are linked together (dependancy)
1529 questions
9
votes
2 answers

Tool to automatically create a class diagram for Qt application

I am having a problem finding a tool to create a UML class diagram for my Qt application. I tried both BOUML and Umbrello, but both of them have problems with some classes. I am working on Ubuntu.
Radwa
  • 117
  • 1
  • 1
  • 6
9
votes
3 answers

UMLet Diagrams like Use Case, Class, Activity, etc

Can you please help me find a detailed tutorial on this topics: UML Behavior Diagrams Use Case Diagrams Activity Diagrams Structure Diagrams Class Diagram Interaction Diagrams Sequence Diagram Communication Diagram I'm really a newbie and I…
user1246567
  • 93
  • 1
  • 1
  • 3
9
votes
2 answers

what is the differences between class and dataType

As i read through UML specification that: class has a set of attributes/operations and data type has a set of attributes/operations 1)with regards to attributes/operations of data type what this means? because i don't know how such a data type has…
Andrew
  • 713
  • 3
  • 10
  • 19
9
votes
6 answers

Where can I find .NET Framework class diagram?

I just need a file (picture, pdf or other type file for printing) of the framework structure. It is very usefull while learning .Net framework.
CoolMagic
  • 258
  • 1
  • 2
  • 7
8
votes
1 answer

StarUML class diagram: add attribute of the type Guid[]

In StarUML 5.0, I am trying to define a class with an attribute of the type Guid[] (an array of Guid Structure). But it is not allowable to enter "-guids : Guid[]" since StarUML automatically discards the square brackets. I have not tried other…
kennyzx
  • 12,845
  • 6
  • 39
  • 83
8
votes
2 answers

Generating diagrams in Pharo/Squeak Smalltalk

I'm having trouble understanding big code libraries in Pharo and Squeak, is there is a typical template script to generate a static class relationship diagram (not necessarily UML) and a dynamic object relationship diagram in Pharo or Squeak without…
user869097
  • 1,362
  • 8
  • 16
8
votes
1 answer

How to model a Firebase Database in UML diagrams?

I have a project in android so I decided to make a Quiz app, and I used Firebase in it. But I also need to design UML diagrams for this project and I was wondering if I can do it since Firebase is a Table-less database.
Monica Khoury
  • 109
  • 1
  • 6
8
votes
3 answers

How do I display the full method signature in a class diagram in Visual Studio 2015?

My class diagram just shows the method names but I'd like to see the full signature. How is this done in VS Professional 2015? I don't see it in the context menu...
Kim
  • 1,068
  • 13
  • 25
8
votes
1 answer

How do you generate a Code Map diagram of your project in Visual Studio Community 2015?

Microsoft's documentation is incredibly confusing or lacking in showing us how to generate a code structure / Code Map. On visualstudio.com, in the "Compare Visual Studio 2015 Offerings" table, under Architecture and Modeling, it is shown that…
Spectraljump
  • 4,189
  • 10
  • 40
  • 55
8
votes
2 answers

how to convert mysql database to class diagram

I have a mysql database and now I want to convert it into class diagram. Is there any way to convert mysql database to class diagram? I'm using MySql Workbench for design database
Sajitha Rathnayake
  • 1,688
  • 3
  • 26
  • 47
8
votes
1 answer

When should I use OMT instead of UML- class diagram in practice?

Although I found an article about OMTvs. UML I can't figure out the consequences of using OMT instead of UML- class diagram. What are the benefits of OMT compared to UML- class diagram? As far I know I can depict a class diagram in nearly the same…
My-Name-Is
  • 4,814
  • 10
  • 44
  • 84
8
votes
5 answers

understanding class diagram

Can anyone explain what the connectors mean? (source: stsmedia.net) What freeware can generate a diagram like this?
cometta
  • 35,071
  • 77
  • 215
  • 324
8
votes
3 answers

behavior vs operation in UML

To the best of my knowledge, the operation is resides in the second compartment of class at class diagram. The following is Behavior definition from UML specification(August 2011 ,page 445) 13.3.2 Behavior (from BasicBehaviors) Behavior is a…
user2019510
  • 1,460
  • 5
  • 16
  • 29
7
votes
1 answer

UML Class Diagram for an E-commerce webSite?

The diagrams below are my very first attempt at creating a class diagram and the use case diagram describing an E-commerce or Online shopping. I'm sure its a poor design and full of flaws, but I'm hoping to learn from you guys how you would design…
Dan
  • 681
  • 2
  • 11
  • 23
7
votes
1 answer

Are class diagrams automatically updated? If not, is it possible to do this?

Are class diagrams automatically updated? If not, is it possible to do this, so new classes are automatically added and removed/renamed classes are removed from the class diagram? Maybe there's a plugin for this?
lesderid
  • 3,388
  • 8
  • 39
  • 65