1 /*******************************************************************************
2 * Copyright 2017 ZTE, Inc. and others.
4 * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
5 * in compliance with the License. You may obtain a copy of the License at
7 * http://www.apache.org/licenses/LICENSE-2.0
9 * Unless required by applicable law or agreed to in writing, software distributed under the License
10 * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
11 * or implied. See the License for the specific language governing permissions and limitations under
13 ******************************************************************************/
14 package org.onap.msb.sdk.httpclient;
16 public class ServiceHttpEndPointBeanObject {
18 private String serviceName;
19 private String serviceVersion;
20 private String msbProtocl = "https";
22 private String clientProtocl = "http";
24 private String nameSpace = "";
26 // The visibility of service: '0' if the service can be accessed outside, '1' if it can only be accessed within the system, default '1'
27 private String visualRange = "0";
29 private String serverType = "api";
32 public String getServiceName() {
36 public void setServiceName(String serviceName) {
37 this.serviceName = serviceName;
40 public String getServiceVersion() {
41 return serviceVersion;
44 public void setServiceVersion(String serviceVersion) {
45 this.serviceVersion = serviceVersion;
49 public String getServerType() {
53 public void setServerType(String serverType) {
54 this.serverType = serverType;
59 public String getMsbProtocl() {
63 public void setMsbProtocl(String msbProtocl) {
64 this.msbProtocl = msbProtocl;
67 public String getNameSpace() {
71 public void setNameSpace(String nameSpace) {
72 this.nameSpace = nameSpace;
75 public String getVisualRange() {
79 public void setVisualRange(String visualRange) {
80 this.visualRange = visualRange;
83 public String getClientProtocl() {
87 public void setClientProtocl(String clientProtocl) {
88 this.clientProtocl = clientProtocl;
92 public String toString() {
93 return "ServiceHttpEndPointBeanObject [serviceName=" + serviceName + ", serviceVersion="
94 + serviceVersion + ", msbProtocl=" + msbProtocl + ", clientProtocl=" + clientProtocl
95 + ", nameSpace=" + nameSpace + ", visualRange=" + visualRange + ", serverType=" + serverType