KickJava   Java API By Example, From Geeks To Geeks.

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


1 //$Id: Multi.java,v 1.1 2004/09/26 05:18:25 oneovthafew Exp $
2
package org.hibernate.test.legacy;
3
4 import java.util.Calendar JavaDoc;
5
6
7 public class Multi extends Top {
8     
9     /**
10      * Constructor for Multi.
11      */

12     public Multi() {
13         super();
14     }
15     
16     private String JavaDoc extraProp;
17     private String JavaDoc derived;
18     private Component comp;
19     private Po po;
20     
21     /**
22      * Returns the extraProp.
23      * @return String
24      */

25     public String JavaDoc getExtraProp() {
26         return extraProp;
27     }
28     
29     /**
30      * Sets the extraProp.
31      * @param extraProp The extraProp to set
32      */

33     public void setExtraProp(String JavaDoc extraProp) {
34         this.extraProp = extraProp;
35     }
36     
37     public static final class Component {
38         private Calendar JavaDoc cal;
39         private Float JavaDoc floaty;
40         /**
41          * Returns the cal.
42          * @return Calendar
43          */

44         public Calendar JavaDoc getCal() {
45             return cal;
46         }
47         
48         /**
49          * Sets the cal.
50          * @param cal The cal to set
51          */

52         public void setCal(Calendar JavaDoc cal) {
53             this.cal = cal;
54         }
55         
56         /**
57          * Returns the floaty.
58          * @return Float
59          */

60         public Float JavaDoc getFloaty() {
61             return floaty;
62         }
63         
64         /**
65          * Sets the floaty.
66          * @param floaty The floaty to set
67          */

68         public void setFloaty(Float JavaDoc floaty) {
69             this.floaty = floaty;
70         }
71         
72     }
73     
74     /**
75      * Returns the comp.
76      * @return Component
77      */

78     public Component getComp() {
79         return comp;
80     }
81     
82     /**
83      * Sets the comp.
84      * @param comp The comp to set
85      */

86     public void setComp(Component comp) {
87         this.comp = comp;
88     }
89     
90     /**
91      * Returns the po.
92      * @return Po
93      */

94     public Po getPo() {
95         return po;
96     }
97     
98     /**
99      * Sets the po.
100      * @param po The po to set
101      */

102     public void setPo(Po po) {
103         this.po = po;
104     }
105     
106     public String JavaDoc getDerived() {
107         return derived;
108     }
109
110     public void setDerived(String JavaDoc derived) {
111         this.derived = derived;
112     }
113
114 }
115
116
117
118
119
120
121
Popular Tags