Beginner |
|
Joined: Tue Oct 25, 2005 2:44 am Posts: 20 Location: Sydney, Australia
|
Hi, a question about subclasses:
I have a class hierarchy that extends up to four levels deep, i.e.
class abstract BaseClass1
class abstract BaseClass2 : BaseClass1
class abstract BaseClass3 : BaseClass2
The classes I then implement inherit from a particular level depending on their capabilities:
class RealClass1 : BaseClass2 (discrimator-value = "1")
class RealClass2 : BaseClass3 (discrimator-value = "2")
etc
If I'm correct in that you can't have SubClass elements nested inside SubClass elements, does this mean I have to explicitly map each classes fields or is there a better way to map this?
|
|