1 package org.hibernate.test.legacy; 3 4 import java.util.ArrayList ; 5 import java.util.Collection ; 6 7 public class C2 extends B { 8 private String address; 9 private C1 c1; 10 private String c2Name; 11 private Collection c1s = new ArrayList (); 12 16 public String getAddress() { 17 return address; 18 } 19 20 24 public void setAddress(String address) { 25 this.address = address; 26 } 27 28 31 public C1 getC1() { 32 return c1; 33 } 34 35 38 public void setC1(C1 c) { 39 this.c1 = c; 40 } 41 42 45 public Collection getC1s() { 46 return c1s; 47 } 48 49 52 public void setC1s(Collection cs) { 53 this.c1s = cs; 54 } 55 56 public String getC2Name() { 57 return c2Name; 58 } 59 60 public void setC2Name(String name) { 61 c2Name = name; 62 } 63 } 64 65 66 67 68 69 70 | Popular Tags |