001: /*======================================================================
002: * Licensed to the Apache Software Foundation (ASF) under one or more
003: * contributor license agreements. See the NOTICE file distributed with
004: * this work for additional information regarding copyright ownership.
005: * The ASF licenses this file to You under the Apache License, Version 2.0
006: * (the "License"); you may not use this file except in compliance with
007: * the License. You may obtain a copy of the License at
008: *
009: * http://www.apache.org/licenses/LICENSE-2.0
010: *
011: * Unless required by applicable law or agreed to in writing, software
012: * distributed under the License is distributed on an "AS IS" BASIS,
013: * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
014: * See the License for the specific language governing permissions and
015: * limitations under the License.
016: ======================================================================*/
017: package org.apache.ws.echosample;
018:
019: import java.io.Serializable;
020:
021: public class EchoStruct implements Serializable {
022: private int intVal;
023: private double doubleVal;
024: private byte[] bytesVal;
025: private float floatVal;
026: private long longVal;
027: private short shortVal;
028: private boolean boolaenVal;
029:
030: private String strVal;
031:
032: private int[] intaVal;
033: private double[] doubleaVal;
034: private byte[][] bytesaVal;
035: private float[] floataVal;
036: private long[] longaVal;
037: private short[] shortaVal;
038: private boolean[] boolaenaVal;
039:
040: private String[] straVal;
041:
042: private SmallEchoStruct sturctVal;
043: private SmallEchoStruct sturctaVal;
044:
045: /**
046: * @return
047: */
048: public boolean[] getBoolaenaVal() {
049: return boolaenaVal;
050: }
051:
052: /**
053: * @return
054: */
055: public boolean isBoolaenVal() {
056: return boolaenVal;
057: }
058:
059: /**
060: * @return
061: */
062: public byte[][] getBytesaVal() {
063: return bytesaVal;
064: }
065:
066: /**
067: * @return
068: */
069: public byte[] getBytesVal() {
070: return bytesVal;
071: }
072:
073: /**
074: * @return
075: */
076: public double[] getDoubleaVal() {
077: return doubleaVal;
078: }
079:
080: /**
081: * @return
082: */
083: public double getDoubleVal() {
084: return doubleVal;
085: }
086:
087: /**
088: * @return
089: */
090: public float[] getFloataVal() {
091: return floataVal;
092: }
093:
094: /**
095: * @return
096: */
097: public float getFloatVal() {
098: return floatVal;
099: }
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[] getStraVal() {
147: return straVal;
148: }
149:
150: /**
151: * @return
152: */
153: public String 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[] strings) {
259: straVal = strings;
260: }
261:
262: /**
263: * @param string
264: */
265: public void setStrVal(String 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: }
|