Help with UML class diagram

  • Thread starter XodoX
  • Start date
  • #1
203
0
I'm having difficulties with two UML class diagrams.

That's the first one:

http://img821.imageshack.us/i/umlv.png/

I can't really read the words next to bird, but it looks like "Tran" and "Saad" ( some kind of bird?) I don't really know how to explain this? You're supposed to describe it. Flycatcher and Cardinal are subclasses of bird, and the two others are, I don't know, some other class of birds?

Then, there's this diagram:

http://img193.imageshack.us/i/uml1.png/

How do I describe what this diagram illustrates? The first box says "aSim:Sim" The other one "simList:Object". I don't get it.
 

Answers and Replies

  • #2
297
2
I can't really read the words next to bird, but it looks like "Tran" and "Saad" ( some kind of bird?) I don't really know how to explain this? You're supposed to describe it. Flycatcher and Cardinal are subclasses of bird, and the two others are, I don't know, some other class of birds?

Wow that's hard to read. Best I can make it out, and using a bit of logic, it's "Tree" and "Seed". You remember what the dashed arrow means?

How do I describe what this diagram illustrates? The first box says "aSim:Sim" The other one "simList:Object". I don't get it.

Do you not have a reference for sequence diagrams? aSim:Sim is in the form name:ClassName. Note the sequence of events. What message starts it off, and what happens as a result?
 
  • #3
203
0
ops, lol, yeah, tree and seed. That's all I have. Nothing else. I think the dashed line means something like "co-requisite", and the other line "pre-requisite". Like, you know, in terms of hierarchy - the dependency.
 
  • #4
297
2
ops, lol, yeah, tree and seed. That's all I have. Nothing else. I think the dashed line means something like "co-requisite", and the other line "pre-requisite". Like, you know, in terms of hierarchy - the dependency.
Don't think the "co-" and "pre-" thing is true, but the dashed line should indeed mean "dependency". So a Bird class depends on the Tree and Seed classes.

If you don't have any documentation for UML, I strongly suggest you find one. There's some good books published for it, and of course there's a lot of information on the web.

For example, this site seems to have a useful "UML Reference Card":

http://www.holub.com/goodies/uml/

A little googling should get you the info you need to understand the symbols (and more). Of all skills that get you far when learning things, research skills are some of the most useful.
 

Related Threads on Help with UML class diagram

  • Last Post
Replies
2
Views
2K
Replies
4
Views
796
  • Last Post
Replies
3
Views
4K
  • Last Post
Replies
2
Views
128
  • Last Post
Replies
0
Views
1K
  • Last Post
Replies
1
Views
654
  • Last Post
Replies
2
Views
2K
Replies
2
Views
5K
Replies
3
Views
869
Top