Fix the sonar issue of esr-server.
[aai/esr-server.git] / esr-mgr / src / main / java / org / onap / aai / esr / entity / aai / EmsData.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
26
27 @Entity
28 @Table(name = "extsys_ems_table")
29 @PrimaryKeyJoinColumn(name = "EMSID")
30 @JsonIgnoreProperties(ignoreUnknown = true)
31 public class EmsData extends BaseData {
32
33
34   @Column(name = "PRODUCTNAME")
35   private String productName;
36
37   @Column(name = "URL")
38   private String url;
39
40   @Column(name = "USERNAME")
41   private String userName;
42
43   @Column(name = "PASSWORD")
44   private String password;
45
46
47   public String getUrl() {
48     return url;
49   }
50
51   public void setUrl(String url) {
52     this.url = url;
53   }
54
55   public String getUserName() {
56     return userName;
57   }
58
59   public void setUserName(String userName) {
60     this.userName = userName;
61   }
62
63   public String getPassword() {
64     return password;
65   }
66
67   public void setPassword(String password) {
68     this.password = password;
69   }
70
71   public String getProductName() {
72     return productName;
73   }
74
75   public void setProductName(String productName) {
76     this.productName = productName;
77   }
78
79
80
81 }