1 | public class Parent {↵ | | 1 | public class DataPoint {↵
|
2 | private long id;↵ | | 2 | private long id;↵
|
3 | private int count;↵ | | 3 | private int sequence;↵
|
4 | private Child child;↵ | | 4 | private ↵
|
5 | private Object any;↵ | | |
|
6 | private int x;↵ | | |
|
7 | ↵ | | 5 | BigDecimal x;↵
|
| | | 6 | private BigDecimal y;↵
|
| | | 7 | private String description;↵
|
|
| | | 8 | /**↵
|
| | | 9 | * @return Returns the id.↵
|
| | | 10 | */↵
|
8 | public int getX() {↵ | | 11 | public long getId() {↵
|
9 | return x;↵ | | 12 | return id;↵
|
10 | }↵ | | 13 | }↵
|
|
| | | 14 | /**↵
|
| | | 15 | * @param id The id to set.↵
|
| | | 16 | */↵
|
11 | public void setX(int x) {↵ | | 17 | public void setId(long id) {↵
|
12 | this.x = x;↵ | | 18 | this.id = id;↵
|
13 | }↵ | | 19 | }↵
|
|
14 | ↵ | | 20 | /**↵
|
| | | 21 | * Getter for property 'sequence'.↵
|
| | | 22 | *↵
|
| | | 23 | * @return Value for property 'sequence'.↵
|
| | | 24 | */↵
|
15 | public int getCount() {↵ | | 25 | public int getSequence() {↵
|
16 | return count;↵ | | 26 | return ↵
|
17 | }↵ | | |
|
18 | ↵ | | |
|
19 | ↵ | | |
|
20 | public long getId() {↵ | | |
|
21 | return id;↵ | | |
|
22 | }↵ | | |
|
23 | ↵ | | |
|
24 | ↵ | | 27 | sequence;↵
|
| | | 28 | }↵
|
|
| | | 29 | /**↵
|
| | | 30 | * Setter for property 'sequence'.↵
|
| | | 31 | *↵
|
| | | 32 | * @param sequence Value to set for property 'sequence'.↵
|
| | | 33 | */↵
|
25 | public void setCount(int count) {↵ | | 34 | public void set↵
|
26 | this.count = count;↵ | | |
|
27 | }↵ | | |
|
28 | ↵ | | |
|
29 | ↵ | | |
|
30 | public void setId(long id) {↵ | | |
|
31 | this.id = id↵ | | 35 | Sequence(int sequence) {↵
|
| | | 36 | this.sequence = sequence;↵
|
| | | 37 | }↵
|
|
| | | 38 | /**↵
|
| | | 39 | * @return Returns the description.↵
|
| | | 40 | */↵
|
| | | 41 | public String getDescription() {↵
|
| | | 42 | return description;↵
|
| | | 43 | }↵
|
|
| | | 44 | /**↵
|
| | | 45 | * @param description The description to set.↵
|
| | | 46 | */↵
|
| | | 47 | public void setDescription(String description) {↵
|
32 | ;↵ | | 48 | this.description = description;↵
|
33 | }↵ | | 49 | }↵
|
|
34 | ↵ | | 50 | ↵
|
35 | ↵ | | |
|
36 | public Child getChild↵ | | 51 | /**↵
|
| | | 52 | * @return Returns the x.↵
|
| | | 53 | */↵
|
37 | () {↵ | | 54 | public BigDecimal getX() {↵
|
38 | return child;↵ | | 55 | return ↵
|
39 | }↵ | | |
|
40 | ↵ | | |
|
41 | ↵ | | |
|
42 | public void setChild(Child child) {↵ | | |
|
43 | this.child = child;↵ | | |
|
44 | }↵ | | |
|
45 | ↵ | | |
|
46 | public Object↵ | | 56 | x;↵
|
| | | 57 | }↵
|
|
| | | 58 | /**↵
|
| | | 59 | * @param x The x to set.↵
|
| | | 60 | */↵
|
| | | 61 | public void setX(BigDecimal x) {↵
|
| | | 62 | this.x = x;↵
|
| | | 63 | }↵
|
|
| | | 64 | /**↵
|
| | | 65 | * @return Returns the y.↵
|
| | | 66 | */↵
|
47 | getAny() {↵ | | 67 | public BigDecimal getY() {↵
|
48 | return any;↵ | | 68 | return y;↵
|
49 | }↵ | | 69 | }↵
|
|
| | | 70 | /**↵
|
| | | 71 | * @param y The y to set.↵
|
| | | 72 | */↵
|
50 | public void setAny(Object any) {↵ | | 73 | public void setY(BigDecimal y) {↵
|
51 | this.any = any;↵ | | 74 | this.y = y;↵
|
52 | | | 75 |
|