plugin.setName("org.cougaar.domain.mlm.plugin.organization.OrgDataPlugIn");
plugin.setName("org.cougaar.mlm.plugin.organization.OrgDataPlugIn");
    public ComponentData addComponentData(ComponentData data) {      if (this.getShortName().equals(data.getName())) {        // Add the planserver plugin.        GenericComponentData plugin = new GenericComponentData();        plugin.setType(ComponentData.PLUGIN);        plugin.setName(planServer_name);        plugin.setParent(data);        plugin.setClassName(pluginClass_name);        plugin.setOwner(this);        plugin.addParameter(propPSPParameter.getValue().toString());	// If this agent doesn't already have a plugin with this name, add it	// Otherwise, replace the existing plugin with this name, with a new one	if (data.getChildIndex(plugin) < 0)	  data.addChild(plugin);	else	  data.setChild(data.getChildIndex(plugin), plugin);              if ((propOrgAsset.getValue().toString().equals(TRUE))) {                    // Add the OrgRTData plugin.          plugin = new GenericComponentData();          plugin.setType(ComponentData.PLUGIN);          plugin.setName("org.cougaar.domain.mlm.plugin.organization.OrgDataPlugIn");          plugin.setParent(data);          plugin.setClassName("org.cougaar.domain.mlm.plugin.organization.OrgDataPlugIn");          plugin.setOwner(this);          data.addChild(plugin);          // Add the OrgReport plugin.          plugin = new GenericComponentData();          plugin.setType(ComponentData.PLUGIN);          plugin.setName("org.cougaar.domain.mlm.plugin.organization.OrgReportPlugIn");          plugin.setParent(data);          plugin.setClassName("org.cougaar.domain.mlm.plugin.organization.OrgReportPlugIn");          plugin.setOwner(this);          data.addChild(plugin);        }        //        data = addAssetData(data);      }      else if (data.childCount() > 0) {        // for each child, call this same method.        ComponentData[] children = data.getChildren();        for (int i = 0; i < children.length; i++) {          data = addComponentData(children[i]);        }      }      return data;    }