/**
 * RoleLinkType.java
 * <p>
 * File generated from the voc::RoleLinkType uml Enumeration
 * Generated by IHE - europe, gazelle team
 */
package net.ihe.gazelle.hl7v3.voc;

import jakarta.xml.bind.annotation.XmlEnum;
import jakarta.xml.bind.annotation.XmlEnumValue;
import jakarta.xml.bind.annotation.XmlRootElement;
import jakarta.xml.bind.annotation.XmlType;
/**
 * Description of the enumeration RoleLinkType.
 *
 */

@XmlType(name = "RoleLinkType")
@XmlEnum
@XmlRootElement(name = "RoleLinkType")
public enum RoleLinkType {
	@XmlEnumValue("BACKUP")
	BACKUP("BACKUP"),
	@XmlEnumValue("DIRAUTH")
	DIRAUTH("DIRAUTH"),
	@XmlEnumValue("IDENT")
	IDENT("IDENT"),
	@XmlEnumValue("INDAUTH")
	INDAUTH("INDAUTH"),
	@XmlEnumValue("PART")
	PART("PART"),
	@XmlEnumValue("REL")
	REL("REL"),
	@XmlEnumValue("REPL")
	REPL("REPL");
	
	private final String value;

    RoleLinkType(String v) {
        value = v;
    }
    
     public String value() {
        return value;
    }

    public static RoleLinkType fromValue(String v) {
        for (RoleLinkType c: RoleLinkType.values()) {
            if (c.value.equals(v)) {
                return c;
            }
        }
        throw new IllegalArgumentException(v);
    }
	
}