Fix the sonar issue of esr-server.
[aai/esr-server.git] / esr-mgr / src / main / java / org / onap / aai / esr / entity / aai / VnfmData.java
1 /**
2  * Copyright 2016-2017 ZTE 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.aai.esr.entity.aai;
17
18 import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
19
20 import javax.persistence.Column;
21 import javax.persistence.Entity;
22 import javax.persistence.PrimaryKeyJoinColumn;
23 import javax.persistence.Table;
24
25 @Entity
26 @Table(name = "extsys_vnfm_table")
27 @PrimaryKeyJoinColumn(name = "VNFMID")
28 @JsonIgnoreProperties(ignoreUnknown = true)
29 public class VnfmData extends BaseData {
30
31   @Column(name = "URL")
32   private String url;
33   @Column(name = "USERNAME")
34   private String userName;
35
36   @Column(name = "PASSWORD")
37   private String password;
38
39   @Column(name = "VIMID")
40   private String vimId;
41
42   @Column(name = "CERTIFICATEURL")
43   private String certificateUrl;
44
45   public String getUrl() {
46     return url;
47   }
48
49   public void setUrl(String url) {
50     this.url = url;
51   }
52
53   public String getUserName() {
54     return userName;
55   }
56
57   public void setUserName(String userName) {
58     this.userName = userName;
59   }
60
61   public String getPassword() {
62     return password;
63   }
64
65   public void setPassword(String password) {
66     this.password = password;
67   }
68
69   public String getVimId() {
70     return vimId;
71   }
72
73   public void setVimId(String vimId) {
74     this.vimId = vimId;
75   }
76
77   public String getCertificateUrl() {
78     return certificateUrl;
79   }
80
81   public void setCertificateUrl(String certificateUrl) {
82     this.certificateUrl = certificateUrl;
83   }
84
85 }