/*
 * Copyright 2011-2022 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.core.domain.refset;

/**
 * Enumeration for SNOMED CT reference set types. 
 */
public enum SnomedRefSetType {

	SIMPLE,
	SIMPLE_MAP,
	LANGUAGE,
	ATTRIBUTE_VALUE,
	QUERY,
	COMPLEX_MAP,
	DESCRIPTION_TYPE,
	CONCRETE_DATA_TYPE,
	ASSOCIATION, 
	MODULE_DEPENDENCY,
	EXTENDED_MAP, 
	SIMPLE_MAP_WITH_DESCRIPTION,
	OWL_AXIOM,
	OWL_ONTOLOGY, 
	MRCM_DOMAIN,
	MRCM_ATTRIBUTE_DOMAIN,
	MRCM_ATTRIBUTE_RANGE,
	MRCM_MODULE_SCOPE,
	ANNOTATION,
	COMPLEX_BLOCK_MAP,
	SIMPLE_MAP_TO;

	/**
	 * Returns the SnomedRefSetType literal with the specified name.
	 */
	public static SnomedRefSetType getByName(final String name) {
		for (final SnomedRefSetType result : values()) {
			if (result.name().equals(name)) {
				return result;
			}
		}

		return null;
	}
}

@@ -776,16 +776,166 @@
 Type %7B%0A%0A
+%09/*%0A%09 * XXX: The order of literals should not be relied upon, but in case some parts%0A%09 * of the code still do this, add new literals to the end.%0A%09 */%0A
 %09SIMPLE,
@@ -1350,16 +1350,167 @@
 d name.%0A
+%09 * %3Cp%3E%0A%09 * A less strict version of %7B@link #valueOf(String)%7D that returns %3Ccode%3Enull%3C/code%3E %0A%09 * if the input string does not map to an enum literal.%0A
 %09 */%0A%09pu

Add javadoc to SnomedRefSetType