code: public void addField(String fldName, Type type) {
  		fields.put(fldName, type);
  		if (myFieldSet != null)
  			myFieldSet.add(fldName);
  	}
docs: Adds a field to this schema having a specified name and type.
  
  @param fldName
  the name of the field
  @param type
  the type of the field, according to the constants in
  {@link Type}