/Users/johnr/Desktop/IA Submissions/IA Final Submission 000307-0029 - Kazuki/Product/TutoringStudent_Kazuki/src/tutoringstudent/StudentClass.java
  1 package tutoringstudent;
  2 
  3 /*
  4  * To change this license header, choose License Headers in Project Properties.
  5  * To change this template file, choose Tools | Templates
  6  * and open the template in the editor.
  7  */
  8 /**
  9  *
 10  * @author 17104
 11  */
 12 public class StudentClass{
 13 
 14     // list of Strings
 15     private String fullName = "not set yet";
 16     
 17     private String firstName = "not set yet";
 18     private String lastName = "not set yet";
 19     
 20     private String nickName = "not set yet";
 21     private String gender = "not set yet";
 22     private String whoRecommend = "not set yet";
 23     private String subject = "not set yet";
 24     private String nationality = "not set yet";
 25     private String grade = "not set yet";
 26     private String startDate = "not set yet";
 27    
 28     private int endDay = 0;
 29     private int endMonth = 0;
 30     private int endYear = 0;
 31 
 32     public StudentClass() {
 33     }
 34 
 35     public StudentClass(String fullName, String nickName, String nationality,
 36             String gender, String grade, String startDate, String subject, String whoRecommend
 37     ) {
 38 
 39         //String
 40         this.fullName = fullName;
 41 //        this.firstName = firstName;
 42 //        this.lastName = lastName;
 43         this.nickName = nickName;
 44         this.whoRecommend = whoRecommend;
 45         this.subject = subject;
 46         this.gender = gender;
 47         this.nationality = nationality;
 48         this.grade = grade;
 49         this.startDate = startDate;
 50 
 51     }
 52 
 53     public void StudentClass(String gender) {
 54         this.gender = gender;
 55 
 56     }
 57 
 58     // get method
 59     public String getfullName() {
 60         return fullName;
 61     }
 62     
 63 //    public String getfirstName(){
 64 //        return firstName;
 65 //    }
 66 //    
 67 //    public String getlastName(){
 68 //        return lastName;
 69 //    }
 70 
 71     public String getnickName() {
 72         return nickName;
 73     }
 74 
 75     public String getgender() {
 76         return gender;
 77     }
 78 
 79     public String getwhoRecommend() {
 80         return whoRecommend;
 81     }
 82 
 83     public String getsubject() {
 84         return subject;
 85     }
 86 
 87     public String getgrade() {
 88         return grade;
 89     }
 90 
 91     public String getnationality() {
 92         return nationality;
 93     }
 94 
 95     public String getstartDate() {
 96         return startDate;
 97     }
 98 
 99     public int getendDay() {
100         return endDay;
101     }
102 
103     public int getendMonth() {
104         return endMonth;
105     }
106 
107     public int getendYer() {
108         return endYear;
109     }
110 
111     // set method    
112     public void setfullName(String newFullName) {
113         fullName = newFullName;
114     }
115     
116 //    public void setfirstName(String newfirstName)
117 //    {
118 //        firstName = newfirstName;
119 //    }
120 //    
121 //    public void setlastName(String newlastName)
122 //    {
123 //        lastName = newlastName;
124 //    }
125 
126     public void setnickName(String newNickName) {
127         nickName = newNickName;
128     }
129 
130     public void setgender(String newGender) {
131         gender = newGender;
132     }
133 
134     public void setwhoRecommend(String newWhoRecommend) {
135         whoRecommend = newWhoRecommend;
136     }
137 
138     public void setsubject(String newSubject) {
139         subject = newSubject;
140     }
141 
142     public void setnationality(String newNational) {
143         nationality = newNational;
144     }
145 
146     public void setgrade(String newGrade) {
147         grade = newGrade;
148     }
149 
150     public void setstartDate(String newStartDate) {
151         startDate = newStartDate;
152     }
153 
154     public void setendDay(int newEndD) {
155         endDay = newEndD;
156     }
157 
158     public void setendMonth(int newEndM) {
159         endMonth = newEndM;
160     }
161 
162     public void setendYer(int newEndY) {
163         endYear = newEndY;
164     }
165 
166 }
167