[PORTAL-7] Rebase
[portal.git] / ecomp-portal-BE-common / src / main / java / org / openecomp / portalapp / portal / domain / BasicAuthCredentials.java
1 /*-
2  * ================================================================================
3  * ECOMP Portal
4  * ================================================================================
5  * Copyright (C) 2017 AT&T Intellectual Property
6  * ================================================================================
7  * Licensed under the Apache License, Version 2.0 (the "License");
8  * you may not use this file except in compliance with the License.
9  * You may obtain a copy of the License at
10  * 
11  *      http://www.apache.org/licenses/LICENSE-2.0
12  * 
13  * Unless required by applicable law or agreed to in writing, software
14  * distributed under the License is distributed on an "AS IS" BASIS,
15  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16  * See the License for the specific language governing permissions and
17  * limitations under the License.
18  * ================================================================================
19  */
20 package org.openecomp.portalapp.portal.domain;
21
22 import java.util.List;
23
24 import org.openecomp.portalsdk.core.domain.support.DomainVo;
25
26 public class BasicAuthCredentials extends DomainVo {
27         
28         private static final long serialVersionUID = 1L;
29
30         public BasicAuthCredentials() {
31
32         }
33         
34         private Long id;
35         private String applicationName;
36         private String username;
37         private String password;
38         private String isActive;
39         private List<EPEndpoint> endpoints;
40         
41         public Long getId() {
42                 return id;
43         }
44
45         public void setId(Long id) {
46                 this.id = id;
47         }
48
49         public String getApplicationName() {
50                 return applicationName;
51         }
52
53         public void setApplicationName(String applicationName) {
54                 this.applicationName = applicationName;
55         }
56
57         public String getUsername() {
58                 return username;
59         }
60
61         public void setUsername(String username) {
62                 this.username = username;
63         }
64
65         public String getPassword() {
66                 return password;
67         }
68
69         public void setPassword(String password) {
70                 this.password = password;
71         }
72
73         public String getIsActive() {
74                 return isActive;
75         }
76
77         public void setIsActive(String isActive) {
78                 this.isActive = isActive;
79         }
80         
81         public List<EPEndpoint> getEndpoints() {
82                 return endpoints;
83         }
84
85         public void setEndpoints(List<EPEndpoint> endpoints) {
86                 this.endpoints = endpoints;
87         }
88
89         @Override
90         public String toString() {
91                 return "BasicAuthCredentials [id=" + id + ", applicationName=" + applicationName + ", username=" + username
92                                 + ", password=" + password + ", isActive=" + isActive + "]";
93         }
94
95 }