Adds the database operation to the current event, either the <tran> element or the <dbEvent> element. If the event type exists and already contains an operation, addOperation()throws Exception returns null. Otherwise, it returns a String, the Element of the current operation.