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 HireFacilityEnumeration.
|
---|
18 | *
|
---|
19 | * <p>Le fragment de schéma suivant indique le contenu attendu figurant dans cette classe.
|
---|
20 | * <p>
|
---|
21 | * <pre>
|
---|
22 | * <simpleType name="HireFacilityEnumeration">
|
---|
23 | * <restriction base="{http://www.w3.org/2001/XMLSchema}NMTOKEN">
|
---|
24 | * <enumeration value="unknown"/>
|
---|
25 | * <enumeration value="carHire"/>
|
---|
26 | * <enumeration value="motorCycleHire"/>
|
---|
27 | * <enumeration value="cycleHire"/>
|
---|
28 | * <enumeration value="taxi"/>
|
---|
29 | * <enumeration value="recreationDeviceHire"/>
|
---|
30 | * </restriction>
|
---|
31 | * </simpleType>
|
---|
32 | * </pre>
|
---|
33 | *
|
---|
34 | */
|
---|
35 | @XmlType(name = "HireFacilityEnumeration", namespace = "http://www.siri.org.uk/siri")
|
---|
36 | @XmlEnum
|
---|
37 | public enum HireFacilityEnumeration {
|
---|
38 |
|
---|
39 | @XmlEnumValue("unknown")
|
---|
40 | UNKNOWN("unknown"),
|
---|
41 | @XmlEnumValue("carHire")
|
---|
42 | CAR_HIRE("carHire"),
|
---|
43 | @XmlEnumValue("motorCycleHire")
|
---|
44 | MOTOR_CYCLE_HIRE("motorCycleHire"),
|
---|
45 | @XmlEnumValue("cycleHire")
|
---|
46 | CYCLE_HIRE("cycleHire"),
|
---|
47 | @XmlEnumValue("taxi")
|
---|
48 | TAXI("taxi"),
|
---|
49 | @XmlEnumValue("recreationDeviceHire")
|
---|
50 | RECREATION_DEVICE_HIRE("recreationDeviceHire");
|
---|
51 | private final String value;
|
---|
52 |
|
---|
53 | HireFacilityEnumeration(String v) {
|
---|
54 | value = v;
|
---|
55 | }
|
---|
56 |
|
---|
57 | public String value() {
|
---|
58 | return value;
|
---|
59 | }
|
---|
60 |
|
---|
61 | public static HireFacilityEnumeration fromValue(String v) {
|
---|
62 | for (HireFacilityEnumeration c: HireFacilityEnumeration.values()) {
|
---|
63 | if (c.value.equals(v)) {
|
---|
64 | return c;
|
---|
65 | }
|
---|
66 | }
|
---|
67 | throw new IllegalArgumentException(v);
|
---|
68 | }
|
---|
69 |
|
---|
70 | }
|
---|