class EnrolmentBenefitQueryBuilder extends AbstractQueryBuilder<EnrolmentBenefit> {

	@Override
	protected BaseQueryBuilder build(final EnrolmentBenefit context, final BaseQueryBuilder builder) {
		return builder
				.where()
				.openBracket()
					.addAndCondition(ENROLMENT_CONDITION, context.getEnrolment())
					.addAndCondition(BENEFIT_CONDITION, context.getBenefit())
					.addAndCondition(PERSONPAPER_CONDITION, context.getPersonPaper())
				.closeBracket();
	}

}