/Users/johnr/Desktop/IA_14_-_Stage_P_Upload_all_2021-04-08/MyFirstGUIProject - Daniel/src/main/java/com/mycompany/myfirstguiproject/Student.java |
1
2
3
4
5
6 package com.mycompany.myfirstguiproject;
7
8
9
10 @author
11
12 public class Student {
13 private String name = "not set yet";
14 private String email = "not set yet";
15 private String location = "not set yet";
16 private String timeZone = "not set yet";
17 private String phoneNumber = "not set yet";
18 private String notes = "not set yet";
19
20
21 public Student(){
22
23 }
24
25 public Student(String name, String email, String location, String timeZone, String phoneNumber, String notes){
26
27 this.name = name;
28 this.email = email;
29 this.location = location;
30 this.timeZone = timeZone;
31 this.phoneNumber = phoneNumber;
32 this.notes = notes;
33
34 }
35 public String getName(){
36 return name;
37 }
38 public String getEmail(){
39 return email;
40 }
41 public String getLocation(){
42 return location;
43 }
44 public String getTimeZone(){
45 return timeZone;
46 }
47 public String getPhoneNumber(){
48 return phoneNumber;
49 }
50 public String getNotes(){
51 return notes;
52 }
53
54 public void setName(String name){
55 this.name = name;
56 }
57 public void setEmail(String email){
58 this.email = email;
59 }
60 public void setLocation(String location){
61 this.location = location;
62 }
63 public void setTimeZone(String timeZone){
64 this.timeZone = timeZone;
65 }
66 public void setPhoneNumber(String phoneNumber){
67 this.phoneNumber = phoneNumber;
68 }
69 public void setNotes(String notes){
70 this.notes = notes;
71 }
72
73 }
74