1 | public class DataPoint {↵ | | 1 | public class Account {
↵
|
2 | private long id;↵ | | 2 | private String accountId;
↵
|
3 | private BigDecimal x;↵ | | 3 | private ↵
|
4 | private BigDecimal y;↵ | | |
|
5 | private String description;↵ | | 4 | Customer customer;↵
|
| | | 5 | private Person person;↵
|
| | | 6 | private char type;
↵
|
6 | /**↵ | | 7 | /**
↵
|
7 | * @return Returns the description.↵ | | 8 | * @return Returns the user.
↵
|
8 | */↵ | | 9 | */
↵
|
9 | public String getDescription() {↵ | | 10 | public Customer getCustomer() {
↵
|
10 | return description;↵ | | 11 | return customer;
↵
|
11 | }↵ | | 12 | }
↵
|
12 | /**↵ | | 13 | /**
↵
|
13 | * @param description The description to set.↵ | | 14 | * @param user The user to set.
↵
|
14 | */↵ | | 15 | */
↵
|
15 | public void setDescription(String description) {↵ | | 16 | public void setCustomer(Customer user) {
↵
|
16 | this.description = description;↵ | | 17 | this.customer = user;
↵
|
17 | }↵ | | 18 | }
↵
|
18 | /**↵ | | 19 | /**
↵
|
19 | * @return Returns the id.↵ | | 20 | * @return Returns the accountId.
↵
|
20 | */↵ | | 21 | */
↵
|
21 | public long getId() {↵ | | 22 | public String getAccountId() {
↵
|
22 | return id;↵ | | 23 | return accountId;
↵
|
23 | }↵ | | 24 | }
↵
|
24 | /**↵ | | 25 | /**
↵
|
25 | * @param id The id to set.↵ | | 26 | * @param accountId The accountId to set.
↵
|
26 | */↵ | | 27 | */
↵
|
27 | public void setId(long id) {↵ | | 28 | public void setAccountId(String accountId) {
↵
|
28 | this.id = id;↵ | | 29 | this.accountId = accountId;
↵
|
29 | }↵ | | 30 | }
↵
|
30 | /**↵ | | 31 | /**
↵
|
31 | * @return Returns the x.↵ | | 32 | * @return Returns the type.
↵
|
32 | */↵ | | 33 | */
↵
|
33 | public BigDecimal getX() {↵ | | 34 | public char getType() {
↵
|
34 | return x;↵ | | 35 | return type;
↵
|
35 | }↵ | | 36 | }
↵
|
36 | /**↵ | | 37 | /**
↵
|
37 | * @param x The x to set.↵ | | 38 | * @param type The type to set.
↵
|
38 | */↵ | | 39 | */
↵
|
39 | public void setX(BigDecimal x) {↵ | | 40 | public void setType(char type) {
↵
|
40 | this.x = x;↵ | | 41 | this.↵
|
41 | }↵ | | |
|
42 | /**↵ | | |
|
43 | * @return Returns the y.↵ | | |
|
44 | */↵ | | |
|
45 | public BigDecimal getY↵ | | 42 | type = type;↵
|
| | | 43 | }↵
|
46 | () {↵ | | 44 | public Person getPerson() {
↵
|
47 | return y;↵ | | 45 | return ↵
|
48 | }↵ | | |
|
49 | /**↵ | | |
|
50 | * @param y The y to set.↵ | | |
|
51 | */↵ | | |
|
52 | public void setY(BigDecimal y↵ | | 46 | person;↵
|
| | | 47 | }↵
|
|
53 | ) {↵ | | 48 | public void setPerson(Person person) {
↵
|
54 | this.y = y;↵ | | 49 | this.person = person;
↵
|
55 | | | 50 |
|