Applying license changes to all files
[appc.git] / appc-dg / appc-dg-shared / appc-dg-domain-model-lib / src / main / java / org / openecomp / 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.openecomp.appc.domainmodel;
26
27
28 public class Vserver {
29
30     private String url;
31
32     private String tenantId;
33     private String id;
34     private String relatedLink;
35     private String name;
36
37     public Vserver(String url){
38         this(url,null,null,null,null);
39     }
40
41     public Vserver(String url,
42                    String tenantId,
43                    String id,
44                    String relatedLink,
45                    String name){
46         this.url = url;
47         this.tenantId =tenantId;
48         this.id = id;
49         this.relatedLink =relatedLink;
50         this.name = name;
51
52     }
53
54     public String getUrl() {
55         return url;
56     }
57
58     @Override
59     public String toString() {
60         return "Vserver : url = " +url + ", tenantId = " +tenantId +", id = " +id + " ,relatedLink = " +relatedLink +" , name = "+name;
61     }
62
63     public String getTenantId() {
64         return tenantId;
65     }
66
67     public String getId() {
68         return id;
69     }
70
71     public String getRelatedLink() {
72         return relatedLink;
73     }
74
75     public String getName() {
76         return name;
77     }
78 }