1 //
2 // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.11
3 // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
4 // Any modifications to this file will be lost upon recompilation of the source schema.
5 // Generated on: 2017.04.23 at 07:22:58 PM CEST
6 //
7
8
9 package com.hack23.cia.model.external.riksdagen.votering.impl;
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>Java class for VoteDecision.
18 *
19 * <p>The following schema fragment specifies the expected content contained within this class.
20 * <p>
21 * <pre>
22 * <simpleType name="VoteDecision">
23 * <restriction base="{http://www.w3.org/2001/XMLSchema}string">
24 * <enumeration value="Frånvarande"/>
25 * <enumeration value="Ja"/>
26 * <enumeration value="Nej"/>
27 * <enumeration value="Avstår"/>
28 * </restriction>
29 * </simpleType>
30 * </pre>
31 *
32 */
33 @XmlType(name = "VoteDecision")
34 @XmlEnum
35 public enum VoteDecision {
36
37 @XmlEnumValue("Fr\u00e5nvarande")
38 FRÅNVARANDE("Fr\u00e5nvarande"),
39 @XmlEnumValue("Ja")
40 JA("Ja"),
41 @XmlEnumValue("Nej")
42 NEJ("Nej"),
43 @XmlEnumValue("Avst\u00e5r")
44 AVSTÅR("Avst\u00e5r");
45 private final String value;
46
47 VoteDecision(String v) {
48 value = v;
49 }
50
51 public String value() {
52 return value;
53 }
54
55 public static VoteDecision fromValue(String v) {
56 for (VoteDecision c: VoteDecision.values()) {
57 if (c.value.equals(v)) {
58 return c;
59 }
60 }
61 throw new IllegalArgumentException(v);
62 }
63
64 }