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 / AffectedCp.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.JsonProperty;
21
22 public class AffectedCp {
23         
24         @JsonProperty("virtualLinkInstanceId")
25     private String virtualLinkInstanceId;
26     @JsonProperty("cpinstanceid")
27     private String cpinstanceid;
28     @JsonProperty("cpdid")
29     private String cpdid;
30     @JsonProperty("ownerType")
31     private String  ownerType;
32     @JsonProperty("ownerId")
33     private String ownerId;
34     @JsonProperty("changeType")
35         private CommonEnum.changeType changeType;
36     @JsonProperty("portResource")
37     private PortResource portResource;
38     
39         public String getVirtualLinkInstanceId() {
40                 return virtualLinkInstanceId;
41         }
42         public void setVirtualLinkInstanceId(String virtualLinkInstanceId) {
43                 this.virtualLinkInstanceId = virtualLinkInstanceId;
44         }
45         public String getCpinstanceid() {
46                 return cpinstanceid;
47         }
48         public void setCpinstanceid(String cpinstanceid) {
49                 this.cpinstanceid = cpinstanceid;
50         }
51         public String getCpdid() {
52                 return cpdid;
53         }
54         public void setCpdid(String cpdid) {
55                 this.cpdid = cpdid;
56         }
57         public String getOwnerType() {
58                 return ownerType;
59         }
60         public void setOwnerType(String ownerType) {
61                 this.ownerType = ownerType;
62         }
63         public String getOwnerId() {
64                 return ownerId;
65         }
66         public void setOwnerId(String ownerId) {
67                 this.ownerId = ownerId;
68         }
69         public CommonEnum.changeType getChangeType() {
70                 return changeType;
71         }
72         public void setChangeType(CommonEnum.changeType changeType) {
73                 this.changeType = changeType;
74         }
75         public PortResource getPortResource() {
76                 return portResource;
77         }
78         public void setPortResource(PortResource portResource) {
79                 this.portResource = portResource;
80         }
81     
82     
83     
84     
85
86 }