-
Notifications
You must be signed in to change notification settings - Fork 0
/
References.java
39 lines (35 loc) · 930 Bytes
/
References.java
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
/**
* @author Anton, Christian, Kylie, Jack
*/
public class References {
private String name;
private String number;
private String email;
//in our UML but no implementation yet
public References(String name, String number, String email) {
this.name = name;
this.number = number;
this.email = email;
}
public String getName() {
return this.name;
}
public void setName(String name) {
this.name = name;
}
public String getNumber() {
return this.number;
}
public void setNumber(String number) {
this.number = number;
}
public String getEmail() {
return this.email;
}
public void setEmail(String email) {
this.email = email;
}
public String toString() {
return "Name: " + name + "\n" + "Number: " + number + "\n" + "Email: " + email + "\n";
}
}