Book a Demo

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - C. Bulach

Pages: [1]
1
I use Java API to copy a class from a package to an other one.

In my case, I can get some enumeration classes, which contain more than 5000 attributes (for 5000 distinct values...)

To do the copy, I create each element, based on the value of the original package. So in that case, I create a new class, and make a loop (5000 times) to add attributes one after the other one. This takes a long time to process...

Is there a better way to do this ?
For instance :
- use an API which allows to add several attributes at once ?
- use an API which allows to copy a class from a package to an other one  or a package to an other one ?
(I haven't found such APIs yet...)

Thanks for any information or assistance...

Christophe

Pages: [1]