Improve unit-test coverage
[vfc/nfvo/driver/vnfm/svnfm.git] / nokia / vnfmdriver / vfcadaptorservice / vfcadaptor / src / main / java / org / onap / vfc / nfvo / driver / vnfm / svnfm / nslcm / bo / entity / AffectedVnfc.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 org.onap.vfc.nfvo.driver.vnfm.svnfm.constant.CommonEnum;
19
20 import com.fasterxml.jackson.annotation.JsonIgnore;
21 import com.fasterxml.jackson.annotation.JsonProperty;
22
23 public class AffectedVnfc {
24         @JsonIgnore
25         private String vnfInstanceId;
26         
27         @JsonProperty("vnfcInstanceId")
28         private String vnfcInstanceId;
29         
30         @JsonProperty("vduId")
31         private String vduId;
32         
33         @JsonProperty("changeType")
34         private CommonEnum.AffectchangeType changeType;
35         
36         @JsonProperty("vimid")
37         private String vimid;
38         
39         @JsonProperty("vmid")
40         private String vmid;
41
42         public String getVnfcInstanceId() {
43                 return vnfcInstanceId;
44         }
45
46         public void setVnfcInstanceId(String vnfcInstanceId) {
47                 this.vnfcInstanceId = vnfcInstanceId;
48         }
49
50         public String getVduId() {
51                 return vduId;
52         }
53
54         public void setVduId(String vduId) {
55                 this.vduId = vduId;
56         }
57
58         public CommonEnum.AffectchangeType getChangeType() {
59                 return changeType;
60         }
61
62         public void setChangeType(CommonEnum.AffectchangeType changeType) {
63                 this.changeType = changeType;
64         }
65
66         public String getVimid() {
67                 return vimid;
68         }
69
70         public void setVimid(String vimid) {
71                 this.vimid = vimid;
72         }
73
74         public String getVmid() {
75                 return vmid;
76         }
77
78         public void setVmid(String vmid) {
79                 this.vmid = vmid;
80         }
81
82         public String getVnfInstanceId() {
83                 return vnfInstanceId;
84         }
85
86         public void setVnfInstanceId(String vnfInstanceId) {
87                 this.vnfInstanceId = vnfInstanceId;
88         }
89         
90         
91         
92 }