code: public static EventType valueOf(final Integer i) {
          final EventType type = translation.get(i);
          if (isNull(type)) {
              throw new IllegalArgumentException("Invalid event type: " + i);
          }
          return type;
      }
docs: Get the Fedora event type for a JCR type
  
  @param i the integer value of a JCR type
  @return EventType