/*
 * Copyright 2020 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.core.compare;

import static com.google.common.base.Preconditions.checkNotNull;

/**
 * @since 7.11
 */
public enum ConceptMapCompareChangeKind {
	PRESENT("Present"),
	MISSING("Missing"),

	DIFFERENT_TARGET("Different Target"),

	DIFFERENT_STATUS("Different Status"),

	DIFFERENT_MAP_ADVICE("Different Map Advice"),
	DIFFERENT_MAP_GROUP("Different Map Group"),
	DIFFERENT_MAPPING_CORRELATION("Different Mapping Correlation"),
	DIFFERENT_MAP_PRIORITY("Different Map Priority"),
	DIFFERENT_MAP_RULE("Different Map Rule"),

	UNCHANGED("Same");

	private final String label;

	private ConceptMapCompareChangeKind(final String label) {
		this.label = checkNotNull(label, "label");
	}

	@Override
	public String toString() {
		return label;
	}
}

@@ -816,16 +816,21 @@
 Present%22
+, %222%22
 ),%0A%09MISS
@@ -842,16 +842,21 @@
 Missing%22
+, %221%22
 ),%0A%0A%09DIF
@@ -887,16 +887,21 @@
  Target%22
+, %223%22
 ),%0A%0A%09DIF
@@ -932,16 +932,21 @@
  Status%22
+, %224%22
 ),%0A%0A%09DIF
@@ -985,16 +985,21 @@
  Advice%22
+, %225%22
 ),%0A%09DIFF
@@ -1035,16 +1035,21 @@
 p Group%22
+, %226%22
 ),%0A%09DIFF
@@ -1105,16 +1105,21 @@
 elation%22
+, %227%22
 ),%0A%09DIFF
@@ -1161,16 +1161,21 @@
 riority%22
+, %228%22
 ),%0A%09DIFF
@@ -1209,16 +1209,21 @@
 ap Rule%22
+, %229%22
 ),%0A%0A%09UNC
@@ -1235,16 +1235,22 @@
 D(%22Same%22
+, %2210%22
 );%0A%0A%09pri
@@ -1273,16 +1273,48 @@
 g label;
+%0A%09private final String priority;
 %0A%0A%09priva
@@ -1362,16 +1362,39 @@
 ng label
+, final String priority
 ) %7B%0A%09%09th
@@ -1434,16 +1434,44 @@
 abel%22);%0A
+%09%09this.priority = priority;%0A
 %09%7D%0A%0A%09@Ov
@@ -1523,11 +1523,65 @@
 abel;%0A%09%7D
+%0A%0A%09public String getPriority() %7B%0A%09%09return priority;%0A%09%7D
 %0A%7D%0A

add priority for changekind