private static String convertToString(final Object value, final String other) {
        if (value != null) {
            return value.toString();
        } else {
            return other;
        }
    }
If value is non-null apply getter1 to it.
If the result of that is non-null apply getter2 to the result.
If the result of that is non-null consume the result.
stroom-util-shared/src/main/java/stroom/util/shared/NullSafe.java