01: /*
02: * Copyright 2004,2005 The Apache Software Foundation.
03: *
04: * Licensed under the Apache License, Version 2.0 (the "License");
05: * you may not use this file except in compliance with the License.
06: * You may obtain a copy of the License at
07: *
08: * http://www.apache.org/licenses/LICENSE-2.0
09: *
10: * Unless required by applicable law or agreed to in writing, software
11: * distributed under the License is distributed on an "AS IS" BASIS,
12: * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13: * See the License for the specific language governing permissions and
14: * limitations under the License.
15: */
16: package org.wso2.esb.services.tos;
17:
18: /**
19: *
20: *
21: */
22:
23: public class LoadBalanceEndpointData implements EndpointData {
24:
25: private int type = 3;
26:
27: private String name;
28:
29: private EndpointData[] endpoints;
30:
31: private String sessiontype = null;
32:
33: public LoadBalanceEndpointData() {
34:
35: }
36:
37: public EndpointData[] getEndpoints() {
38: return endpoints;
39: }
40:
41: public void setEndpoints(EndpointData[] endpoints) {
42: this .endpoints = endpoints;
43: }
44:
45: public int getType() {
46: return type;
47: }
48:
49: public void setType(int type) {
50: this .type = type;
51: }
52:
53: public String getName() {
54: return name;
55: }
56:
57: public void setName(String name) {
58: this .name = name;
59: }
60:
61: public String getSessiontype() {
62: return sessiontype;
63: }
64:
65: public void setSessiontype(String sessiontype) {
66: this.sessiontype = sessiontype;
67: }
68: }
|