1 package org.hibernate.test.legacy; 3 4 import java.util.List ; 5 import java.util.Set ; 6 7 public class Holder implements Named { 8 private String id; 9 private List ones; 10 private Foo[] fooArray; 11 private Set foos; 12 private String name; 13 private Holder otherHolder; 14 15 public Holder() { 16 } 17 public Holder(String name) { 18 this.name=name; 19 } 20 21 25 public Foo[] getFooArray() { 26 return fooArray; 27 } 28 29 33 public Set getFoos() { 34 return foos; 35 } 36 37 41 public void setFooArray(Foo[] fooArray) { 42 this.fooArray = fooArray; 43 } 44 45 49 public void setFoos(Set foos) { 50 this.foos = foos; 51 } 52 53 57 public String getId() { 58 return id; 59 } 60 61 65 public void setId(String id) { 66 this.id = id; 67 } 68 69 73 public String getName() { 74 return name; 75 } 76 77 81 public void setName(String name) { 82 this.name = name; 83 } 84 85 89 public List getOnes() { 90 return ones; 91 } 92 93 97 public void setOnes(List ones) { 98 this.ones = ones; 99 } 100 101 public Holder getOtherHolder() { 102 return otherHolder; 103 } 104 105 public void setOtherHolder(Holder holder) { 106 otherHolder = holder; 107 } 108 109 } 110 111 112 113 114 115 116 | Popular Tags |