src/main/java/com/tri/persistence/jpql/QueryBuilder.java
public QueryBuilder setParameter(final Parameter<?> parameter) {
		if (parent == null) {
			parameters.add(parameter);
		} else {
			parent.setParameter(parameter);
		}
		return this;
	}
public QueryBuilder setParameter(final Parameter<?> parameter) {
		if (parent == null) {
			parameters.add(parameter);
		} else {
			parent.setParameter(parameter);
		}
		return this;
	}
Adds given parameter to the builder. All parameters will added to the JPA
Query returned by a call to {@link #createQuery(EntityManager)} or
{@link #createQuery(EntityManager, Class)}.

@param parameter
parameter to add
@return builder reference, fluent api support