1 | public class DataPoint {↵ | | 1 | public class E {↵
|
2 | private long id;↵ | | 2 | private Long id;↵
|
3 | private BigDecimal x;↵ | | 3 | private ↵
|
4 | private BigDecimal y;↵ | | |
|
5 | private String description↵ | | 4 | float amount;↵
|
| | | 5 | private A reverse;↵
|
6 | ;↵ | | 6 | private Set as;↵
|
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 to set.↵ | | 17 | * ↵
|
17 | */↵ | | |
|
18 | public void setDescription(String description) {↵ | | |
|
19 | this.description = description↵ | | 18 | Returns the id.↵
|
| | | 19 | * @return long↵
|
| | | 20 | */↵
|
| | | 21 | public Long getId() {↵
|
20 | ;↵ | | 22 | return id;↵
|
21 | }↵ | | 23 | }↵
|
22 | ↵ | | 24 | ↵
|
23 | /**↵ | | 25 | /**↵
|
24 | * @return Returns the id.↵ | | 26 | * ↵
|
25 | */↵ | | |
|
26 | public long getId() {↵ | | |
|
27 | return id↵ | | 27 | Sets the amount.↵
|
| | | 28 | * @param amount The amount to set↵
|
| | | 29 | */↵
|
| | | 30 | public void setAmount(float amount) {↵
|
28 | ;↵ | | 31 | this.amount = amount;↵
|
29 | }↵ | | 32 | }↵
|
30 | ↵ | | 33 | ↵
|
31 | /**↵ | | 34 | /**↵
|
32 | ↵ | | 35 | * Sets the id.↵
|
33 | * @param id The id to set.↵ | | 36 | * @param id The id to set↵
|
34 | */↵ | | 37 | */↵
|
35 | public void setId(long id) {↵ | | 38 | public void setId(Long id) {↵
|
36 | this.id = id;↵ | | 39 | this.id = id;↵
|
37 | }↵ | | 40 | }↵
|
38 | /**↵ | | 41 | ↵
|
39 | * @return Returns the x.↵ | | |
|
40 | */↵ | | |
|
41 | public BigDecimal getX() {↵ | | |
|
42 | return x;↵ | | |
|
43 | }↵ | | |
|
44 | /**↵ | | |
|
45 | * @param x The x to set.↵ | | |
|
46 | */↵ | | |
|
| | | 42 | public A getReverse() {↵
|
| | | 43 | return reverse;↵
|
| | | 44 | }↵
|
|
47 | public void setX(BigDecimal x) {↵ | | 45 | public void set↵
|
48 | this.x↵ | | 46 | Reverse(A a) {↵
|
49 | = x;↵ | | 47 | reverse = a;↵
|
50 | }↵ | | 48 | }↵
|
|
51 | /**↵ | | 49 | /**↵
|
52 | * @return Returns the y.↵ | | 50 | * @return Returns the as.↵
|
53 | */↵ | | 51 | */↵
|
54 | public BigDecimal getY() {↵ | | 52 | public Set getAs() {↵
|
55 | return y;↵ | | 53 | return as;↵
|
56 | }↵ | | 54 | }↵
|
|
57 | /**↵ | | 55 | /**↵
|
58 | * @param y The y to set.↵ | | 56 | * @param as The as to set.↵
|
59 | */↵ | | 57 | */↵
|
60 | public void setY(BigDecimal y) {↵ | | 58 | public void setAs(Set as) {↵
|
61 | this.y = y | | 59 | this.as = as
|