1 package com.triactive.jdo.test; 2 3 import java.util.Collection ; 4 5 import java.util.Collection ; 6 import java.util.HashSet ; 7 import java.util.Set ; 8 9 public class CollectionFieldTester 10 { 11 private Set personSet; 12 private Collection personCollection; 13 private Collection primitiveCollection; 14 private Collection inversePrimitiveCollection; 15 private Collection objectCollection; 16 private Collection interfaceCollection; 17 18 19 public CollectionFieldTester() 20 { 21 personSet = new HashSet (); 22 personCollection = new HashSet (); 23 primitiveCollection = new HashSet (); 24 inversePrimitiveCollection = new HashSet (); 25 objectCollection = new HashSet (); 26 interfaceCollection = new HashSet (); 27 } 28 29 30 public Set getPersonSet() 31 { 32 return this.personSet; 33 } 34 35 public void setPersonSet(Set s) 36 { 37 this.personSet = s; 38 } 39 40 public Collection getPersonCollection() 41 { 42 return this.personCollection; 43 } 44 45 public void setPersonCollection(Collection c) 46 { 47 this.personCollection = c; 48 } 49 50 51 public Collection getPrimitiveCollection() 52 { 53 return this.primitiveCollection; 54 } 55 56 public void setPrimitiveCollection(Collection c) 57 { 58 this.primitiveCollection = c; 59 } 60 61 public Collection getInversePrimitiveCollection() 62 { 63 return this.inversePrimitiveCollection; 64 } 65 66 public void setInversePrimitiveCollection(Collection c) 67 { 68 this.inversePrimitiveCollection = c; 69 } 70 71 public Collection getObjectCollection() 72 { 73 return this.objectCollection; 74 } 75 76 public void setObjectCollection(Collection c) 77 { 78 this.objectCollection = c; 79 } 80 81 public Collection getInterfaceCollection() 82 { 83 return this.interfaceCollection; 84 } 85 86 public void setInterfaceCollection(Collection c) 87 { 88 this.interfaceCollection = c; 89 } 90 91 97 } 98 | Popular Tags |