Replaced all tabs with spaces in java and pom.xml
[so.git] / adapters / mso-adapters-rest-interface / src / main / java / org / onap / so / adapters / vdu / VduInstance.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 org.onap.so.adapters.vdu;
22
23 import java.util.Map;
24 import java.util.HashMap;
25
26 /*
27  * This Java bean class relays VDU status information in a cloud-agnostic format.
28  * 
29  * This bean is returned by all implementors of the VduPlugin interface operations (instantiate, query, delete).
30  */
31
32 public class VduInstance {
33     // Set defaults for everything
34     protected String vduInstanceId;
35     protected String vduInstanceName;
36     protected VduStatus status;
37     protected Map<String, Object> outputs = new HashMap<>();
38     protected Map<String, Object> inputs = new HashMap<>();
39
40     public String getVduInstanceId() {
41         return vduInstanceId;
42     }
43
44     public void setVduInstanceId(String vduInstanceId) {
45         this.vduInstanceId = vduInstanceId;
46     }
47
48     public String getVduInstanceName() {
49         return vduInstanceName;
50     }
51
52     public void setVduInstanceName(String vduInstanceName) {
53         this.vduInstanceName = vduInstanceName;
54     }
55
56     public VduStatus getStatus() {
57         return status;
58     }
59
60     public void setStatus(VduStatus status) {
61         this.status = status;
62     }
63
64     public Map<String, Object> getOutputs() {
65         return outputs;
66     }
67
68     public void setOutputs(Map<String, Object> outputs) {
69         this.outputs = outputs;
70     }
71
72     public Map<String, Object> getInputs() {
73         return inputs;
74     }
75
76     public void setInputs(Map<String, Object> inputs) {
77         this.inputs = inputs;
78     }
79 }