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 |
|
---|
9 | package neptune;
|
---|
10 |
|
---|
11 | import javax.xml.bind.annotation.XmlEnum;
|
---|
12 | import javax.xml.bind.annotation.XmlEnumValue;
|
---|
13 | import javax.xml.bind.annotation.XmlType;
|
---|
14 |
|
---|
15 |
|
---|
16 | /**
|
---|
17 | * <p>Classe Java pour SanitaryFacilityEnumeration.
|
---|
18 | *
|
---|
19 | * <p>Le fragment de schéma suivant indique le contenu attendu figurant dans cette classe.
|
---|
20 | * <p>
|
---|
21 | * <pre>
|
---|
22 | * <simpleType name="SanitaryFacilityEnumeration">
|
---|
23 | * <restriction base="{http://www.w3.org/2001/XMLSchema}NMTOKEN">
|
---|
24 | * <enumeration value="unknown"/>
|
---|
25 | * <enumeration value="pti23_22"/>
|
---|
26 | * <enumeration value="toilet"/>
|
---|
27 | * <enumeration value="pti23_23"/>
|
---|
28 | * <enumeration value="noToilet"/>
|
---|
29 | * <enumeration value="shower"/>
|
---|
30 | * <enumeration value="wheelchairAcccessToilet"/>
|
---|
31 | * <enumeration value="babyChange"/>
|
---|
32 | * </restriction>
|
---|
33 | * </simpleType>
|
---|
34 | * </pre>
|
---|
35 | *
|
---|
36 | */
|
---|
37 | @XmlType(name = "SanitaryFacilityEnumeration", namespace = "http://www.siri.org.uk/siri")
|
---|
38 | @XmlEnum
|
---|
39 | public enum SanitaryFacilityEnumeration {
|
---|
40 |
|
---|
41 | @XmlEnumValue("unknown")
|
---|
42 | UNKNOWN("unknown"),
|
---|
43 | @XmlEnumValue("pti23_22")
|
---|
44 | PTI_23_22("pti23_22"),
|
---|
45 | @XmlEnumValue("toilet")
|
---|
46 | TOILET("toilet"),
|
---|
47 | @XmlEnumValue("pti23_23")
|
---|
48 | PTI_23_23("pti23_23"),
|
---|
49 | @XmlEnumValue("noToilet")
|
---|
50 | NO_TOILET("noToilet"),
|
---|
51 | @XmlEnumValue("shower")
|
---|
52 | SHOWER("shower"),
|
---|
53 | @XmlEnumValue("wheelchairAcccessToilet")
|
---|
54 | WHEELCHAIR_ACCCESS_TOILET("wheelchairAcccessToilet"),
|
---|
55 | @XmlEnumValue("babyChange")
|
---|
56 | BABY_CHANGE("babyChange");
|
---|
57 | private final String value;
|
---|
58 |
|
---|
59 | SanitaryFacilityEnumeration(String v) {
|
---|
60 | value = v;
|
---|
61 | }
|
---|
62 |
|
---|
63 | public String value() {
|
---|
64 | return value;
|
---|
65 | }
|
---|
66 |
|
---|
67 | public static SanitaryFacilityEnumeration fromValue(String v) {
|
---|
68 | for (SanitaryFacilityEnumeration c: SanitaryFacilityEnumeration.values()) {
|
---|
69 | if (c.value.equals(v)) {
|
---|
70 | return c;
|
---|
71 | }
|
---|
72 | }
|
---|
73 | throw new IllegalArgumentException(v);
|
---|
74 | }
|
---|
75 |
|
---|
76 | }
|
---|