code: public boolean setEventType(EventType eventType) throws LockingException {
                  Validate.notNull(eventType);
  
                  if (isFieldLocked(EntryField.EVENTTYPE)) {
                          if (!this.eventType.equals(eventType)) {
                                  throw new LockingException(EntryField.EVENTTYPE);
                          }
                          return false;
                  } else {
                          this.eventType = eventType;
                          return true;
                  }
          }
docs: Sets the event type of the log entry ({@link #eventType}).
  
  @param eventType Event type to set.
  @throws LockingException if the field EVENTTYPE is locked and the
  given event type differs from {@link #eventType}.
  @return <code>true</code> if {@link #eventType} was modified;<br>
  <code>false</code> otherwise.