All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.jwebmp.entityassist.querybuilder.builders.GroupByExpression Maven / Gradle / Ivy

There is a newer version: 0.68.0.1
Show newest version
package com.jwebmp.entityassist.querybuilder.builders;

import javax.persistence.metamodel.Attribute;

/**
 * Desginates a group by expression for a query
 */
@SuppressWarnings("unused")
final class GroupByExpression
{
	/**
	 * The attribute to apply
	 */
	private Attribute groupByAttribute;

	/**
	 * A new blank instance
	 */
	GroupByExpression()
	{
		//No config required
	}

	/**
	 * A new group by expression with the given attribute
	 *
	 * @param groupByAttribute
	 * 		The attribute to use
	 */
	GroupByExpression(Attribute groupByAttribute)
	{
		this.groupByAttribute = groupByAttribute;

	}

	/**
	 * Returns the attribute applied for the group bys
	 *
	 * @return The attribute
	 */
	public Attribute getGroupByAttribute()
	{
		return groupByAttribute;
	}

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy