Win a copy of The Business Blockchain this week in the Cloud forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Recursive List of Objects, mapping and persistence.

 
Josh Borg
Ranch Hand
Posts: 37
Chrome Eclipse IDE Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello, I need to know how to save classes, mapping and persistence, which contains a list of it's own class (menu itens):


ItemClass{
List<ItemClass>item;
}


Item {Item,Item{Item,Item{Item,Item},Item}},Item



My actual main class for test->



Entity Class

This approach of using father instance (botaoPai) in variable I saw in one site, and I know I even did it in main menu, because in this way I don't know how I recover its as a List.
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 35266
383
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm sorry, I don't understand the question. Do you get an error message? Does something in particular not work?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic