void (ServiceNode node) { List<ServiceViewItem> children = super.getChildren(); children.clear(); List<ServiceViewItem> nodeChildren = ((ServiceViewItem)node).myChildren; children.addAll(nodeChildren); nodeChildren.clear(); for (ServiceViewItem child : children) { child.setParent(this); } myChildrenInitialized = node.myChildrenInitialized; myLoaded = node.myLoaded; }