/*
 * Copyright 2011-2015 B2i Healthcare Pte Ltd, http://b2i.sg
 * 
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package com.b2international.snowowl.snomed.api.rest.domain;

import org.hibernate.validator.constraints.NotEmpty;

/**
 * @since 4.0
 */
public class ClassificationRestInput {

	@NotEmpty
	private String reasonerId;

	private boolean useExternalService = false;
	
	public String getReasonerId() {
		return reasonerId;
	}

	public void setReasonerId(final String reasonerId) {
		this.reasonerId = reasonerId;
	}
	
	public boolean isUseExternalService() {
		return useExternalService;
	}
	
	public void setUseExternalService(boolean useExternalService) {
		this.useExternalService = useExternalService;
	}

	@Override
	public String toString() {
		final StringBuilder builder = new StringBuilder();
		builder.append("ClassificationRestInput [reasonerId=");
		builder.append(reasonerId);
		builder.append(", useExternalService=");
		builder.append(useExternalService);
		builder.append("]");
		return builder.toString();
	}
	
}
@@ -736,16 +736,111 @@
 Empty;%0A%0A
+import com.b2international.snowowl.snomed.datastore.config.SnomedClassificationConfiguration;%0A%0A
 /**%0A * @
@@ -930,16 +930,69 @@
 asonerId
+ = SnomedClassificationConfiguration.DEFAULT_REASONER
 ;%0A%0A%09priv

Set default reasoner in classification request