b61a4b26b85a4722b6b66f50de180aea918bf9e1
[so.git] / bpmn / MSOGammaBPMN / src / main / java / com / att / domain2 / workflow / vnf / async / adapter / callback / wsdl / v1 / VnfStatus.java
1 /*-
2  * ============LICENSE_START=======================================================
3  * OPENECOMP - MSO
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 package com.att.domain2.workflow.vnf.async.adapter.callback.wsdl.v1;
22
23 import javax.xml.bind.annotation.XmlEnum;
24 import javax.xml.bind.annotation.XmlType;
25
26
27 /**
28  * <p>Java class for vnfStatus.
29  * 
30  * <p>The following schema fragment specifies the expected content contained within this class.
31  * <p>
32  * <pre>
33  * &lt;simpleType name="vnfStatus">
34  *   &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string">
35  *     &lt;enumeration value="ACTIVE"/>
36  *     &lt;enumeration value="FAILED"/>
37  *     &lt;enumeration value="NOTFOUND"/>
38  *     &lt;enumeration value="UNKNOWN"/>
39  *   &lt;/restriction>
40  * &lt;/simpleType>
41  * </pre>
42  * 
43  */
44 @XmlType(name = "vnfStatus")
45 @XmlEnum
46 public enum VnfStatus {
47
48     ACTIVE,
49     FAILED,
50     NOTFOUND,
51     UNKNOWN;
52
53     public String value() {
54         return name();
55     }
56
57     public static VnfStatus fromValue(String v) {
58         return valueOf(v);
59     }
60
61 }