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 EncumbranceEnumeration.
|
---|
18 | *
|
---|
19 | * <p>Le fragment de schéma suivant indique le contenu attendu figurant dans cette classe.
|
---|
20 | * <p>
|
---|
21 | * <pre>
|
---|
22 | * <simpleType name="EncumbranceEnumeration">
|
---|
23 | * <restriction base="{http://www.w3.org/2001/XMLSchema}NMTOKEN">
|
---|
24 | * <enumeration value="luggageEncumbered"/>
|
---|
25 | * <enumeration value="pushchair"/>
|
---|
26 | * <enumeration value="baggageTrolley"/>
|
---|
27 | * <enumeration value="oversizeBaggage"/>
|
---|
28 | * <enumeration value="guideDog"/>
|
---|
29 | * <enumeration value="otherAnimal"/>
|
---|
30 | * <enumeration value="otherEncumbrance"/>
|
---|
31 | * </restriction>
|
---|
32 | * </simpleType>
|
---|
33 | * </pre>
|
---|
34 | *
|
---|
35 | */
|
---|
36 | @XmlType(name = "EncumbranceEnumeration", namespace = "http://www.ifopt.org.uk/acsb")
|
---|
37 | @XmlEnum
|
---|
38 | public enum EncumbranceEnumeration {
|
---|
39 |
|
---|
40 | @XmlEnumValue("luggageEncumbered")
|
---|
41 | LUGGAGE_ENCUMBERED("luggageEncumbered"),
|
---|
42 | @XmlEnumValue("pushchair")
|
---|
43 | PUSHCHAIR("pushchair"),
|
---|
44 | @XmlEnumValue("baggageTrolley")
|
---|
45 | BAGGAGE_TROLLEY("baggageTrolley"),
|
---|
46 | @XmlEnumValue("oversizeBaggage")
|
---|
47 | OVERSIZE_BAGGAGE("oversizeBaggage"),
|
---|
48 | @XmlEnumValue("guideDog")
|
---|
49 | GUIDE_DOG("guideDog"),
|
---|
50 | @XmlEnumValue("otherAnimal")
|
---|
51 | OTHER_ANIMAL("otherAnimal"),
|
---|
52 | @XmlEnumValue("otherEncumbrance")
|
---|
53 | OTHER_ENCUMBRANCE("otherEncumbrance");
|
---|
54 | private final String value;
|
---|
55 |
|
---|
56 | EncumbranceEnumeration(String v) {
|
---|
57 | value = v;
|
---|
58 | }
|
---|
59 |
|
---|
60 | public String value() {
|
---|
61 | return value;
|
---|
62 | }
|
---|
63 |
|
---|
64 | public static EncumbranceEnumeration fromValue(String v) {
|
---|
65 | for (EncumbranceEnumeration c: EncumbranceEnumeration.values()) {
|
---|
66 | if (c.value.equals(v)) {
|
---|
67 | return c;
|
---|
68 | }
|
---|
69 | }
|
---|
70 | throw new IllegalArgumentException(v);
|
---|
71 | }
|
---|
72 |
|
---|
73 | }
|
---|