setPropertyClass(StringRange.class);
setPropertyClass(String.class);
  public ComponentTypeProperty (ConfigurableComponent c, String name, Object value){    super(c, name, value);    // Build up the set from the known values in ComponentData    allComponents = new HashSet();    allComponents.add(new StringRange(ComponentData.SOCIETY));    allComponents.add(new StringRange(ComponentData.HOST));    allComponents.add(new StringRange(ComponentData.AGENT));    allComponents.add(new StringRange(ComponentData.NODE));    allComponents.add(new StringRange(ComponentData.PLUGIN));    allComponents.add(new StringRange(ComponentData.NODEBINDER));    allComponents.add(new StringRange(ComponentData.AGENTBINDER));    allComponents.add(new StringRange(ComponentData.SERVICE));    setAllowedValues(allComponents);    setPropertyClass(StringRange.class);  }