class EnrolmentSubjectQueryBuilder extends AbstractQueryBuilder<EnrolmentSubject> {

	@Override
	protected BaseQueryBuilder build(final EnrolmentSubject context, final BaseQueryBuilder builder) {
		return builder
				.where()
				.openBracket()
					.addAndCondition(PARENT_CONDITION, context.getParent())
					.addAndCondition(ABBRNAME_CONDITION, context.getAbbrName())
					.addAndCondition(NAME_CONDITION, context.getName())
					.addAndCondition(ISTESTING_CONDITION, context.getIsTesting())
				.closeBracket();
	}

}