code: public static EventType map(Event event) {
          EventType eventType = new EventType();
          eventType.setTimestamp(Converter.convertDate(event.getTimestamp()));
          eventType.setEventType(convertEventType(event.getEventType()));
          OriginatorType origType = mapOriginator(event.getOriginator());
          eventType.setOriginator(origType);
          MessageInfoType miType = mapMessageInfo(event.getMessageInfo());
          eventType.setMessageInfo(miType);
          eventType.setCustomInfo(convertCustomInfo(event.getCustomInfo()));
          eventType.setContentCut(event.isContentCut());
          if (event.getContent() != null) {
              DataHandler datHandler = getDataHandlerForString(event);
              eventType.setContent(datHandler);
          }
          return eventType;
      }
docs: convert Event bean to EventType manually.
  
  @param event the event
  @return the event type