// // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 // 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.01.27 at 08:53:01 PM MEZ // package de.openstreetmap.josm.tagging_preset_1; import javax.xml.bind.annotation.XmlEnum; import javax.xml.bind.annotation.XmlEnumValue; import javax.xml.bind.annotation.XmlType; /** * <p> * Java class for role_requisite. * * <p> * The following schema fragment specifies the expected content contained within * this class. * <p> * * <pre> * <simpleType name="role_requisite"> * <restriction base="{http://www.w3.org/2001/XMLSchema}string"> * <enumeration value="required"/> * <enumeration value="optional"/> * </restriction> * </simpleType> * </pre> * */ @XmlType(name = "role_requisite") @XmlEnum @SuppressWarnings(value = "all") public enum RoleRequisite { @XmlEnumValue("required") REQUIRED("required"), @XmlEnumValue("optional") OPTIONAL("optional"); private final String value; RoleRequisite(String v) { value = v; } public String value() { return value; } public static RoleRequisite fromValue(String v) { for (RoleRequisite c : RoleRequisite.values()) { if (c.value.equals(v)) { return c; } } throw new IllegalArgumentException(v); } }