class EventUtils {

  public static Event getEventFromTransactionEvent(TransactionEventRecord transactionEventRecord) {
    if (transactionEventRecord instanceof Put) {
      return ((Put)transactionEventRecord).getEvent();
    }
    return null;
  }

}