//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.3u2-hudson-jaxb-ri-2.2.3-4- 
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> 
// Any modifications to this file will be lost upon recompilation of the source schema. 
// Generated on: 2011.10.02 at 06:28:50 PM EDT 
//


package seg.jUCMNav.nfp.generated;

import javax.xml.bind.annotation.XmlEnum;
import javax.xml.bind.annotation.XmlEnumValue;
import javax.xml.bind.annotation.XmlType;


/**
 * <p>Java class for ResourceUnitKind.
 * 
 * <p>The following schema fragment specifies the expected content contained within this class.
 * <p>
 * <pre>
 * &lt;simpleType name="ResourceUnitKind">
 *   &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string">
 *     &lt;enumeration value="h"/>
 *     &lt;enumeration value="heures"/>
 *     &lt;enumeration value="hours"/>
 *     &lt;enumeration value="sec"/>
 *     &lt;enumeration value="seconds"/>
 *     &lt;enumeration value="secondes"/>
 *     &lt;enumeration value="MB"/>
 *     &lt;enumeration value="MegaByte"/>
 *     &lt;enumeration value="GegaByte"/>
 *     &lt;enumeration value="GB"/>
 *     &lt;enumeration value="bit"/>
 *     &lt;enumeration value="byte"/>
 *   &lt;/restriction>
 * &lt;/simpleType>
 * </pre>
 * 
 */
@XmlType(name = "ResourceUnitKind")
@XmlEnum
public enum ResourceUnitKind {

    @XmlEnumValue("h")
    H("h"),
    @XmlEnumValue("heures")
    HEURES("heures"),
    @XmlEnumValue("hours")
    HOURS("hours"),
    @XmlEnumValue("sec")
    SEC("sec"),
    @XmlEnumValue("seconds")
    SECONDS("seconds"),
    @XmlEnumValue("secondes")
    SECONDES("secondes"),
    MB("MB"),
    @XmlEnumValue("MegaByte")
    MEGA_BYTE("MegaByte"),
    @XmlEnumValue("GegaByte")
    GEGA_BYTE("GegaByte"),
    GB("GB"),
    @XmlEnumValue("bit")
    BIT("bit"),
    @XmlEnumValue("byte")
    BYTE("byte");
    private final String value;

    ResourceUnitKind(String v) {
        value = v;
    }

    public String value() {
        return value;
    }

    public static ResourceUnitKind fromValue(String v) {
        for (ResourceUnitKind c: ResourceUnitKind.values()) {
            if (c.value.equals(v)) {
                return c;
            }
        }
        throw new IllegalArgumentException(v);
    }

}
