Replaced all tabs with spaces in java and pom.xml
[so.git] / bpmn / mso-infrastructure-bpmn / src / main / java / org / onap / so / bpmn / common / adapter / vnf / VnfStatus.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 package org.onap.so.bpmn.common.adapter.vnf;
22
23 import javax.xml.bind.annotation.XmlEnum;
24 import javax.xml.bind.annotation.XmlType;
25
26
27 /**
28  * <p>
29  * Java class for vnfStatus.
30  * 
31  * <p>
32  * The following schema fragment specifies the expected content contained within this class.
33  * <p>
34  * 
35  * <pre>
36  * &lt;simpleType name="vnfStatus">
37  *   &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string">
38  *     &lt;enumeration value="ACTIVE"/>
39  *     &lt;enumeration value="FAILED"/>
40  *     &lt;enumeration value="NOTFOUND"/>
41  *     &lt;enumeration value="UNKNOWN"/>
42  *   &lt;/restriction>
43  * &lt;/simpleType>
44  * </pre>
45  * 
46  */
47 @XmlType(name = "vnfStatus")
48 @XmlEnum
49 public enum VnfStatus {
50
51     ACTIVE, FAILED, NOTFOUND, 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 }