Question

I'm learning software engineering at school and right now we're focusing on data diagrams. That is, Objec Classes, associations (and multiplicities), Ternary (or in general N-ary) assocciations, aggregation classes and so on.

I've been taught that we are using the UML standard, but as far as I can see, most UML editors I've found don't even support (or do it very poorly) the UML concepts I am using, I find myself using text labels all over the diagram to express almost anything, and I can't even define an N-ary association properly. I can draw a diamond from the flow-chart drawing part and draw some arrows, then define multiplicities with labels, but I find that unprofessional.

So, I've got two questions: Is UML what I've been taught? Does it have a more specific name (I was told they were called data diagrams).

How can I check that I am using the correct tool and that it is really UML what I study?

No correct solution

OTHER TIPS

  • n-ary associations are UML. But they are not so often used really. Most of associations are one-or two-directional binary ones.
  • DATA diagrams are NOT UML. But the standard allows to use class diagrams for showing tables and their relationships. If you use class diagrams, it is UML, if data diagrams, it is not.
  • Multiplicities are UML. You should define them as attributes of association.
  • As for arrows, UML standard allows not to show them. But of course, they should be again set as attributes of association.

It seems that you use diagramming tool without UML class diagrams support. And youu need rather a modelling tool. Try VP-UML - it has free community license, including all types of UML diagrams. Or if you can install Eclipse, it has many UML plugins. The largest are EMF or Papyrus. They are free. Green UML is for starters.

I understand your troubles - many "UML" courses do not teach real UML. Many widely used tools have errors in UML realization. Some of them (IBM) are very far from the standard. The best place to check if you are on the right way, is the OMG UML 2.5 standard. It is beta2, but the content is virtually equal to the current 2.4.1, and is more easy to understand. (the current change has merely to simplify the documentation)

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top