001 /** 002 * Copyright 2005-2012 The Kuali Foundation 003 * 004 * Licensed under the Educational Community License, Version 2.0 (the "License"); 005 * you may not use this file except in compliance with the License. 006 * You may obtain a copy of the License at 007 * 008 * http://www.opensource.org/licenses/ecl2.php 009 * 010 * Unless required by applicable law or agreed to in writing, software 011 * distributed under the License is distributed on an "AS IS" BASIS, 012 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 013 * See the License for the specific language governing permissions and 014 * limitations under the License. 015 */ 016 package edu.sampleu.travel.krad.form; 017 018 import javax.servlet.http.HttpServletRequest; 019 020 import org.kuali.rice.core.api.CoreApiServiceLocator; 021 import org.kuali.rice.core.api.datetime.DateTimeService; 022 import org.kuali.rice.coreservice.api.CoreServiceApiServiceLocator; 023 import org.kuali.rice.krad.web.form.UifFormBase; 024 025 import edu.sampleu.travel.bo.TravelAccount; 026 027 /** 028 * Form for Test UI Page 029 * 030 * @author Kuali Rice Team (rice.collab@kuali.org) 031 */ 032 public class UITestForm extends UifFormBase { 033 private static final long serialVersionUID = -2054046347823986319L; 034 035 private String field1; 036 private String field2 = ""; 037 private String field3; 038 private String field4; 039 private String field5; 040 private String field6; 041 private int field7; 042 private boolean field8; 043 044 private boolean field9; 045 private boolean field10; 046 private boolean field11; 047 private boolean field12; 048 049 private String field13; 050 private String field14; 051 private String field15; 052 private String field16; 053 private String field17; 054 private String field18 = "Dyn Label"; 055 private String field19; 056 private String field20; 057 private String field21; 058 private boolean field22; 059 private String field23; 060 private boolean field24; 061 private boolean field25; 062 private boolean field26; 063 private String field27; 064 private String field28 = "joe"; 065 private boolean field29; 066 private boolean field30; 067 private boolean field31; 068 private String field32; 069 private String field33; 070 private String field34; 071 private String field35; 072 private String vField1; 073 private String vField2; 074 private String vField3; 075 private String vField4; 076 private String vField5; 077 private String vField6; 078 private String hField1; 079 private String hField2; 080 private String hField3; 081 082 private TravelAccount travelAccount1; 083 private TravelAccount travelAccount2; 084 private TravelAccount travelAccount3; 085 private TravelAccount travelAccount4; 086 087 private String hidden1; 088 private String hidden2; 089 090 public UITestForm() { 091 super(); 092 } 093 094 @Override 095 public void postBind(HttpServletRequest request) { 096 super.postBind(request); 097 } 098 099 public String getField1() { 100 return this.field1; 101 } 102 103 public void setField1(String field1) { 104 this.field1 = field1; 105 } 106 107 public String getField2() { 108 return this.field2; 109 } 110 111 public void setField2(String field2) { 112 this.field2 = field2; 113 } 114 115 public String getField3() { 116 return this.field3; 117 } 118 119 public void setField3(String field3) { 120 this.field3 = field3; 121 } 122 123 public String getField4() { 124 return this.field4; 125 } 126 127 public void setField4(String field4) { 128 this.field4 = field4; 129 } 130 131 public String getField5() { 132 return this.field5; 133 } 134 135 public void setField5(String field5) { 136 this.field5 = field5; 137 } 138 139 public String getField6() { 140 return this.field6; 141 } 142 143 public void setField6(String field6) { 144 this.field6 = field6; 145 } 146 147 public int getField7() { 148 return this.field7; 149 } 150 151 public void setField7(int field7) { 152 this.field7 = field7; 153 } 154 155 public boolean isField8() { 156 return this.field8; 157 } 158 159 public void setField8(boolean field8) { 160 this.field8 = field8; 161 } 162 163 public TravelAccount getTravelAccount1() { 164 return this.travelAccount1; 165 } 166 167 public void setTravelAccount1(TravelAccount travelAccount1) { 168 this.travelAccount1 = travelAccount1; 169 } 170 171 public boolean isField9() { 172 return this.field9; 173 } 174 175 public void setField9(boolean field9) { 176 this.field9 = field9; 177 } 178 179 public boolean isField10() { 180 return this.field10; 181 } 182 183 public void setField10(boolean field10) { 184 this.field10 = field10; 185 } 186 187 public boolean isField11() { 188 return this.field11; 189 } 190 191 public void setField11(boolean field11) { 192 this.field11 = field11; 193 } 194 195 public boolean isField12() { 196 return this.field12; 197 } 198 199 public void setField12(boolean field12) { 200 this.field12 = field12; 201 } 202 203 public String getField13() { 204 return this.field13; 205 } 206 207 public void setField13(String field13) { 208 this.field13 = field13; 209 } 210 211 public String getField14() { 212 return this.field14; 213 } 214 215 public void setField14(String field14) { 216 this.field14 = field14; 217 } 218 219 public String getField15() { 220 return this.field15; 221 } 222 223 public void setField15(String field15) { 224 this.field15 = field15; 225 } 226 227 public String getField16() { 228 return this.field16; 229 } 230 231 public void setField16(String field16) { 232 this.field16 = field16; 233 } 234 235 public String getField17() { 236 return this.field17; 237 } 238 239 public void setField17(String field17) { 240 this.field17 = field17; 241 } 242 243 public String getField18() { 244 return this.field18; 245 } 246 247 public void setField18(String field18) { 248 this.field18 = field18; 249 } 250 251 public String getField19() { 252 return this.field19; 253 } 254 255 public void setField19(String field19) { 256 this.field19 = field19; 257 } 258 259 public String getField20() { 260 return this.field20; 261 } 262 263 public void setField20(String field20) { 264 this.field20 = field20; 265 } 266 267 public String getField21() { 268 return this.field21; 269 } 270 271 public void setField21(String field21) { 272 this.field21 = field21; 273 } 274 275 public boolean isField22() { 276 return this.field22; 277 } 278 279 public void setField22(boolean field22) { 280 this.field22 = field22; 281 } 282 283 public String getField23() { 284 return this.field23; 285 } 286 287 public void setField23(String field23) { 288 this.field23 = field23; 289 } 290 291 public boolean isField24() { 292 return this.field24; 293 } 294 295 public void setField24(boolean field24) { 296 this.field24 = field24; 297 } 298 299 public boolean isField25() { 300 return this.field25; 301 } 302 303 public void setField25(boolean field25) { 304 this.field25 = field25; 305 } 306 307 public boolean isField26() { 308 return this.field26; 309 } 310 311 public void setField26(boolean field26) { 312 this.field26 = field26; 313 } 314 315 public String getField27() { 316 return this.field27; 317 } 318 319 public void setField27(String field27) { 320 this.field27 = field27; 321 } 322 323 public String getField28() { 324 return this.field28; 325 } 326 327 public void setField28(String field28) { 328 this.field28 = field28; 329 } 330 331 public boolean isField29() { 332 return this.field29; 333 } 334 335 public void setField29(boolean field29) { 336 this.field29 = field29; 337 } 338 339 public boolean isField30() { 340 return this.field30; 341 } 342 343 public void setField30(boolean field30) { 344 this.field30 = field30; 345 } 346 347 public boolean isField31() { 348 return this.field31; 349 } 350 351 public void setField31(boolean field31) { 352 this.field31 = field31; 353 } 354 355 public String getField32() { 356 return this.field32; 357 } 358 359 public void setField32(String field32) { 360 this.field32 = field32; 361 } 362 363 public String getField33() { 364 return this.field33; 365 } 366 367 public void setField33(String field33) { 368 this.field33 = field33; 369 } 370 371 public TravelAccount getTravelAccount2() { 372 return this.travelAccount2; 373 } 374 375 public void setTravelAccount2(TravelAccount travelAccount2) { 376 this.travelAccount2 = travelAccount2; 377 } 378 379 public TravelAccount getTravelAccount3() { 380 return this.travelAccount3; 381 } 382 383 public void setTravelAccount3(TravelAccount travelAccount3) { 384 this.travelAccount3 = travelAccount3; 385 } 386 387 public TravelAccount getTravelAccount4() { 388 return this.travelAccount4; 389 } 390 391 public void setTravelAccount4(TravelAccount travelAccount4) { 392 this.travelAccount4 = travelAccount4; 393 } 394 395 /** 396 * @return the vField1 397 */ 398 public String getvField1() { 399 return this.vField1; 400 } 401 402 /** 403 * @param vField1 the vField1 to set 404 */ 405 public void setvField1(String vField1) { 406 this.vField1 = vField1; 407 } 408 409 /** 410 * @return the vField2 411 */ 412 public String getvField2() { 413 return this.vField2; 414 } 415 416 /** 417 * @param vField2 the vField2 to set 418 */ 419 public void setvField2(String vField2) { 420 this.vField2 = vField2; 421 } 422 423 /** 424 * @return the vField3 425 */ 426 public String getvField3() { 427 return this.vField3; 428 } 429 430 /** 431 * @param vField3 the vField3 to set 432 */ 433 public void setvField3(String vField3) { 434 this.vField3 = vField3; 435 } 436 437 /** 438 * @return the hField1 439 */ 440 public String gethField1() { 441 return this.hField1; 442 } 443 444 /** 445 * @param hField1 the hField1 to set 446 */ 447 public void sethField1(String hField1) { 448 this.hField1 = hField1; 449 } 450 451 /** 452 * @return the hField2 453 */ 454 public String gethField2() { 455 return this.hField2; 456 } 457 458 /** 459 * @param hField2 the hField2 to set 460 */ 461 public void sethField2(String hField2) { 462 this.hField2 = hField2; 463 } 464 465 /** 466 * @return the hField3 467 */ 468 public String gethField3() { 469 return this.hField3; 470 } 471 472 /** 473 * @param hField3 the hField3 to set 474 */ 475 public void sethField3(String hField3) { 476 this.hField3 = hField3; 477 } 478 479 /** 480 * @return the field34 481 */ 482 public String getField34() { 483 return this.field34; 484 } 485 486 /** 487 * @param field34 the field34 to set 488 */ 489 public void setField34(String field34) { 490 this.field34 = field34; 491 } 492 493 /** 494 * @return the field35 495 */ 496 public String getField35() { 497 return this.field35; 498 } 499 500 /** 501 * @param field35 the field35 to set 502 */ 503 public void setField35(String field35) { 504 this.field35 = field35; 505 } 506 507 /** 508 * @return the vField4 509 */ 510 public String getvField4() { 511 return this.vField4; 512 } 513 514 /** 515 * @param vField4 the vField4 to set 516 */ 517 public void setvField4(String vField4) { 518 this.vField4 = vField4; 519 } 520 521 /** 522 * @return the vField5 523 */ 524 public String getvField5() { 525 return this.vField5; 526 } 527 528 /** 529 * @param vField5 the vField5 to set 530 */ 531 public void setvField5(String vField5) { 532 this.vField5 = vField5; 533 } 534 535 /** 536 * @return the vField6 537 */ 538 public String getvField6() { 539 return this.vField6; 540 } 541 542 /** 543 * @param vField6 the vField6 to set 544 */ 545 public void setvField6(String vField6) { 546 this.vField6 = vField6; 547 } 548 549 /** 550 * @return the hidden1 551 */ 552 public String getHidden1() { 553 return hidden1; 554 } 555 556 /** 557 * @param hidden1 the hidden1 to set 558 */ 559 public void setHidden1(String hidden1) { 560 this.hidden1 = hidden1; 561 } 562 563 /** 564 * @return the hidden2 565 */ 566 public String getHidden2() { 567 return hidden2; 568 } 569 570 /** 571 * @param hidden2 the hidden2 to set 572 */ 573 public void setHidden2(String hidden2) { 574 this.hidden2 = hidden2; 575 } 576 577 }