private Object getProperty(MapProperties properties, String property, Object defaultValue, Class<?> clazz) {
		if(clazz == Float.class)
			return properties.get(property, String.class) != null ? Float.parseFloat(properties.get(property, String.class)) : defaultValue;
		else if(clazz == Integer.class)
			return properties.get(property, String.class) != null ? properties.get(property, Integer.class) : defaultValue;
		else if(clazz == Short.class)
			return properties.get(property, String.class) != null ? properties.get(property, Short.class) : defaultValue;
		else if(clazz == Boolean.class)
			return properties.get(property, String.class) != null ? Boolean.parseBoolean(properties.get(property, String.class)) : defaultValue;
		return defaultValue;
	}