KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > apache > sandesha > interop > testclient > InteropBean


1 /*
2 * Copyright 1999-2004 The Apache Software Foundation.
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License"); you may not
5 * use this file except in compliance with the License. You may obtain a copy of
6 * the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
12 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
13 * License for the specific language governing permissions and limitations under
14 * the License.
15 *
16 */

17
18 package org.apache.sandesha.interop.testclient;
19
20 import java.io.Serializable JavaDoc;
21
22 /**
23  * This is used to pass parameters from interop.jsp to the Sandesha
24  *
25  * @author Chamikara Jayalath
26  */

27 public class InteropBean implements Serializable JavaDoc {
28
29     private String JavaDoc target;
30     private String JavaDoc operation;
31     private String JavaDoc from;
32     private String JavaDoc replyto;
33     private int noOfMsgs;
34
35     private String JavaDoc acksTo;
36     private String JavaDoc offer;
37     private String JavaDoc faultto;
38     private String JavaDoc sourceURL;
39
40     public String JavaDoc getFaultto() {
41         return faultto;
42     }
43
44     public void setFaultto(String JavaDoc faultto) {
45         this.faultto = faultto;
46     }
47
48
49     public String JavaDoc getSourceURL() {
50         return sourceURL;
51     }
52
53     public void setSourceURL(String JavaDoc sourceURL) {
54         this.sourceURL = sourceURL;
55     }
56
57
58     public String JavaDoc getAcksTo() {
59         return acksTo;
60     }
61
62     public void setAcksTo(String JavaDoc acksTo) {
63         this.acksTo = acksTo;
64     }
65
66
67     public String JavaDoc getFrom() {
68         return from;
69     }
70
71     public int getNoOfMsgs() {
72         return noOfMsgs;
73     }
74
75     public String JavaDoc getOperation() {
76         return operation;
77     }
78
79     public String JavaDoc getReplyto() {
80         return replyto;
81     }
82
83
84     public String JavaDoc getTarget() {
85         return target;
86     }
87
88
89     /**
90      * @param string
91      */

92     public void setFrom(String JavaDoc string) {
93         from = string;
94     }
95
96     /**
97      * @param i
98      */

99     public void setNoOfMsgs(int i) {
100         noOfMsgs = i;
101     }
102
103     /**
104      * @param string
105      */

106     public void setOperation(String JavaDoc string) {
107         operation = string;
108     }
109
110     /**
111      * @param string
112      */

113     public void setReplyto(String JavaDoc string) {
114         replyto = string;
115     }
116
117     /**
118      * @param string
119      */

120     public void setTarget(String JavaDoc string) {
121         target = string;
122     }
123
124     public String JavaDoc getOffer() {
125         return offer;
126     }
127
128     public void setOffer(String JavaDoc offer) {
129         this.offer = offer;
130     }
131
132
133 }
134
Popular Tags