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:23:18 PM CEST
6 //
7
8
9 package com.hack23.cia.model.internal.application.data.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 DataAgentTarget.
18 *
19 * <p>The following schema fragment specifies the expected content contained within this class.
20 * <p>
21 * <pre>
22 * <simpleType name="DataAgentTarget">
23 * <restriction base="{http://www.w3.org/2001/XMLSchema}string">
24 * <enumeration value="Model_External_Worldbank"/>
25 * <enumeration value="Model_External_Riksdagen"/>
26 * </restriction>
27 * </simpleType>
28 * </pre>
29 *
30 */
31 @XmlType(name = "DataAgentTarget")
32 @XmlEnum
33 public enum DataAgentTarget {
34
35 @XmlEnumValue("Model_External_Worldbank")
36 MODEL_EXTERNAL_WORLDBANK("Model_External_Worldbank"),
37 @XmlEnumValue("Model_External_Riksdagen")
38 MODEL_EXTERNAL_RIKSDAGEN("Model_External_Riksdagen");
39 private final String value;
40
41 DataAgentTarget(String v) {
42 value = v;
43 }
44
45 public String value() {
46 return value;
47 }
48
49 public static DataAgentTarget fromValue(String v) {
50 for (DataAgentTarget c: DataAgentTarget.values()) {
51 if (c.value.equals(v)) {
52 return c;
53 }
54 }
55 throw new IllegalArgumentException(v);
56 }
57
58 }