Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » UML2 » Semantics of Association and Aggregation/Composition (Semantics)
icon1.gif  Semantics of Association and Aggregation/Composition [message #517759] Mon, 01 March 2010 18:09 Go to previous message
amir  is currently offline amir
Messages: 4
Registered: March 2010
Junior Member
Hi All

My question is very trivial and at the same time very technical.

Suppose, we have a system, where there are 5 Universities. Each university is composed (Composition) of 10 departments. And each department has 20 faculty members (Composition) and 10 courses (Composition). Also, we have an association of "teaching" between faculty members and courses. Now the question is, 1) Considering the type of aggregation is composition and faculty members and courses strictly belong to one and only one department, Does this mean that faculties must teach courses strictly offered by the same department or they could take courses from other departments without conceptually belonging to/ working for them? Wouldn't make sense if we had shared aggregations instead of compositions in case of the relationship between department and faculty, making it possible for one faculty to work in other departments and then taking courses offered by other departments? 2) taking the original design using compositions, Is it possible to have one faculty to take courses from other universities, without conceptually working for it? Note that this hierarchical composition could be extended. 3) how is it going to be implemented code generation-wise, considering one particular department owns instances of faculty and courses, and at the same time handling the association between their instances?

This is just an example, so don't restrict yourself to this example.

With Regards
 
Read Message icon1.gif
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic:Semantics of Association and Aggregation/Composition
Next Topic:Extending the Standard profile
Goto Forum:
  


Current Time: Wed May 22 03:00:03 EDT 2013

Powered by FUDForum. Page generated in 0.58190 seconds