Updated SDC listener and dependent bundles
[appc.git] / appc-dg / appc-dg-shared / appc-dg-domain-model-lib / src / main / java / org / onap / appc / domainmodel / Vserver.java
1 /*-
2  * ============LICENSE_START=======================================================
3  * ONAP : APPC
4  * ================================================================================
5  * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
6  * ================================================================================
7  * Copyright (C) 2017 Amdocs
8  * =============================================================================
9  * Licensed under the Apache License, Version 2.0 (the "License");
10  * you may not use this file except in compliance with the License.
11  * You may obtain a copy of the License at
12  * 
13  *      http://www.apache.org/licenses/LICENSE-2.0
14  * 
15  * Unless required by applicable law or agreed to in writing, software
16  * distributed under the License is distributed on an "AS IS" BASIS,
17  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
18  * See the License for the specific language governing permissions and
19  * limitations under the License.
20  * 
21  * ECOMP is a trademark and service mark of AT&T Intellectual Property.
22  * ============LICENSE_END=========================================================
23  */
24
25 package org.onap.appc.domainmodel;
26
27
28 public class Vserver {
29
30     private String url;
31     private String tenantId;
32     private String id;
33     private String relatedLink;
34     private String name;
35     private Vnfc vnfc;
36
37     public Vserver(){
38
39     }
40
41     @Override
42     public String toString() {
43         return  new StringBuilder().append("Vserver : url = ").append(url).append(", tenantId = ").append(tenantId).append(", id = ").append(id).append(" ,relatedLink = ").append(relatedLink).append(" , name = ").append(name).toString();
44     }
45
46     public String getUrl() {
47         return url;
48     }
49
50     public void setUrl(String url) {
51         this.url = url;
52     }
53
54     public String getTenantId() {
55         return tenantId;
56     }
57
58     public void setTenantId(String tenantId) {
59         this.tenantId = tenantId;
60     }
61
62     public String getId() {
63         return id;
64     }
65
66     public void setId(String id) {
67         this.id = id;
68     }
69
70     public String getRelatedLink() {
71         return relatedLink;
72     }
73
74     public void setRelatedLink(String relatedLink) {
75         this.relatedLink = relatedLink;
76     }
77
78     public String getName() {
79         return name;
80     }
81
82     public void setName(String name) {
83         this.name = name;
84     }
85
86     public Vnfc getVnfc() {
87         return vnfc;
88     }
89
90     public void setVnfc(Vnfc vnfc) {
91         this.vnfc = vnfc;
92     }
93
94 }