class PublicActivityAwardQueryBuilder extends AbstractQueryBuilder<PublicActivityAward> {

	@Override
	protected BaseQueryBuilder build(final PublicActivityAward context, final BaseQueryBuilder builder) {
		return builder
				.where()
				.openBracket()
					.addAndCondition(PUBLICACTIVITY_CONDITION, context.getPublicActivity())
					.addAndCondition(ENROLMENTSUBJECT_CONDITION, context.getEnrolmentSubject())
					.addAndCondition(AWARDNAME_CONDITION, context.getAwardName())
					.addAndCondition(BEGDATE_CONDITION, context.getBegDate())
					.addAndCondition(ENDDATE_CONDITION, context.getEndDate())
				.closeBracket();
	}

}