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.view.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 ViewPerspective.
18 *
19 * <p>The following schema fragment specifies the expected content contained within this class.
20 * <p>
21 * <pre>
22 * <simpleType name="ViewPerspective">
23 * <restriction base="{http://www.w3.org/2001/XMLSchema}string">
24 * <enumeration value="Global"/>
25 * <enumeration value="Region"/>
26 * <enumeration value="EU"/>
27 * <enumeration value="Country"/>
28 * <enumeration value="Person"/>
29 * <enumeration value="Party"/>
30 * </restriction>
31 * </simpleType>
32 * </pre>
33 *
34 */
35 @XmlType(name = "ViewPerspective")
36 @XmlEnum
37 public enum ViewPerspective {
38
39 @XmlEnumValue("Global")
40 GLOBAL("Global"),
41 @XmlEnumValue("Region")
42 REGION("Region"),
43 EU("EU"),
44 @XmlEnumValue("Country")
45 COUNTRY("Country"),
46 @XmlEnumValue("Person")
47 PERSON("Person"),
48 @XmlEnumValue("Party")
49 PARTY("Party");
50 private final String value;
51
52 ViewPerspective(String v) {
53 value = v;
54 }
55
56 public String value() {
57 return value;
58 }
59
60 public static ViewPerspective fromValue(String v) {
61 for (ViewPerspective c: ViewPerspective.values()) {
62 if (c.value.equals(v)) {
63 return c;
64 }
65 }
66 throw new IllegalArgumentException(v);
67 }
68
69 }