[PORTAL-7] Rebase
[portal.git] / ecomp-portal-BE-common / src / main / java / org / openecomp / portalapp / portal / domain / MicroserviceData.java
1 /*-\r
2  * ================================================================================\r
3  * ECOMP Portal\r
4  * ================================================================================\r
5  * Copyright (C) 2017 AT&T Intellectual Property\r
6  * ================================================================================\r
7  * Licensed under the Apache License, Version 2.0 (the "License");\r
8  * you may not use this file except in compliance with the License.\r
9  * You may obtain a copy of the License at\r
10  * \r
11  *      http://www.apache.org/licenses/LICENSE-2.0\r
12  * \r
13  * Unless required by applicable law or agreed to in writing, software\r
14  * distributed under the License is distributed on an "AS IS" BASIS,\r
15  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
16  * See the License for the specific language governing permissions and\r
17  * limitations under the License.\r
18  * ================================================================================\r
19  */\r
20 package org.openecomp.portalapp.portal.domain;\r
21 \r
22 import java.util.List;\r
23 \r
24 import javax.persistence.Column;\r
25 import javax.persistence.GeneratedValue;\r
26 import javax.persistence.GenerationType;\r
27 import javax.persistence.Id;\r
28 \r
29 import org.openecomp.portalsdk.core.domain.support.DomainVo;\r
30 \r
31 public class MicroserviceData extends DomainVo {\r
32 \r
33         private static final long serialVersionUID = 1L;\r
34 \r
35         public MicroserviceData() {\r
36 \r
37         }\r
38 \r
39         private Long id;\r
40 \r
41         private String name;\r
42 \r
43         private String active;\r
44 \r
45         private String desc;\r
46 \r
47         private long appId;\r
48 \r
49         private String url;\r
50 \r
51         private String securityType;\r
52 \r
53         private String username;\r
54 \r
55         private String password;\r
56 \r
57         private List<MicroserviceParameter> parameterList;\r
58 \r
59         public Long getId() {\r
60                 return id;\r
61         }\r
62 \r
63         public void setId(Long id) {\r
64                 this.id = id;\r
65         }\r
66 \r
67         public String getName() {\r
68                 return name;\r
69         }\r
70 \r
71         public void setName(String name) {\r
72                 this.name = name;\r
73         }\r
74 \r
75         public String getActive() {\r
76                 return active;\r
77         }\r
78 \r
79         public void setActive(String active) {\r
80                 this.active = active;\r
81         }\r
82 \r
83         public String getDesc() {\r
84                 return desc;\r
85         }\r
86 \r
87         public void setDesc(String desc) {\r
88                 this.desc = desc;\r
89         }\r
90 \r
91         public long getAppId() {\r
92                 return appId;\r
93         }\r
94 \r
95         public void setAppId(long appId) {\r
96                 this.appId = appId;\r
97         }\r
98 \r
99         public String getUrl() {\r
100                 return url;\r
101         }\r
102 \r
103         public void setUrl(String url) {\r
104                 this.url = url;\r
105         }\r
106 \r
107         public String getSecurityType() {\r
108                 return securityType;\r
109         }\r
110 \r
111         public void setSecurityType(String securityType) {\r
112                 this.securityType = securityType;\r
113         }\r
114 \r
115         public String getUsername() {\r
116                 return username;\r
117         }\r
118 \r
119         public void setUsername(String username) {\r
120                 this.username = username;\r
121         }\r
122 \r
123         public String getPassword() {\r
124                 return password;\r
125         }\r
126 \r
127         public void setPassword(String password) {\r
128                 this.password = password;\r
129         }\r
130 \r
131         public List<MicroserviceParameter> getParameterList() {\r
132                 return parameterList;\r
133         }\r
134 \r
135         public void setParameterList(List<MicroserviceParameter> parameterList) {\r
136                 this.parameterList = parameterList;\r
137         }\r
138 \r
139         @Override\r
140         public String toString() {\r
141                 return "MicroserviceData [id=" + id + ", name=" + name + ", desc=" + desc + ", appId=" + appId + ", url=" + url\r
142                                 + ", securityType=" + securityType + ", username=" + username + ", password=" + password\r
143                                 + ", parameterList=" + parameterList + "]";\r
144         }\r
145 \r
146 }\r