I was trying to implement a class Node to build a tree of Nodes. Basically, each Node can have children, so if I specify multiple nodes I can build a tree out of it. As an example: The problem I am having problems to solve is to build this tree and find all children of a given element (in this
Tag: parent-child
How check if an Attribute(object) is null in Java
I need specific data for a report, then I gettin all information from a parent object Object1 It has many attributes, object attributes Object11, Object12, Object13, attr1, attr2… The attributes has many attributes too Object111, Object131, Object132,.. by now I got 5 level data attributes. When I send information to my report it says, Error: cause:null object1.getIdObject11().getIdObject111().getDescription; It trows error