1 16 17 package org.apache.axis2.sample.echo; 18 19 public class EchoStruct implements java.io.Serializable { 20 private java.lang.String value1; 21 private java.lang.String value10; 22 private java.lang.String value11; 23 private java.lang.String value12; 24 private java.lang.String value13; 25 private java.lang.String value2; 26 private int value3; 27 private java.lang.String value4; 28 private java.lang.String value5; 29 private java.lang.String value6; 30 private java.lang.String value7; 31 private java.lang.String value8; 32 private java.lang.String value9; 33 34 public EchoStruct() { 35 } 36 37 public EchoStruct( 38 java.lang.String value1, 39 java.lang.String value10, 40 java.lang.String value11, 41 java.lang.String value12, 42 java.lang.String value13, 43 java.lang.String value2, 44 int value3, 45 java.lang.String value4, 46 java.lang.String value5, 47 java.lang.String value6, 48 java.lang.String value7, 49 java.lang.String value8, 50 java.lang.String value9) { 51 this.value1 = value1; 52 this.value10 = value10; 53 this.value11 = value11; 54 this.value12 = value12; 55 this.value13 = value13; 56 this.value2 = value2; 57 this.value3 = value3; 58 this.value4 = value4; 59 this.value5 = value5; 60 this.value6 = value6; 61 this.value7 = value7; 62 this.value8 = value8; 63 this.value9 = value9; 64 } 65 66 71 public java.lang.String getValue1() { 72 return value1; 73 } 74 75 80 public void setValue1(java.lang.String value1) { 81 this.value1 = value1; 82 } 83 84 89 public java.lang.String getValue10() { 90 return value10; 91 } 92 93 98 public void setValue10(java.lang.String value10) { 99 this.value10 = value10; 100 } 101 102 107 public java.lang.String getValue11() { 108 return value11; 109 } 110 111 116 public void setValue11(java.lang.String value11) { 117 this.value11 = value11; 118 } 119 120 125 public java.lang.String getValue12() { 126 return value12; 127 } 128 129 134 public void setValue12(java.lang.String value12) { 135 this.value12 = value12; 136 } 137 138 143 public java.lang.String getValue13() { 144 return value13; 145 } 146 147 152 public void setValue13(java.lang.String value13) { 153 this.value13 = value13; 154 } 155 156 161 public java.lang.String getValue2() { 162 return value2; 163 } 164 165 170 public void setValue2(java.lang.String value2) { 171 this.value2 = value2; 172 } 173 174 179 public int getValue3() { 180 return value3; 181 } 182 183 188 public void setValue3(int value3) { 189 this.value3 = value3; 190 } 191 192 197 public java.lang.String getValue4() { 198 return value4; 199 } 200 201 206 public void setValue4(java.lang.String value4) { 207 this.value4 = value4; 208 } 209 210 215 public java.lang.String getValue5() { 216 return value5; 217 } 218 219 224 public void setValue5(java.lang.String value5) { 225 this.value5 = value5; 226 } 227 228 233 public java.lang.String getValue6() { 234 return value6; 235 } 236 237 242 public void setValue6(java.lang.String value6) { 243 this.value6 = value6; 244 } 245 246 251 public java.lang.String getValue7() { 252 return value7; 253 } 254 255 260 public void setValue7(java.lang.String value7) { 261 this.value7 = value7; 262 } 263 264 269 public java.lang.String getValue8() { 270 return value8; 271 } 272 273 278 public void setValue8(java.lang.String value8) { 279 this.value8 = value8; 280 } 281 282 287 public java.lang.String getValue9() { 288 return value9; 289 } 290 291 296 public void setValue9(java.lang.String value9) { 297 this.value9 = value9; 298 } 299 300 303 public boolean equals(Object obj) { 304 if (obj instanceof EchoStruct) { 305 EchoStruct val = (EchoStruct) obj; 306 if (value1.equals(val.value1) 307 && value2.equals(val.value2) 308 && (value3 == val.value3) 309 && value4.equals(val.value4) 310 && value5.equals(val.value5) 311 && value6.equals(val.value6) 312 && value7.equals(val.value7) 313 && value8.equals(val.value8) 314 && value9.equals(val.value9) 315 && value10.equals(val.value10) 316 && value11.equals(val.value11) 317 && value12.equals(val.value12) 318 && value13.equals(val.value13)) { 319 return true; 320 321 322 } 323 324 } 325 return false; 326 327 } 328 } 329 | Popular Tags |