// // 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 http://java.sun.com/xml/jaxb // 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; /** *

Java class for ResourceUnitKind. * *

The following schema fragment specifies the expected content contained within this class. *

*

 * <simpleType name="ResourceUnitKind">
 *   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
 *     <enumeration value="h"/>
 *     <enumeration value="heures"/>
 *     <enumeration value="hours"/>
 *     <enumeration value="sec"/>
 *     <enumeration value="seconds"/>
 *     <enumeration value="secondes"/>
 *     <enumeration value="MB"/>
 *     <enumeration value="MegaByte"/>
 *     <enumeration value="GegaByte"/>
 *     <enumeration value="GB"/>
 *     <enumeration value="bit"/>
 *     <enumeration value="byte"/>
 *   </restriction>
 * </simpleType>
 * 
* */ @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); } }