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?

Polly,

In order to use the "Map Inherited Attributes" feature, you need to define your superclass(es) in the Non-Descriptor class repository.  This is a mechanism that controls what information we store about non-descriptor classes in your project.  To add these non-descriptor (non-persistent) classes to the Workbench, you should go to the "Workbench->Manage Non-Descriptor Classes..." menu.option.  There you can add one or many classes at a time that you want to use for superclass information.

The inherited attributes will show up in the tree after mapping inherited, but they will not appear in the Class Info/Attributes tab.

Let me know if you have any problems getting this to work.

Neil

Neil Hauge wrote:
Polly,

Yes, this should be working in M7.  We will try to reproduce the problem.

Neil

amphoras wrote:
Hi Blaise,

Ah, I did not think to look in the right-click menu.  I found the option
there and selected it as you instructed, but it doesn't seem to be working. 
The Class Info/Attributes tab doesn't show the attributes from the parent
class.  Is this supposed to be working in version M7?

Thanks for your help!
Polly



Blaise Doughan wrote:
  
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




    
  


_______________________________________________ eclipselink-users mailing list eclipselink-users@xxxxxxxxxxx https://dev.eclipse.org/mailman/listinfo/eclipselink-users


Back to the top