1 16 package net.sf.dozer.util.mapping.vo; 17 18 import java.util.*; 19 20 26 public class HydrateTestObject extends BaseTestObject { 27 private List apples = new ArrayList(); 28 private List oranges = new ArrayList(); 29 private List vehicles = new ArrayList(); 30 private List computers = new ArrayList(); 31 private List iterateCars = new ArrayList(); 32 private Car[] carArray; 33 34 public List getApples() { 35 return apples; 36 } 37 38 public void setApples(List apples) { 39 this.apples = apples; 40 } 41 42 public List getOranges() { 43 return oranges; 44 } 45 46 public void setOranges(List oranges) { 47 this.oranges = oranges; 48 } 49 50 public List getVehicles() { 51 return vehicles; 52 } 53 54 public void setVehicles(List vehicles) { 55 this.vehicles = vehicles; 56 } 57 58 public void addComputer(AppleComputer car) { 59 computers.add(car); 60 } 61 62 public void addCar(Car car) { 63 this.vehicles.add(car); 64 65 } 66 67 public List getComputers() { 68 return computers; 69 } 70 71 public void setComputers(List computers) { 72 this.computers = computers; 73 } 74 75 public Iterator getIterateCars() { 76 return iterateCars.iterator(); 77 } 78 79 public void setIterateCars(List iterateCars) { 80 this.iterateCars = iterateCars; 81 } 82 83 public void addIterateCar(Car car) { 84 this.iterateCars.add(car); 85 } 86 87 public Car[] getCarArray() { 88 return carArray; 89 } 90 91 public void setCarArray(Car[] carArray) { 92 this.carArray = carArray; 93 } 94 } 95 | Popular Tags |