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

@XmlType(name = "TableRuleStyle")
@XmlEnum
@XmlRootElement(name = "TableRuleStyle")
public enum TableRuleStyle {
	@XmlEnumValue("Botrule")
	BOTRULE("Botrule"),
	@XmlEnumValue("Lrule")
	LRULE("Lrule"),
	@XmlEnumValue("Rrule")
	RRULE("Rrule"),
	@XmlEnumValue("Toprule")
	TOPRULE("Toprule");
	
	private final String value;

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

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