code: public static Class<?> mapSimpleType(RamlParamType param, String format, String rawType) {
  
  		switch (param) {
  			case BOOLEAN:
  				return Boolean.class;
  			case DATE:
  				return mapDateFormat(rawType);
  			case INTEGER: {
  				Class<?> fromFormat = mapNumberFromFormat(format);
  				if (fromFormat == Double.class) {
  					throw new IllegalStateException();
  				}
  				if (fromFormat == null) {
  					return Long.class; // retained for backward compatibility
  				} else {
  					return fromFormat;
  				}
  			}
  			case NUMBER: {
  				Class<?> fromFormat = mapNumberFromFormat(format);
  				if (fromFormat == null) {
  					return BigDecimal.class; // retained for backward
  												// compatibility
  				} else {
  					return fromFormat;
  				}
  			}
  			case FILE:
  				return MultipartFile.class;
  			default:
  				return String.class;
  		}
  
  	}
docs: Maps simple types supported by RAML into primitives and other simple Java
  types
  
  @param param
  The Type to map
  @param format
  Number format specified
  @param rawType
  RAML type
  @return The Java Class which maps to this Simple RAML ParamType or string
  if one is not found