Newer
Older
import enumeration.BachelorSemester;
import enumeration.Gender;
import enumeration.Status;
public class Student extends UniversityMember implements Calcuable
// no static because variables don't make any sense without the created object
private boolean paidFees;
private BachelorSemester bachelorSemester;
public Student(int id, Gender gender, String firstName, String lastName, String placeOfResidence, String birthPlace,
String officialEmail, String privateEmail, List<Course> personalCourses, boolean isSignedUpForCourse,
Status status, boolean paidFess, BachelorSemester bachelorSemester, List<Double> grades)
super(id, gender, firstName, lastName, placeOfResidence, birthPlace,
officialEmail, privateEmail, personalCourses, isSignedUpForCourse);
this.status = status;
this.paidFees = paidFess;
this.bachelorSemester = bachelorSemester;
@Override
public boolean signUpForCourse(Course course)
{
/*
personalCourses.add(course);
// return status for registration process: was successful or has failed
return isSignedUpForCourse = true;
*/
return false;
}
@Override
public double calculateAverage()
{
return 0;
}
@Override
public int calculateMedian()
{
return 0;
}