↑ Table of Contents ↑ | §1.5.(b) Nested classes of roles >> |
§1.5.(a) Nested teams
If a role class is also marked using the team
modifier,
it may contain roles at the next level of nesting.
Such a hybrid role-and-team has all properties of both kinds of classes.
↑ Table of Contents ↑ | §1.5.(b) Nested classes of roles >> |
RoleAndTeam
starting in line 14 is a role ofOuterTeam
and at the same time a team containing a further roleInnerRole