code: @SuppressWarnings("unchecked")
      @Override
      public final Collection<V>
              getCollection(final NamedParameterQueryData query) {
  
          checkNotNull(query, "Received a null pointer as the query");
  
          // Processes the query
          return buildQuery(query).getResultList();
      }
docs: Queries the entities in the repository and returns a subset of them.
  <p>
  The collection is created by building a query from the received
  {@code QueryData} and executing it.
  
  @param query
  the query user to acquire the entities
  @return the queried subset of entities