[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [eclipselink-users] MOXy: Inheritance hierarchy for classes?
|
Hi Polly,
In the Workbench you can right click on a class and choose the "Map
Inherited Attributes" option and choose how high up the hieracrhy you want
to see. Usually "To Root Minus One" is what I use.
-Blaise
amphoras wrote:
>
> Hi,
>
> Does the EclipseLink WorkBench's MOXy support mapping to a class
> hierarchy? Say these are my classes:
>
> public class Note extends Id {
> private String message;
> }
>
> public class Id {
> private String id;
> }
>
> Now when I use the Workbench to map the Note class, the only attribute I
> see under "Class Info" is "message". The "id" attribute from the
> superclass is missing. Is it possible to map to attributes from the
> superclass? I looked in the EclipseLink documentation but did not find an
> answer.
>
> Thanks for your help!
> Polly
>
--
View this message in context: http://www.nabble.com/MOXy%3A-Inheritance-hierarchy-for-classes--tp17518628p17541805.html
Sent from the EclipseLink - Users mailing list archive at Nabble.com.