nc.setParent(theWholeSoc);
nc.setParent(completeSociety);
  private void addNodes() {    NodeComponent[] nodesToWrite = getNodes();    for (int i = 0; i < nodesToWrite.length; i++) {      ComponentData nc = new GenericComponentData();      nc.setType(ComponentData.NODE);      nc.setName(nodesToWrite[i].getShortName());      nc.setClassName("org.cougaar.core.node.Node"); // leave this out?? FIXME      nc.setOwner(this);      nc.setParent(theWholeSoc);      ComponentName name = 	  new ComponentName((ConfigurableComponent)nodesToWrite[i], "ConfigurationFileName");      try {	nc.addParameter(((BaseComponent)nodesToWrite[i]).getProperty(name).getValue().toString());      } catch (NullPointerException e) {	nc.addParameter(nc.getName() + ".ini");      }      theWholeSoc.addChild(nc);      addAgents(nodesToWrite[i], nc);    }  }