source: osm/applications/editors/josm/plugins/opendata/includes/neptune/MobilityEnumeration.java@ 30197

Last change on this file since 30197 was 28018, checked in by donvip, 13 years ago

opendata: Initial Neptune files support

File size: 2.2 KB
Line 
1//
2// Ce fichier a été généré par l'implémentation de référence JavaTM Architecture for XML Binding (JAXB), v2.2.5
3// Voir <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
4// Toute modification apportée à ce fichier sera perdue lors de la recompilation du schéma source.
5// Généré le : 2012.03.08 à 06:24:59 PM CET
6//
7
8
9package neptune;
10
11import javax.xml.bind.annotation.XmlEnum;
12import javax.xml.bind.annotation.XmlEnumValue;
13import javax.xml.bind.annotation.XmlType;
14
15
16/**
17 * <p>Classe Java pour MobilityEnumeration.
18 *
19 * <p>Le fragment de schéma suivant indique le contenu attendu figurant dans cette classe.
20 * <p>
21 * <pre>
22 * &lt;simpleType name="MobilityEnumeration">
23 * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}NMTOKEN">
24 * &lt;enumeration value="wheelchair"/>
25 * &lt;enumeration value="assistedWheelchair"/>
26 * &lt;enumeration value="motorizedWheelchair"/>
27 * &lt;enumeration value="walkingFrame"/>
28 * &lt;enumeration value="restrictedMobility"/>
29 * &lt;enumeration value="otherMobilityNeed"/>
30 * &lt;/restriction>
31 * &lt;/simpleType>
32 * </pre>
33 *
34 */
35@XmlType(name = "MobilityEnumeration", namespace = "http://www.ifopt.org.uk/acsb")
36@XmlEnum
37public enum MobilityEnumeration {
38
39 @XmlEnumValue("wheelchair")
40 WHEELCHAIR("wheelchair"),
41 @XmlEnumValue("assistedWheelchair")
42 ASSISTED_WHEELCHAIR("assistedWheelchair"),
43 @XmlEnumValue("motorizedWheelchair")
44 MOTORIZED_WHEELCHAIR("motorizedWheelchair"),
45 @XmlEnumValue("walkingFrame")
46 WALKING_FRAME("walkingFrame"),
47 @XmlEnumValue("restrictedMobility")
48 RESTRICTED_MOBILITY("restrictedMobility"),
49 @XmlEnumValue("otherMobilityNeed")
50 OTHER_MOBILITY_NEED("otherMobilityNeed");
51 private final String value;
52
53 MobilityEnumeration(String v) {
54 value = v;
55 }
56
57 public String value() {
58 return value;
59 }
60
61 public static MobilityEnumeration fromValue(String v) {
62 for (MobilityEnumeration c: MobilityEnumeration.values()) {
63 if (c.value.equals(v)) {
64 return c;
65 }
66 }
67 throw new IllegalArgumentException(v);
68 }
69
70}
Note: See TracBrowser for help on using the repository browser.