Fix nexus-iq commons-httpclient issues
[vfc/nfvo/driver/vnfm/svnfm.git] / nokia / vnfmdriver / vfcadaptorservice / vfcadaptor / src / main / java / org / onap / vfc / nfvo / driver / vnfm / svnfm / db / bean / VnfmSubscriptionInfo.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
17 package org.onap.vfc.nfvo.driver.vnfm.svnfm.db.bean;
18
19 import java.io.Serializable;
20
21 //import javax.persistence.Column;
22 //import javax.persistence.Entity;
23 //import javax.persistence.GeneratedValue;
24 //import javax.persistence.GenerationType;
25 //import javax.persistence.Id;
26 //import javax.persistence.Table;
27
28 //@Entity
29 //@Table(name = "vnfm_subscription_info")
30 public class VnfmSubscriptionInfo implements Serializable {
31         private static final long serialVersionUID = -288015953900428312L;
32
33 //      @Id
34 //      @Column(name = "id")
35         private String id;
36         
37         private String driverCallbackUrl;
38         
39         private String nslcmCallbackUrl;
40
41         public static long getSerialversionuid() {
42                 return serialVersionUID;
43         }
44
45         public String getId() {
46                 return id;
47         }
48
49         public void setId(String id) {
50                 this.id = id;
51         }
52
53         public String getDriverCallbackUrl() {
54                 return driverCallbackUrl;
55         }
56
57         public void setDriverCallbackUrl(String driverCallbackUrl) {
58                 this.driverCallbackUrl = driverCallbackUrl;
59         }
60
61         public String getNslcmCallbackUrl() {
62                 return nslcmCallbackUrl;
63         }
64
65         public void setNslcmCallbackUrl(String nslcmCallbackUrl) {
66                 this.nslcmCallbackUrl = nslcmCallbackUrl;
67         }
68         
69         @Override
70         public String toString() {
71                 return " VnfmSubscriptionInfo: [ " + super.toString() + ", id = " + id + ", driverCallbackUrl = " + driverCallbackUrl +", nslcmCallbackUrl = " + nslcmCallbackUrl + "]";
72         }
73 }