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.aai;
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_vim_table")
27 @PrimaryKeyJoinColumn(name = "VIMID")
28 @JsonIgnoreProperties(ignoreUnknown = true)
29 public class VimData extends BaseData {
35 @Column(name = "USERNAME")
36 private String userName;
38 @Column(name = "PASSWORD")
39 private String password;
41 @Column(name = "DOMAIN")
42 private String domain;
44 @Column(name = "TENANT")
45 private String tenant;
47 public String getDomain() {
51 public void setDomain(String domain) {
55 public String getTenant() {
59 public void setTenant(String tenant) {
63 public String getUrl() {
67 public void setUrl(String url) {
71 public String getUserName() {
75 public void setUserName(String userName) {
76 this.userName = userName;
79 public String getPassword() {
83 public void setPassword(String password) {
84 this.password = password;