class SpecOfferBenefitQueryBuilder extends AbstractQueryBuilder<SpecOfferBenefit> {

	@Override
	protected BaseQueryBuilder build(final SpecOfferBenefit context, final BaseQueryBuilder builder) {
		return builder
				.where()
				.openBracket()
					.addAndCondition(SPECOFFER_CONDITION, context.getSpecOffer())
					.addAndCondition(BENEFIT_CONDITION, context.getBenefit())
				.closeBracket();
	}

}