class MarkScaleExchangeQueryBuilder extends AbstractQueryBuilder<MarkScaleExchange> {

	@Override
	protected BaseQueryBuilder build(final MarkScaleExchange context, final BaseQueryBuilder builder) {
		return builder
				.where()
				.openBracket()
					.addAndCondition(MARKSCALE_CONDITION, context.getMarkScale())
					.addAndCondition(MARKSCALEVALUE_CONDITION, context.getMarkScaleValue())
					.addAndCondition(MARKSCALEEXCHANGE_CONDITION, context.getMarkScaleExchange())
					.addAndCondition(MARKSCALEEXCHANGEVALUE_CONDITION, context.getMarkScaleExchangeValue())
					.addAndCondition(MARKMIN_CONDITION, context.getMarkMin())
					.addAndCondition(MARKMAX_CONDITION, context.getMarkMax())
					.addAndCondition(MARKEXCHANGE_CONDITION, context.getMarkExchange())
				.closeBracket();
	}

}