2 * ================================================================================
\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
11 * http://www.apache.org/licenses/LICENSE-2.0
\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
20 package org.openecomp.portalapp.portal.domain;
\r
22 import java.util.List;
\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
29 import org.openecomp.portalsdk.core.domain.support.DomainVo;
\r
31 public class MicroserviceData extends DomainVo {
\r
33 private static final long serialVersionUID = 1L;
\r
35 public MicroserviceData() {
\r
41 private String name;
\r
43 private String active;
\r
45 private String desc;
\r
51 private String securityType;
\r
53 private String username;
\r
55 private String password;
\r
57 private List<MicroserviceParameter> parameterList;
\r
59 public Long getId() {
\r
63 public void setId(Long id) {
\r
67 public String getName() {
\r
71 public void setName(String name) {
\r
75 public String getActive() {
\r
79 public void setActive(String active) {
\r
80 this.active = active;
\r
83 public String getDesc() {
\r
87 public void setDesc(String desc) {
\r
91 public long getAppId() {
\r
95 public void setAppId(long appId) {
\r
99 public String getUrl() {
\r
103 public void setUrl(String url) {
\r
107 public String getSecurityType() {
\r
108 return securityType;
\r
111 public void setSecurityType(String securityType) {
\r
112 this.securityType = securityType;
\r
115 public String getUsername() {
\r
119 public void setUsername(String username) {
\r
120 this.username = username;
\r
123 public String getPassword() {
\r
127 public void setPassword(String password) {
\r
128 this.password = password;
\r
131 public List<MicroserviceParameter> getParameterList() {
\r
132 return parameterList;
\r
135 public void setParameterList(List<MicroserviceParameter> parameterList) {
\r
136 this.parameterList = parameterList;
\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