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