code: @SuppressWarnings("unchecked")
      public <T> T getObjectByUuid(Class<T> clazz, UUID uuid) {
          final Query query = pm.newQuery(clazz, "uuid == :uuid");
          final List<T> result = (List<T>) query.execute(uuid);
          return Collections.isEmpty(result) ? null : result.get(0);
      }
docs: Retrieves an object by its UUID.
  @param <T> A type parameter. This type will be returned
  @param clazz the persistence class to retrive the ID for
  @param uuid the uuid of the object to retrieve
  @return an object of the specified type
  @since 1.0.0