posted 10 years ago
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.