/*
public static VDBTemplateInstance copyVDBTemplateInstance(VDBTemplateInstance source) {	VDBTemplateInstance vdbTemplateInstance = new VDBTemplateInstance(source.getName(), source.getTemplate());	vdbTemplateInstance.setProperties((Hashtable)source.getProperties().clone(),								  	  (Vector)source.getPropertiesV().clone());	Hashtable ios = new Hashtable();/*	Enumeration keys = source.getOutputs().keys();	while (keys.hasMoreElements())	{		String key = keys.nextElement().toString();				VDBFieldData field = (VDBFieldData)source.getTemplate().getOutputs().get(key);		VDBTemplateField sourcetf = (VDBTemplateField)source.getOutputs().get(key);				VDBTemplateField tf = new VDBTemplateField(key, vdbTemplateInstance, field);		tf.setDescription(sourcetf.getDescription());		String initVal = sourcetf.getValue();		if (initVal!=null)			tf.setValueSilently(initVal);		ios.put(key, tf);	}*/	vdbTemplateInstance.setOutputs(ios);	ios = new Hashtable();/*	keys = source.getInputs().keys();	while (keys.hasMoreElements())	{		String key = keys.nextElement().toString();				VDBFieldData field = (VDBFieldData)source.getTemplate().getInputs().get(key);		VDBTemplateField sourcetf = (VDBTemplateField)source.getInputs().get(key);				VDBTemplateField tf = new VDBTemplateField(key, vdbTemplateInstance, field);		tf.setDescription(sourcetf.getDescription());		String initVal = sourcetf.getValue();		if (initVal!=null)			tf.setValueSilently(initVal);		ios.put(key, tf);	}*/	vdbTemplateInstance.setInputs(ios);	return vdbTemplateInstance;}