class EnrolmentStatusQueryBuilder extends AbstractQueryBuilder<EnrolmentStatus> {

	@Override
	protected BaseQueryBuilder build(final EnrolmentStatus context, final BaseQueryBuilder builder) {
		return builder
				.where()
				.openBracket()
					.addAndCondition(ENROLMENT_CONDITION, context.getEnrolment())
					.addAndCondition(SPECOFFERWAVE_CONDITION, context.getSpecOfferWave())
					.addAndCondition(ENROLMENTSTATUSTYPE_CONDITION, context.getEnrolmentStatusType())
					.addAndCondition(ISCONTRACT_CONDITION, context.getIsContract())
					.addAndCondition(ISSTATE_CONDITION, context.getIsState())
				.closeBracket();
	}

}