Book a Demo

Author Topic: How to create a Class Diagram  (Read 25338 times)

tantra

  • EA Novice
  • *
  • Posts: 8
  • Karma: +0/-0
    • View Profile
Re: How to create a Class Diagram
« Reply #15 on: June 02, 2010, 06:49:59 am »
I don't know, I definete sentence good or no?

"Also for storing goods in storage group, there are shelves standard
size (small or large) and the maximum number of this type of goods, a rack of this could accept, and which are also described as a feature of the group of goods.
"

Can you tell me :)

tantra

  • EA Novice
  • *
  • Posts: 8
  • Karma: +0/-0
    • View Profile
Re: How to create a Class Diagram
« Reply #16 on: June 02, 2010, 07:27:08 pm »
Can you tell me a sentence is well defined in the diagram or not



"Also for storing goods in storage group, there are shelves standard
size (small or large) and the maximum number of this type of goods, a rack of this could accept, and which are also described as a feature of the group of goods."


If this is not good please can you make something like it for me!?

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: How to create a Class Diagram
« Reply #17 on: June 02, 2010, 07:57:10 pm »
Oh, I certainly your task description originally was given to you in another language. :o

On thing you might want to look at are the cardinalities of your associations. (explicitly demanded in the task)

Geert

beginner

  • Guest
Re: How to create a Class Diagram
« Reply #18 on: June 02, 2010, 08:26:35 pm »
Quote
I don't know, I definete sentence good or no?

"Also for storing goods in storage group, there are shelves standard
size (small or large) and the maximum number of this type of goods, a rack of this could accept, and which are also described as a feature of the group of goods.
"

Can you tell me :)
It doesn't make sense if anybody here is doing your homework. You have to do that by yourself. You need to dig what a class is. So a more detailed question: where in your model would you find the goods. Where the storage? What are the attributes you need for each class?

Go try to find the answers. Add the according classes and their attributes. Check again your requirements. Loop until you're done.

b.

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: How to create a Class Diagram
« Reply #19 on: June 03, 2010, 03:39:23 pm »
If I were to evaluate this diagram it would give it a 3/10 or something like that ;D

Geert

tantra

  • EA Novice
  • *
  • Posts: 8
  • Karma: +0/-0
    • View Profile
Re: How to create a Class Diagram
« Reply #20 on: June 03, 2010, 07:50:15 pm »
Quote
If I were to evaluate this diagram it would give it a 3/10 or something like that ;D

Geert


What I do for you to assess me on 10/10, please tell me what to do

Tantra

sargasso

  • EA Practitioner
  • ***
  • Posts: 1406
  • Karma: +1/-2
  • 10 COMFROM 30; 20 HALT; 30 ONSUB(50,90,10)
    • View Profile
Re: How to create a Class Diagram
« Reply #21 on: June 03, 2010, 10:59:21 pm »
I can hold my breath no longer.

trantra,
Please explain, exactly where you got this "task" from.  If, as we all expect, it is a piece of "homework" then tell me the name and address of the so-called teacher, because I'm going to kill him.
If not, then just why is this ill-defined piece of work allowed to exist on this planet. I'm not talking about your attempted solutions, I'm talking about the intrinsic nature of the "task" posed.

I'd give the task description about -30 in 10.
bruce
"It is not so expressed, but what of that?
'Twere good you do so much for charity."

Oh I forgot, we aren't doing him are we.

sargasso

  • EA Practitioner
  • ***
  • Posts: 1406
  • Karma: +1/-2
  • 10 COMFROM 30; 20 HALT; 30 ONSUB(50,90,10)
    • View Profile
Re: How to create a Class Diagram
« Reply #22 on: June 03, 2010, 11:39:24 pm »
Quote
"Also for storing goods in storage group, there are shelves standard size (small or large) and the maximum number of this type of goods, a rack of this could accept, and which are also described as a feature of the group of goods."

NO!

Apparently there are things called "shelves" that exist, whether or not anything else in the universe exists, that have the following single attribute:
they have a "size_containment":[small,medium,large] which represents the maximum number of "group of goods" that could possibly be held, no mixing is allowed.

But given they have no identifier, them I'm damned if I know how you will find them.  Are they on Venus? or a small planet somewhere in the vicinity of Betelgeuse.  Mind you, it doesn't really matter where they are because in terms of the system so far all that matters is that they exist.

So let's try a different path, exactly which problem are you trying to solve.  I'm still not really clear.  Are there some sort of things that you are trying to stick on shelves somewhere in the universe? Once you have them there, is there a possible use for them?  Once you've got one of them, does it do something?  Do they sing? Can they dance? Do they play the bagpipes? Can they make haggis? Or perhaps they are just things that we can create code for to satisfy the daily pay rate.

grrrrrrr
bruce
"It is not so expressed, but what of that?
'Twere good you do so much for charity."

Oh I forgot, we aren't doing him are we.

beginner

  • Guest
Re: How to create a Class Diagram
« Reply #23 on: June 04, 2010, 12:05:06 am »
Watch out. The dinosaurs are back.

b.

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8626
  • Karma: +259/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Re: How to create a Class Diagram
« Reply #24 on: June 04, 2010, 12:58:41 am »
Quote
Watch out. The dinosaurs are back.

b.
Isn't it great?!?!

We've missed him...

Paolo
Inconsistently correct systems DON'T EXIST!
... Therefore, aim for consistency; in the expectation of achieving correctness....
-Semantica-
Helsinki Principle Rules!