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