2 * Copyright 2016-2017 ZTE Corporation.
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
8 * http://www.apache.org/licenses/LICENSE-2.0
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.
16 package org.onap.aai.esr.entity.db;
18 import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
20 import javax.persistence.Column;
21 import javax.persistence.Entity;
22 import javax.persistence.PrimaryKeyJoinColumn;
23 import javax.persistence.Table;
26 @Table(name = "extsys_vnfm_table")
27 @PrimaryKeyJoinColumn(name = "VNFMID")
28 @JsonIgnoreProperties(ignoreUnknown = true)
29 public class VnfmData extends BaseData {
33 @Column(name = "USERNAME")
34 private String userName;
36 @Column(name = "PASSWORD")
37 private String password;
39 @Column(name = "VIMID")
42 @Column(name = "CERTIFICATEURL")
43 private String certificateUrl;
45 public String getUrl() {
49 public void setUrl(String url) {
53 public String getUserName() {
57 public void setUserName(String userName) {
58 this.userName = userName;
61 public String getPassword() {
65 public void setPassword(String password) {
66 this.password = password;
69 public String getVimId() {
73 public void setVimId(String vimId) {
77 public String getCertificateUrl() {
78 return certificateUrl;
81 public void setCertificateUrl(String certificateUrl) {
82 this.certificateUrl = certificateUrl;