/**
 * ActRelationshipHasComponent.java
 * <p>
 * File generated from the voc::ActRelationshipHasComponent 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 ActRelationshipHasComponent.
 *
 */

@XmlType(name = "ActRelationshipHasComponent")
@XmlEnum
@XmlRootElement(name = "ActRelationshipHasComponent")
public enum ActRelationshipHasComponent {
	@XmlEnumValue("ARR")
	ARR("ARR"),
	@XmlEnumValue("COMP")
	COMP("COMP"),
	@XmlEnumValue("CTRLV")
	CTRLV("CTRLV"),
	@XmlEnumValue("DEP")
	DEP("DEP");
	
	private final String value;

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

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