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: */package org.apache.geronimo.axis.testData.echosample;
017:
018: import java.io.Serializable;
019:
020: public class EchoStruct implements Serializable {
021: private int intVal;
022: private double doubleVal;
023: private byte[] bytesVal;
024: private float floatVal;
025: private long longVal;
026: private short shortVal;
027: private boolean boolaenVal;
028:
029: private String strVal;
030:
031: private int[] intaVal;
032: private double[] doubleaVal;
033: private byte[][] bytesaVal;
034: private float[] floataVal;
035: private long[] longaVal;
036: private short[] shortaVal;
037: private boolean[] boolaenaVal;
038:
039: private String[] straVal;
040:
041: private SmallEchoStruct sturctVal;
042: private SmallEchoStruct sturctaVal;
043:
044: /**
045: * @return
046: */
047: public boolean[] getBoolaenaVal() {
048: return boolaenaVal;
049: }
050:
051: /**
052: * @return
053: */
054: public boolean isBoolaenVal() {
055: return boolaenVal;
056: }
057:
058: /**
059: * @return
060: */
061: public byte[][] getBytesaVal() {
062: return bytesaVal;
063: }
064:
065: /**
066: * @return
067: */
068: public byte[] getBytesVal() {
069: return bytesVal;
070: }
071:
072: /**
073: * @return
074: */
075: public double[] getDoubleaVal() {
076: return doubleaVal;
077: }
078:
079: /**
080: * @return
081: */
082: public double getDoubleVal() {
083: return doubleVal;
084: }
085:
086: /**
087: * @return
088: */
089: public float[] getFloataVal() {
090: return floataVal;
091: }
092:
093: /**
094: * @return
095: */
096: public float getFloatVal() {
097: return floatVal;
098: }
099:
100: /**
101: * @return
102: */
103: public int[] getIntaVal() {
104: return intaVal;
105: }
106:
107: /**
108: * @return
109: */
110: public int getIntVal() {
111: return intVal;
112: }
113:
114: /**
115: * @return
116: */
117: public long[] getLongaVal() {
118: return longaVal;
119: }
120:
121: /**
122: * @return
123: */
124: public long getLongVal() {
125: return longVal;
126: }
127:
128: /**
129: * @return
130: */
131: public short[] getShortaVal() {
132: return shortaVal;
133: }
134:
135: /**
136: * @return
137: */
138: public short getShortVal() {
139: return shortVal;
140: }
141:
142: /**
143: * @return
144: */
145: public String[] getStraVal() {
146: return straVal;
147: }
148:
149: /**
150: * @return
151: */
152: public String getStrVal() {
153: return strVal;
154: }
155:
156: /**
157: * @param bs
158: */
159: public void setBoolaenaVal(boolean[] bs) {
160: boolaenaVal = bs;
161: }
162:
163: /**
164: * @param b
165: */
166: public void setBoolaenVal(boolean b) {
167: boolaenVal = b;
168: }
169:
170: /**
171: * @param bs
172: */
173: public void setBytesaVal(byte[][] bs) {
174: bytesaVal = bs;
175: }
176:
177: /**
178: * @param bs
179: */
180: public void setBytesVal(byte[] bs) {
181: bytesVal = bs;
182: }
183:
184: /**
185: * @param ds
186: */
187: public void setDoubleaVal(double[] ds) {
188: doubleaVal = ds;
189: }
190:
191: /**
192: * @param d
193: */
194: public void setDoubleVal(double d) {
195: doubleVal = d;
196: }
197:
198: /**
199: * @param fs
200: */
201: public void setFloataVal(float[] fs) {
202: floataVal = fs;
203: }
204:
205: /**
206: * @param f
207: */
208: public void setFloatVal(float f) {
209: floatVal = f;
210: }
211:
212: /**
213: * @param is
214: */
215: public void setIntaVal(int[] is) {
216: intaVal = is;
217: }
218:
219: /**
220: * @param i
221: */
222: public void setIntVal(int i) {
223: intVal = i;
224: }
225:
226: /**
227: * @param ls
228: */
229: public void setLongaVal(long[] ls) {
230: longaVal = ls;
231: }
232:
233: /**
234: * @param l
235: */
236: public void setLongVal(long l) {
237: longVal = l;
238: }
239:
240: /**
241: * @param ses
242: */
243: public void setShortaVal(short[] ses) {
244: shortaVal = ses;
245: }
246:
247: /**
248: * @param s
249: */
250: public void setShortVal(short s) {
251: shortVal = s;
252: }
253:
254: /**
255: * @param strings
256: */
257: public void setStraVal(String[] strings) {
258: straVal = strings;
259: }
260:
261: /**
262: * @param string
263: */
264: public void setStrVal(String string) {
265: strVal = string;
266: }
267:
268: /**
269: * @return
270: */
271: public SmallEchoStruct getSturctaVal() {
272: return sturctaVal;
273: }
274:
275: /**
276: * @return
277: */
278: public SmallEchoStruct getSturctVal() {
279: return sturctVal;
280: }
281:
282: /**
283: * @param struct
284: */
285: public void setSturctaVal(SmallEchoStruct struct) {
286: sturctaVal = struct;
287: }
288:
289: /**
290: * @param struct
291: */
292: public void setSturctVal(SmallEchoStruct struct) {
293: sturctVal = struct;
294: }
295:
296: }
|