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