01: /*
02: * ChainBuilder ESB
03: * Visual Enterprise Integration
04: *
05: * Copyright (C) 2006 Bostech Corporation
06: *
07: * This program is free software; you can redistribute it and/or modify it
08: * under the terms of the GNU General Public License as published by the
09: * Free Software Foundation; either version 2 of the License, or (at your option)
10: * any later version.
11: *
12: * This program is distributed in the hope that it will be useful,
13: * but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
14: * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
15: * for more details.
16: *
17: * You should have received a copy of the GNU General Public License along with
18: * this program; if not, write to the Free Software Foundation, Inc.,
19: * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
20: *
21: *
22: * $Id$
23: */
24: package com.bostechcorp.cbesb.common.sa.service;
25:
26: public class Connection {
27:
28: private String consumerName = "";
29: private String consumerType = "";
30: private String providerName = "";
31: private String providerType = "";
32:
33: public Connection() {
34: super ();
35:
36: }
37:
38: private String connectionType;
39: private long consumer;
40: private long provider;
41:
42: public String getConnectionType() {
43: return connectionType;
44: }
45:
46: public void setConnectionType(String connectionType) {
47: this .connectionType = connectionType;
48: }
49:
50: public long getConsumer() {
51: return consumer;
52: }
53:
54: public void setConsumer(long consumer) {
55: this .consumer = consumer;
56: }
57:
58: public long getProvider() {
59: return provider;
60: }
61:
62: public void setProvider(long provider) {
63: this .provider = provider;
64: }
65:
66: public String getConsumerName() {
67: return consumerName;
68: }
69:
70: public void setConsumerName(String consumerName) {
71: this .consumerName = consumerName;
72: }
73:
74: public String getConsumerType() {
75: return consumerType;
76: }
77:
78: public void setConsumerType(String consumerType) {
79: this .consumerType = consumerType;
80: }
81:
82: public String getProviderName() {
83: return providerName;
84: }
85:
86: public void setProviderName(String providerName) {
87: this .providerName = providerName;
88: }
89:
90: public String getProviderType() {
91: return providerType;
92: }
93:
94: public void setProviderType(String providerType) {
95: this.providerType = providerType;
96: }
97:
98: }
|