class SpecOfferSubjectQueryBuilder extends AbstractQueryBuilder<SpecOfferSubject> {

	@Override
	protected BaseQueryBuilder build(final SpecOfferSubject context, final BaseQueryBuilder builder) {
		return builder
				.where()
				.openBracket()
					.addAndCondition(SPECOFFER_CONDITION, context.getSpecOffer())
					.addAndCondition(ENROLMENTSUBJECT_CONDITION, context.getEnrolmentSubject())
					.addAndCondition(MARK_CONDITION, context.getMark())
					.addAndCondition(ISMAJOR_CONDITION, context.getIsMajor())
					.addAndCondition(ALTERNATIVE_CONDITION, context.getAlternative())
					.addAndCondition(WEIGHTSUBJECT_CONDITION, context.getWeightSubject())
				.closeBracket();
	}

}