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