[otj-users] Nested teams and role interfaces

Andreas Werner andreas at wernerx.de
Wed Aug 8 14:02:48 CEST 2007


Hi Carsten,

thanks for your reply.

> Do you have a scenario where you need this?
No, I don't have any scenario for this use case. ;)

My problem is that I am going to build a UML metamodel extension for
ObjectTeams in my diploma thesis. More specific, the problem is that I
have something like a MetaTeam and a MetaRole, from what MetaTeamRole is
inheriting. While MetaTeam is only a Class, MetaRole can be one of Class
or Interface.
So, what is then a MetaTeamRole? A Class or a mixture of Class and
Interface? The latter would be very unusual, therefore my hope was, that
something like this is not allowed by the OTJLD:

> team class Foo {
> 	team interface NestedTeam {
> 	}
> }

But I just wanted to get sure, that's why I asked the mailing list...

Andreas



More information about the otj-users mailing list