Merge "Reorder modifiers"
[so.git] / mso-api-handlers / mso-api-handler-infra / src / main / java / org / openecomp / mso / apihandlerinfra / vnfbeans / ActionType.java
1 /*-
2  * ============LICENSE_START=======================================================
3  * ONAP - SO
4  * ================================================================================
5  * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
6  * ================================================================================
7  * Licensed under the Apache License, Version 2.0 (the "License");
8  * you may not use this file except in compliance with the License.
9  * You may obtain a copy of the License at
10  * 
11  *      http://www.apache.org/licenses/LICENSE-2.0
12  * 
13  * Unless required by applicable law or agreed to in writing, software
14  * distributed under the License is distributed on an "AS IS" BASIS,
15  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16  * See the License for the specific language governing permissions and
17  * limitations under the License.
18  * ============LICENSE_END=========================================================
19  */
20
21 //
22 // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4-2 
23 // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> 
24 // Any modifications to this file will be lost upon recompilation of the source schema. 
25 // Generated on: 2015.09.03 at 02:02:13 PM EDT 
26 //
27
28
29 package org.openecomp.mso.apihandlerinfra.vnfbeans;
30
31
32 import javax.xml.bind.annotation.XmlEnum;
33 import javax.xml.bind.annotation.XmlType;
34
35
36 /**
37  * <p>Java class for action-type.
38  * 
39  * <p>The following schema fragment specifies the expected content contained within this class.
40  * <p>
41  * <pre>
42  * &lt;simpleType name="action-type">
43  *   &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string">
44  *     &lt;enumeration value="CREATE"/>
45  *     &lt;enumeration value="SETSTATUS"/>
46  *     &lt;enumeration value="REPLACE"/>
47  *     &lt;enumeration value="UPDATE"/>
48  *     &lt;enumeration value="DELETE"/>
49  *     &lt;enumeration value="CREATE_VF_MODULE"/>
50  *     &lt;enumeration value="UPDATE_VF_MODULE"/>
51  *     &lt;enumeration value="DELETE_VF_MODULE"/>
52  *     &lt;enumeration value="NOT_PROVIDED"/>
53  *   &lt;/restriction>
54  * &lt;/simpleType>
55  * </pre>
56  * 
57  */
58 @XmlType(name = "action-type")
59 @XmlEnum
60 public enum ActionType {
61
62     CREATE,
63     SETSTATUS,
64     REPLACE, 
65     UPDATE,
66     DELETE,
67     CREATE_VF_MODULE,
68     UPDATE_VF_MODULE,
69     DELETE_VF_MODULE,
70     NOT_PROVIDED;
71
72     public String value() {
73         return name();
74     }
75
76     public static ActionType fromValue(String v) {
77         return valueOf(v);
78     }
79
80 }