1 | public class DataPoint {↵ | | 1 | public class SubMulti extends Multi {↵
|
2 | private long id;↵ | | 2 | private float amount;↵
|
3 | private BigDecimal x;↵ | | 3 | private ↵
|
4 | private BigDecimal y;↵ | | |
|
5 | private String descriptio↵ | | 4 | SubMulti parent;↵
|
| | | 5 | private List children;↵
|
6 | n;↵ | | 6 | private List moreChildren;↵
|
7 | /**↵ | | 7 | /**↵
|
8 | * @return Returns the description.↵ | | 8 | * Returns the ↵
|
9 | */↵ | | |
|
10 | public String getDescription↵ | | 9 | amount.↵
|
| | | 10 | * @return float↵
|
| | | 11 | */↵
|
11 | () {↵ | | 12 | public float getAmount() {↵
|
12 | return description;↵ | | 13 | return amount;↵
|
13 | }↵ | | 14 | }↵
|
14 | ↵ | | 15 | ↵
|
15 | /**↵ | | 16 | /**↵
|
16 | * @param description The description↵ | | 17 | * Sets the amount.↵
|
17 | to set.↵ | | 18 | * @param amount The amount to set↵
|
18 | */↵ | | 19 | */↵
|
19 | public void setDescription(String description) {↵ | | 20 | public void set↵
|
20 | this.description = descriptio↵ | | 21 | Amount(float amount) {↵
|
| | | 22 | this.amount = amount;↵
|
| | | 23 | }↵
|
| | | 24 | ↵
|
| | | 25 | /**↵
|
| | | 26 | * Returns the childen.↵
|
| | | 27 | * @return List↵
|
| | | 28 | */↵
|
| | | 29 | public List getChildren() {↵
|
21 | n;↵ | | 30 | return children;↵
|
22 | }↵ | | 31 | }↵
|
23 | ↵ | | 32 | ↵
|
24 | /**↵ | | 33 | /**↵
|
25 | * @return Returns the id.↵ | | 34 | * Return↵
|
26 | */↵ | | |
|
27 | public long getId↵ | | 35 | s the parent.↵
|
| | | 36 | * @return SubMulti↵
|
| | | 37 | */↵
|
28 | () {↵ | | 38 | public SubMulti getParent() {↵
|
29 | return id;↵ | | 39 | return parent;↵
|
30 | }↵ | | 40 | }↵
|
31 | ↵ | | 41 | ↵
|
32 | /**↵ | | 42 | /**↵
|
33 | * @param id The id↵ | | 43 | * Sets the childen.↵
|
34 | to set.↵ | | 44 | * @param childen The childen to set↵
|
35 | */↵ | | 45 | */↵
|
36 | public void setId(long id) {↵ | | 46 | public void setChildren(List children) {↵
|
37 | this.id = id;↵ | | 47 | this.children = children;↵
|
38 | }↵ | | 48 | }↵
|
39 | ↵ | | 49 | ↵
|
40 | /**↵ | | 50 | /**↵
|
41 | * @return Returns the x.↵ | | 51 | * ↵
|
42 | */↵ | | |
|
43 | public BigDecimal getX() {↵ | | |
|
44 | return x;↵ | | |
|
45 | }↵ | | |
|
46 | /**↵ | | |
|
47 | * @param x The x↵ | | 52 | Sets the parent.↵
|
48 | to set.↵ | | 53 | * @param parent The parent to set↵
|
49 | */↵ | | 54 | */↵
|
50 | public void setX(BigDecimal x) {↵ | | 55 | public void set↵
|
51 | this.x = x↵ | | 56 | Parent(SubMulti parent) {↵
|
52 | ;↵ | | 57 | this.parent = parent;↵
|
53 | }↵ | | 58 | }↵
|
54 | ↵ | | 59 | ↵
|
55 | /**↵ | | 60 | /**↵
|
56 | * @return Returns the y.↵ | | 61 | * Return↵
|
57 | */↵ | | |
|
58 | public BigDecimal getY↵ | | 62 | s the moreChildren.↵
|
| | | 63 | * @return List↵
|
| | | 64 | */↵
|
59 | () {↵ | | 65 | public List getMoreChildren() {↵
|
60 | return y;↵ | | 66 | return moreChildren;↵
|
61 | }↵ | | 67 | }↵
|
|
62 | /**↵ | | 68 | /**↵
|
63 | * @param y The y↵ | | 69 | * Sets the moreChildren.↵
|
64 | to set.↵ | | 70 | * @param moreChildren The moreChildren to set↵
|
65 | */↵ | | 71 | */↵
|
66 | public void setY(BigDecimal y) {↵ | | 72 | public void set↵
|
67 | this.y = y↵ | | 73 | MoreChildren(List moreChildren) {↵
|
68 | ;↵ | | 74 | this.moreChildren = moreChildren;↵
|
69 | | | 75 |
|