System.out.println("setValue " + ad.getID() + " " + obj);
  void setValue(Object obj) {    System.out.println("setValue " + ad.getID() + " " + obj);    if(obj == null) {      Vector def = new Vector();      String[] defValues = ad.getDefaultValue();      for(int i = 0; i < defValues.length; i++) {	def.addElement(AD.parse(defValues[i], 0, ad.getType()));      }      if(ad.getCardinality() < 0) {	obj = def;      } else {	obj = Util.toArray(def, AD.getPrimitiveClass(ad.getType()));      }    }    if(obj instanceof Vector) {      setVector((Vector)obj);    } else if(obj.getClass().isArray()) {      setArray(obj);    } else {      throw new IllegalArgumentException("Object must be vector or array, " + 					 "found " + obj.getClass().getName());    }  }