Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » UML2 » digram class problem
digram class problem [message #1019277] Fri, 15 March 2013 11:04 Go to next message
feres feres is currently offline feres feres
Messages: 7
Registered: March 2013
Junior Member
Hello everyone Smile

During my project study end I found a problem more precisely in class diagram

Here's the problem I have:

an electronic component belongs to one and only one category.

each category has specific properties that are different from other classes

you can find a property in several categories

each component has specific values ​​for these properties

I work for several days and whenever there is a problem. following two proposals that I worked on it

someone had had advice to give me thank you in advance
  • Attachment: class1.png
    (Size: 8.80KB, Downloaded 86 times)
  • Attachment: class2.png
    (Size: 12.28KB, Downloaded 93 times)
Re: digram class problem [message #1019380 is a reply to message #1019277] Fri, 15 March 2013 15:13 Go to previous messageGo to next message
Ed Willink is currently offline Ed Willink
Messages: 4116
Registered: July 2009
Senior Member
Hi

Unfortunately your English makes your problem far from clear.

A 3-way AssociationClass is unlikely to be a good solution, particularly
not unless your an expert.
A 2-way AssociationClass is also unlikely to be a good solution.

"an electronic component belongs to one and only one category." suggests
composition but none is shown.

"each category has specific properties that are different from other
classes". This seems to be a confusion of terminology and/or
meta-levels. Uniqueness/difference is normally correct by careful design
of your class model, or enforced by OCL constraints later.

Regards

Ed Willink

On 15/03/2013 14:46, feres feres wrote:
> Hello everyone :)
>
> During my project study end I found a problem more precisely in class diagram
>
> Here's the problem I have:
>
> an electronic component belongs to one and only one category.
>
> each category has specific properties that are different from other classes
>
> you can find a property in several categories
>
> each component has specific values ​​for these properties
>
> I work for several days and whenever there is a problem. following two proposals that I worked on it
>
> someone had had advice to give me thank you in advance
icon4.gif  Re: digram class problem [message #1019397 is a reply to message #1019380] Fri, 15 March 2013 15:43 Go to previous messageGo to next message
feres feres is currently offline feres feres
Messages: 7
Registered: March 2013
Junior Member
Thank you for your cooperation Smile

So, I have to remove 3-way AssociationClass. and adding the composition in the other example.

Is that I am far from needs?

What thinks need to change in my work ? Rolling Eyes
  • Attachment: class2.png
    (Size: 13.22KB, Downloaded 79 times)
icon4.gif  Re: digram class problem [message #1019398 is a reply to message #1019380] Fri, 15 March 2013 15:44 Go to previous messageGo to next message
feres feres is currently offline feres feres
Messages: 7
Registered: March 2013
Junior Member
Thank you for your cooperation Smile

So, I have to remove 3-way AssociationClass. and adding the composition in the other example.

Is that I am far from needs?

What thinks need to change in my work ? Rolling Eyes
  • Attachment: class2.png
    (Size: 13.22KB, Downloaded 78 times)
Re: digram class problem [message #1019403 is a reply to message #1019398] Fri, 15 March 2013 15:53 Go to previous messageGo to next message
Ed Willink is currently offline Ed Willink
Messages: 4116
Registered: July 2009
Senior Member
Hi

I don't understand your questions.

I don't understand :roll: - should I be rolling around with laughter?

I suggest you send in your assignment to your supervisor and see what
mark you get.

Please do not waste our time on your student work.

Regards

Ed Willink


On 15/03/2013 15:44, feres feres wrote:
> Thank you for your cooperation :)
>
> So, I have to remove 3-way AssociationClass. and adding the composition in the other example.
>
> Is that I am far from needs?
>
> What thinks need to change in my work ? :roll:
icon14.gif  Re: digram class problem [message #1019408 is a reply to message #1019403] Fri, 15 March 2013 16:09 Go to previous message
feres feres is currently offline feres feres
Messages: 7
Registered: March 2013
Junior Member
Thank you for your comment Razz
Previous Topic:[uml2ecore] UML2EcoreConvertor::ProcessInvariantConstraint
Next Topic:Referencing UML profiles and schemaLocation
Goto Forum:
  


Current Time: Sat Nov 01 03:29:33 GMT 2014

Powered by FUDForum. Page generated in 0.03245 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software