1 | public class E {↵ | | 1 | public class ↵
|
2 | private Long id;↵ | | 2 | SubMulti extends Multi {↵
|
3 | private float amount;↵ | | 3 | private float amount;↵
|
4 | private A reverse;↵ | | 4 | private ↵
|
5 | private Set as↵ | | 5 | SubMulti parent;↵
|
| | | 6 | private List children;↵
|
6 | ;↵ | | 7 | private List moreChildren;↵
|
7 | /**↵ | | 8 | /**↵
|
8 | * Returns the amount.↵ | | 9 | * Returns the amount.↵
|
9 | * @return float↵ | | 10 | * @return float↵
|
10 | */↵ | | 11 | */↵
|
11 | public float getAmount() {↵ | | 12 | public float getAmount() {↵
|
12 | return amount;↵ | | 13 | return amount;↵
|
13 | }↵ | | 14 | }↵
|
14 | ↵ | | 15 | ↵
|
15 | /**↵ | | 16 | /**↵
|
16 | ↵ | | 17 | * Sets the amount.↵
|
| | | 18 | * @param amount The amount to set↵
|
| | | 19 | */↵
|
| | | 20 | public void setAmount(float amount) {↵
|
| | | 21 | this.amount = amount;↵
|
| | | 22 | }↵
|
| | | 23 | ↵
|
| | | 24 | /**↵
|
17 | * Returns the id.↵ | | 25 | * Returns the childen.↵
|
18 | * @return long↵ | | 26 | * @return List↵
|
19 | */↵ | | 27 | */↵
|
20 | public Long getId() {↵ | | 28 | public List getChildren() {↵
|
21 | return id;↵ | | 29 | return children;↵
|
22 | }↵ | | 30 | }↵
|
23 | ↵ | | 31 | ↵
|
24 | /**↵ | | 32 | /**↵
|
25 | * Sets the amount.↵ | | 33 | * Returns the parent.↵
|
26 | * @param amount The amount to set↵ | | 34 | * @↵
|
27 | */↵ | | |
|
28 | public void setAmount(float amount) {↵ | | |
|
29 | this.amount = amou↵ | | 35 | return SubMulti↵
|
| | | 36 | */↵
|
| | | 37 | public SubMulti getParent() {↵
|
30 | nt;↵ | | 38 | return parent;↵
|
31 | }↵ | | 39 | }↵
|
32 | ↵ | | 40 | ↵
|
33 | /**↵ | | 41 | /**↵
|
34 | * Sets the id.↵ | | 42 | * Sets the childen.↵
|
35 | * @param id The id to set↵ | | 43 | * @param childen The childen to set↵
|
36 | */↵ | | 44 | */↵
|
37 | public void setId(Long id) {↵ | | 45 | public void setChildren(List children) {↵
|
38 | this.id = id;↵ | | 46 | this.↵
|
39 | }↵ | | |
|
40 | ↵ | | |
|
41 | public A getReverse() {↵ | | |
|
42 | return rever↵ | | 47 | children = children;↵
|
| | | 48 | }↵
|
| | | 49 | ↵
|
| | | 50 | /**↵
|
| | | 51 | * Sets the parent.↵
|
43 | se;↵ | | 52 | * @param parent The parent to set↵
|
44 | }↵ | | 53 | ↵
|
| | | 54 | */↵
|
45 | public void setReverse(A a) {↵ | | 55 | public void set↵
|
46 | reverse = a↵ | | 56 | Parent(SubMulti parent) {↵
|
47 | ;↵ | | 57 | this.parent = parent;↵
|
48 | }↵ | | 58 | }↵
|
| | | 59 | ↵
|
49 | /**↵ | | 60 | /**↵
|
50 | * @return Returns the as.↵ | | 61 | * Returns the moreChildren.↵
|
| | | 62 | * @return List↵
|
51 | */↵ | | 63 | */↵
|
52 | public Set getAs() {↵ | | 64 | public List getMoreChildren() {↵
|
53 | return as;↵ | | 65 | return moreChildren;↵
|
54 | }↵ | | 66 | }↵
|
|
55 | /**↵ | | 67 | /**↵
|
56 | * @param as The as↵ | | 68 | * Sets the moreChildren.↵
|
57 | to set.↵ | | 69 | * @param moreChildren The moreChildren to set↵
|
58 | */↵ | | 70 | */↵
|
59 | public void setAs(Set as) {↵ | | 71 | public void set↵
|
60 | this.as = as↵ | | 72 | MoreChildren(List moreChildren) {↵
|
61 | ;↵ | | 73 | this.moreChildren = moreChildren;↵
|
62 | | | 74 |
|