Ellen Van Paesschen, Wolfgang De Meuter, Maja D’Hondt
In object-oriented software engineering roles are considered both classifications and instances. To reduce the gap between the conceptual modelling of roles and a corresponding implementation, we propose a new role modelling concept based on warped inheritance hierarchies. We integrated this new modelling concept in our prototype-based object-oriented round-trip engineering environment SelfSync. In this way it is possible to model roles in an Extended Entity-Relationship diagram while the corresponding implementation objects are automatically created and synchronized with the conceptual model. We apply constraint enforcement during the lifetime of role objects, based on dependency and role combinations.