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