Skip to main content

[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.


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:
Sent from the EclipseLink - Users mailing list archive at

Back to the top