class SpecOfferWaveQueryBuilder extends AbstractQueryBuilder<SpecOfferWave> {

	@Override
	protected BaseQueryBuilder build(final SpecOfferWave context, final BaseQueryBuilder builder) {
		return builder
				.where()
				.openBracket()
					.addAndCondition(SPECOFFER_CONDITION, context.getSpecOffer())
					.addAndCondition(WAVETYPE_CONDITION, context.getWaveType())
					.addAndCondition(LICCOUNT_CONDITION, context.getLicCount())
					.addAndCondition(STATECOUNT_CONDITION, context.getStateCount())
					.addAndCondition(BENEFITCOUNT_CONDITION, context.getBenefitCount())
					.addAndCondition(TARGETCOUNT_CONDITION, context.getTargetCount())
					.addAndCondition(BEGINDATE_CONDITION, context.getBeginDate())
					.addAndCondition(ENDDATE_CONDITION, context.getEndDate())
				.closeBracket();
	}

}