Update db process part
[vfc/nfvo/driver/vnfm/svnfm.git] / nokia / vnfmdriver / vfcadaptorservice / vfcadaptor / src / main / java / org / onap / vfc / nfvo / driver / vnfm / svnfm / nslcm / bo / entity / ResourceDefinition.java
1 /*
2  * Copyright 2016-2017, Nokia Corporation
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  *     http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16 package org.onap.vfc.nfvo.driver.vnfm.svnfm.nslcm.bo.entity;
17
18 import java.util.List;
19
20 import com.fasterxml.jackson.annotation.JsonProperty;
21
22 public class ResourceDefinition {
23         
24         @JsonProperty("vnfInstanceId")
25         private String vnfInstanceId;
26         @JsonProperty("addResource")
27         private List<AddResource> addResource;
28         @JsonProperty("vimId")
29         private String vimId;
30         @JsonProperty("additionalParam")
31         private AdditionalParam additionalParam;
32
33         public String getVnfInstanceId() {
34                 return vnfInstanceId;
35         }
36
37         public void setVnfInstanceId(String vnfInstanceId) {
38                 this.vnfInstanceId = vnfInstanceId;
39         }
40
41         public List<AddResource> getAddResource() {
42                 return addResource;
43         }
44
45         public void setAddResource(List<AddResource> addResource) {
46                 this.addResource = addResource;
47         }
48
49         public String getVimId() {
50                 return vimId;
51         }
52
53         public void setVimId(String vimId) {
54                 this.vimId = vimId;
55         }
56
57         public AdditionalParam getAdditionalParam() {
58                 return additionalParam;
59         }
60
61         public void setAdditionalParam(AdditionalParam additionalParam) {
62                 this.additionalParam = additionalParam;
63         }
64         
65         /*@JsonProperty("type")
66         private CommonEnum.type type;
67         
68         @JsonProperty("resourceDefinitionId")
69         private String resourceDefinitionId;
70         
71         @JsonProperty("vdu")
72         private String vdu;*/
73
74         /*public CommonEnum.type getType() {
75                 return type;
76         }
77
78         public void setType(CommonEnum.type type) {
79                 this.type = type;
80         }
81
82         public String getResourceDefinitionId() {
83                 return resourceDefinitionId;
84         }
85
86         public void setResourceDefinitionId(String resourceDefinitionId) {
87                 this.resourceDefinitionId = resourceDefinitionId;
88         }
89
90         public String getVdu() {
91                 return vdu;
92         }
93
94         public void setVdu(String vdu) {
95                 this.vdu = vdu;
96         }
97         */
98         
99         
100
101 }