Merge "Reorder modifiers"
[so.git] / bpmn / MSOCommonBPMN / src / main / java / org / openecomp / mso / bpmn / common / adapter / vnf / MsoExceptionCategory.java
1 /*-\r
2  * ============LICENSE_START=======================================================\r
3  * ONAP - SO\r
4  * ================================================================================\r
5  * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.\r
6  * ================================================================================\r
7  * Licensed under the Apache License, Version 2.0 (the "License");\r
8  * you may not use this file except in compliance with the License.\r
9  * You may obtain a copy of the License at\r
10  * \r
11  *      http://www.apache.org/licenses/LICENSE-2.0\r
12  * \r
13  * Unless required by applicable law or agreed to in writing, software\r
14  * distributed under the License is distributed on an "AS IS" BASIS,\r
15  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
16  * See the License for the specific language governing permissions and\r
17  * limitations under the License.\r
18  * ============LICENSE_END=========================================================\r
19  */\r
20 \r
21 package org.openecomp.mso.bpmn.common.adapter.vnf;\r
22 \r
23 import javax.xml.bind.annotation.XmlEnum;\r
24 import javax.xml.bind.annotation.XmlType;\r
25 \r
26 \r
27 /**\r
28  * <p>Java class for msoExceptionCategory.\r
29  * \r
30  * <p>The following schema fragment specifies the expected content contained within this class.\r
31  * <p>\r
32  * <pre>\r
33  * &lt;simpleType name="msoExceptionCategory">\r
34  *   &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string">\r
35  *     &lt;enumeration value="OPENSTACK"/>\r
36  *     &lt;enumeration value="IO"/>\r
37  *     &lt;enumeration value="INTERNAL"/>\r
38  *     &lt;enumeration value="USERDATA"/>\r
39  *   &lt;/restriction>\r
40  * &lt;/simpleType>\r
41  * </pre>\r
42  * \r
43  */\r
44 @XmlType(name = "msoExceptionCategory")\r
45 @XmlEnum\r
46 public enum MsoExceptionCategory {\r
47 \r
48     OPENSTACK,\r
49     IO,\r
50     INTERNAL,\r
51     USERDATA;\r
52 \r
53     public String value() {\r
54         return name();\r
55     }\r
56 \r
57     public static MsoExceptionCategory fromValue(String v) {\r
58         return valueOf(v);\r
59     }\r
60 \r
61 }\r