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

@XmlType(name = "Ojibwayan")
@XmlEnum
@XmlRootElement(name = "Ojibwayan")
public enum Ojibwayan {
	@XmlEnumValue("x-OJB")
	XOJB("x-OJB"),
	@XmlEnumValue("x-POT")
	XPOT("x-POT");
	
	private final String value;

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

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