public static Object convertToObject(String datatype,String value) throws ParseException{
		switch(datatype){
		case "class java.lang.Integer":return new Integer(value);
		case "class java.lang.String":return value;
		case "class java.lang.Double":return new Double(value);
		case "class java.lang.Long":return new Long(value);
		case "class java.lang.Short":return new Short(value);
		case "class java.math.BigInteger":return new BigInteger(value);
		case "class java.math.BigDecimal":return new BigDecimal(value);
		case "class java.lang.Boolean":return new Boolean(value);
		case "class java.sql.Date":
			SimpleDateFormat format = new SimpleDateFormat("yyyyMMdd");
			java.util.Date parsed = format.parse("20110210");
	        return new java.sql.Date(parsed.getTime());
		}
		return "This datatype is not defined in Introspect";
	}