private static int changePropertiesTypeToInt(String type) {
		int result = -1;
		if (type.equals("Integer") || type.equals("Int")) {

			result = IntegerType;
		} else if (type.equals("Long")) {
			result = LongType;
		} else if (type.equals("String")) {
			result = StringType;
		} else if (type.equals("Short")) {
			result = ShortType;
		} else if (type.equals("Date")) {
			result = DateType;
		} else if (type.equals("Boolean")) {
			result = BooleanType;
		} else if (type.equals("Float")) {
			result = FloatType;
		} else if (type.equals("Double")) {
			result = DoubleType;
		}

		return result;
	}