1 package org.hibernate.test.legacy; 3 4 import java.util.ArrayList ; 5 import java.util.Collection ; 6 7 public class C1 extends B{ 8 private String address; 9 private String c1Name; 10 private C2 c2; 11 private D d; 12 private Collection c2s = new ArrayList (); 13 17 public String getAddress() { 18 return address; 19 } 20 21 25 public void setAddress(String address) { 26 this.address = address; 27 } 28 29 33 public D getD() { 34 return d; 35 } 36 37 41 public void setD(D d) { 42 this.d = d; 43 } 44 45 48 public C2 getC2() { 49 return c2; 50 } 51 52 55 public void setC2(C2 c) { 56 this.c2 = c; 57 } 58 59 62 public Collection getC2s() { 63 return c2s; 64 } 65 66 69 public void setC2s(Collection cs) { 70 this.c2s = cs; 71 } 72 73 76 public String getC1Name() { 77 return c1Name; 78 } 79 82 public void setC1Name(String name) { 83 c1Name = name; 84 } 85 } 86 87 88 89 90 91 92 | Popular Tags |