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

@XmlType(name = "StreetAddressLine")
@XmlEnum
@XmlRootElement(name = "StreetAddressLine")
public enum StreetAddressLine {
	@XmlEnumValue("BNN")
	BNN("BNN"),
	@XmlEnumValue("BNR")
	BNR("BNR"),
	@XmlEnumValue("BNS")
	BNS("BNS"),
	@XmlEnumValue("DIR")
	DIR("DIR"),
	@XmlEnumValue("POB")
	POB("POB"),
	@XmlEnumValue("SAL")
	SAL("SAL"),
	@XmlEnumValue("STB")
	STB("STB"),
	@XmlEnumValue("STR")
	STR("STR"),
	@XmlEnumValue("STTYP")
	STTYP("STTYP");
	
	private final String value;

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

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