class MarkScaleQueryBuilder extends AbstractQueryBuilder<MarkScale> {

	@Override
	protected BaseQueryBuilder build(final MarkScale context, final BaseQueryBuilder builder) {
		return builder
				.where()
				.openBracket()
					.addAndCondition(MARKSCALETYPE_CONDITION, context.getMarkScaleType())
					.addAndCondition(ABBRNAME_CONDITION, context.getAbbrName())
					.addAndCondition(NAME_CONDITION, context.getName())
					.addAndCondition(MARKMIN_CONDITION, context.getMarkMin())
					.addAndCondition(MARKMAX_CONDITION, context.getMarkMax())
				.closeBracket();
	}

}