class DepartmentSpecialtyQueryBuilder extends AbstractQueryBuilder<DepartmentSpecialty> {

	@Override
	protected BaseQueryBuilder build(final DepartmentSpecialty context, final BaseQueryBuilder builder) {
		return builder	
				.where()
				.openBracket()
					.addAndCondition(DEPARTMENT_CONDITION, context.getDepartment())
					.addAndCondition(SPECIALTY_CONDITION, context.getSpecialty())
				.closeBracket();
	}

}