@Override
    public List<Data> getDataItems(Object obj) {
        if (obj == null || loggingConfigProvider.get().getMaxDataElementStringLength() == 0) {
            return null;
        }

        if (obj instanceof Properties) {
            return getDataItemsFromProperties((Properties) obj);
        }

        return getDataItemsFromJavaBean(obj);
    }
Create {@link Data} items from properties of the supplied POJO

@param obj POJO from which to extract properties
@return List of {@link Data} items representing properties of the supplied POJO
stroom-event-logging/stroom-event-logging-impl/src/main/java/stroom/event/logging/impl/StroomEventLoggingServiceImpl.java