KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > hibernate > test > legacy > C1


1 //$Id: C1.java,v 1.1 2004/09/26 05:18:24 oneovthafew Exp $
2
package org.hibernate.test.legacy;
3
4 import java.util.ArrayList JavaDoc;
5 import java.util.Collection JavaDoc;
6
7 public class C1 extends B{
8     private String JavaDoc address;
9     private String JavaDoc c1Name;
10     private C2 c2;
11     private D d;
12     private Collection JavaDoc c2s = new ArrayList JavaDoc();
13     /**
14      * Returns the address.
15      * @return String
16      */

17     public String JavaDoc getAddress() {
18         return address;
19     }
20     
21     /**
22      * Sets the address.
23      * @param address The address to set
24      */

25     public void setAddress(String JavaDoc address) {
26         this.address = address;
27     }
28     
29     /**
30      * Returns the d.
31      * @return D
32      */

33     public D getD() {
34         return d;
35     }
36     
37     /**
38      * Sets the d.
39      * @param d The d to set
40      */

41     public void setD(D d) {
42         this.d = d;
43     }
44     
45     /**
46      * @return Returns the c.
47      */

48     public C2 getC2() {
49         return c2;
50     }
51
52     /**
53      * @param c The c to set.
54      */

55     public void setC2(C2 c) {
56         this.c2 = c;
57     }
58
59     /**
60      * @return Returns the cs.
61      */

62     public Collection JavaDoc getC2s() {
63         return c2s;
64     }
65
66     /**
67      * @param cs The cs to set.
68      */

69     public void setC2s(Collection JavaDoc cs) {
70         this.c2s = cs;
71     }
72
73     /**
74      * @return Returns the c1Name.
75      */

76     public String JavaDoc getC1Name() {
77         return c1Name;
78     }
79     /**
80      * @param name The c1Name to set.
81      */

82     public void setC1Name(String JavaDoc name) {
83         c1Name = name;
84     }
85 }
86
87
88
89
90
91
92
Popular Tags