private static boolean isSupportedPropertyType(final Class<?> type) {
        boolean isSupported = type.equals(String.class) ||
                              type.equals(Byte.class) ||
                              type.equals(byte.class) ||
                              type.equals(Integer.class) ||
                              type.equals(int.class) ||
                              type.equals(Long.class) ||
                              type.equals(long.class) ||
                              type.equals(Short.class) ||
                              type.equals(short.class) ||
                              type.equals(Float.class) ||
                              type.equals(float.class) ||
                              type.equals(Double.class) ||
                              type.equals(double.class) ||
                              type.equals(Boolean.class) ||
                              type.equals(boolean.class) ||
                              type.equals(Character.class) ||
                              type.equals(char.class) ||
                              Set.class.isAssignableFrom(type) ||
                              List.class.isAssignableFrom(type) ||
                              Map.class.isAssignableFrom(type) ||
                              DocRef.class.isAssignableFrom(type) ||
                              Enum.class.isAssignableFrom(type) ||
                              Path.class.isAssignableFrom(type) ||
                              StroomDuration.class.isAssignableFrom(type) ||
                              ByteSize.class.isAssignableFrom(type);

        LOGGER.trace("isSupportedPropertyType({}), returning: {}", type, isSupported);
        return isSupported;
    }
@param dbConfigProperty The config property object obtained from the database
@return The updated typed value from the object model
stroom-config/stroom-config-global-impl/src/main/java/stroom/config/global/impl/ConfigMapper.java