I have a data model for Formula 1 races with 3 entities:
- RacingActor: Abstract entity
- Pilot: inherits from RacingActor
- Team: inherits from RacingActor

If I generate NSManagedObject subclasses to represent these entities, the code generated doesn't represent at all this design:
- Everything inherits from
NSManagedObject - Nothing prevents me from instantiating RacingActor
- The team property in Pilot is of type
NSManagedObjectinstead of Team
Is this the expected behaviour? Am I supposed to fix the code generated by Xcode? Am I missing something?
BTW, I'm using Xcode 4.3.3