if (type.equalsIgnoreCase("Node.AgentManager.Agent")) type = ComponentData.AGENT; else if (type.equalsIgnoreCase("Node.AgentManager.Binder")) type = ComponentData.NODEBINDER; else if (type.equalsIgnoreCase("Node.AgentManager.Agent.PluginManager.Binder")) type = ComponentData.AGENTBINDER; else if (type.equalsIgnoreCase("Node.AgentManager.Agent.PluginManager.Plugin")) type = ComponentData.PLUGIN;
  public void setComponentType(String type) {    if (type == null || type.equals("") || type.equals(this.getComponentType()))      return;    Property p = getProperty(PROP_TYPE);    if (p != null) {      p.setValue(type);      fireModification();    }  }