KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > apache > ws > echosample > EchoStruct


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

17 package org.apache.ws.echosample;
18
19 import java.io.Serializable JavaDoc;
20
21 public class EchoStruct implements Serializable JavaDoc {
22     private int intVal;
23     private double doubleVal;
24     private byte[] bytesVal;
25     private float floatVal;
26     private long longVal;
27     private short shortVal;
28     private boolean boolaenVal;
29
30     private String JavaDoc strVal;
31
32     private int[] intaVal;
33     private double[] doubleaVal;
34     private byte[][] bytesaVal;
35     private float[] floataVal;
36     private long[] longaVal;
37     private short[] shortaVal;
38     private boolean[] boolaenaVal;
39
40     private String JavaDoc[] straVal;
41
42     private SmallEchoStruct sturctVal;
43     private SmallEchoStruct sturctaVal;
44
45     /**
46      * @return
47      */

48     public boolean[] getBoolaenaVal() {
49         return boolaenaVal;
50     }
51
52     /**
53      * @return
54      */

55     public boolean isBoolaenVal() {
56         return boolaenVal;
57     }
58
59     /**
60      * @return
61      */

62     public byte[][] getBytesaVal() {
63         return bytesaVal;
64     }
65
66     /**
67      * @return
68      */

69     public byte[] getBytesVal() {
70         return bytesVal;
71     }
72
73     /**
74      * @return
75      */

76     public double[] getDoubleaVal() {
77         return doubleaVal;
78     }
79
80     /**
81      * @return
82      */

83     public double getDoubleVal() {
84         return doubleVal;
85     }
86
87     /**
88      * @return
89      */

90     public float[] getFloataVal() {
91         return floataVal;
92     }
93
94     /**
95      * @return
96      */

97     public float getFloatVal() {
98         return floatVal;
99     }
100
101     /**
102      * @return
103      */

104     public int[] getIntaVal() {
105         return intaVal;
106     }
107
108     /**
109      * @return
110      */

111     public int getIntVal() {
112         return intVal;
113     }
114
115     /**
116      * @return
117      */

118     public long[] getLongaVal() {
119         return longaVal;
120     }
121
122     /**
123      * @return
124      */

125     public long getLongVal() {
126         return longVal;
127     }
128
129     /**
130      * @return
131      */

132     public short[] getShortaVal() {
133         return shortaVal;
134     }
135
136     /**
137      * @return
138      */

139     public short getShortVal() {
140         return shortVal;
141     }
142
143     /**
144      * @return
145      */

146     public String JavaDoc[] getStraVal() {
147         return straVal;
148     }
149
150     /**
151      * @return
152      */

153     public String JavaDoc getStrVal() {
154         return strVal;
155     }
156
157     /**
158      * @param bs
159      */

160     public void setBoolaenaVal(boolean[] bs) {
161         boolaenaVal = bs;
162     }
163
164     /**
165      * @param b
166      */

167     public void setBoolaenVal(boolean b) {
168         boolaenVal = b;
169     }
170
171     /**
172      * @param bs
173      */

174     public void setBytesaVal(byte[][] bs) {
175         bytesaVal = bs;
176     }
177
178     /**
179      * @param bs
180      */

181     public void setBytesVal(byte[] bs) {
182         bytesVal = bs;
183     }
184
185     /**
186      * @param ds
187      */

188     public void setDoubleaVal(double[] ds) {
189         doubleaVal = ds;
190     }
191
192     /**
193      * @param d
194      */

195     public void setDoubleVal(double d) {
196         doubleVal = d;
197     }
198
199     /**
200      * @param fs
201      */

202     public void setFloataVal(float[] fs) {
203         floataVal = fs;
204     }
205
206     /**
207      * @param f
208      */

209     public void setFloatVal(float f) {
210         floatVal = f;
211     }
212
213     /**
214      * @param is
215      */

216     public void setIntaVal(int[] is) {
217         intaVal = is;
218     }
219
220     /**
221      * @param i
222      */

223     public void setIntVal(int i) {
224         intVal = i;
225     }
226
227     /**
228      * @param ls
229      */

230     public void setLongaVal(long[] ls) {
231         longaVal = ls;
232     }
233
234     /**
235      * @param l
236      */

237     public void setLongVal(long l) {
238         longVal = l;
239     }
240
241     /**
242      * @param ses
243      */

244     public void setShortaVal(short[] ses) {
245         shortaVal = ses;
246     }
247
248     /**
249      * @param s
250      */

251     public void setShortVal(short s) {
252         shortVal = s;
253     }
254
255     /**
256      * @param strings
257      */

258     public void setStraVal(String JavaDoc[] strings) {
259         straVal = strings;
260     }
261
262     /**
263      * @param string
264      */

265     public void setStrVal(String JavaDoc string) {
266         strVal = string;
267     }
268
269     /**
270      * @return
271      */

272     public SmallEchoStruct getSturctaVal() {
273         return sturctaVal;
274     }
275
276     /**
277      * @return
278      */

279     public SmallEchoStruct getSturctVal() {
280         return sturctVal;
281     }
282
283     /**
284      * @param struct
285      */

286     public void setSturctaVal(SmallEchoStruct struct) {
287         sturctaVal = struct;
288     }
289
290     /**
291      * @param struct
292      */

293     public void setSturctVal(SmallEchoStruct struct) {
294         sturctVal = struct;
295     }
296
297 }
298
Popular Tags