KickJava   Java API By Example, From Geeks To Geeks.

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


1 //$Id: SubMulti.java,v 1.1 2004/09/26 05:18:26 oneovthafew Exp $
2
package org.hibernate.test.legacy;
3
4 import java.util.List JavaDoc;
5
6 public class SubMulti extends Multi {
7     private float amount;
8     private SubMulti parent;
9     private List JavaDoc children;
10     private List JavaDoc moreChildren;
11     /**
12      * Returns the amount.
13      * @return float
14      */

15     public float getAmount() {
16         return amount;
17     }
18     
19     /**
20      * Sets the amount.
21      * @param amount The amount to set
22      */

23     public void setAmount(float amount) {
24         this.amount = amount;
25     }
26     
27     /**
28      * Returns the childen.
29      * @return List
30      */

31     public List JavaDoc getChildren() {
32         return children;
33     }
34     
35     /**
36      * Returns the parent.
37      * @return SubMulti
38      */

39     public SubMulti getParent() {
40         return parent;
41     }
42     
43     /**
44      * Sets the childen.
45      * @param childen The childen to set
46      */

47     public void setChildren(List JavaDoc children) {
48         this.children = children;
49     }
50     
51     /**
52      * Sets the parent.
53      * @param parent The parent to set
54      */

55     public void setParent(SubMulti parent) {
56         this.parent = parent;
57     }
58     
59     /**
60      * Returns the moreChildren.
61      * @return List
62      */

63     public List JavaDoc getMoreChildren() {
64         return moreChildren;
65     }
66
67     /**
68      * Sets the moreChildren.
69      * @param moreChildren The moreChildren to set
70      */

71     public void setMoreChildren(List JavaDoc moreChildren) {
72         this.moreChildren = moreChildren;
73     }
74
75 }
76
77
78
79
80
81
82
Popular Tags