public void removeChild(TreeObject child) { children.remove(child); child.setParent(null); }
public void addChild(TreeObject child) { children.add(child); child.setParent(this); }