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