|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcs.University
public class University
University class provides a set of methods that allow a student to register for courses. Once registered, information like attendance, exam and homework scores can be updated using member methods
Constructor Summary | |
---|---|
University()
|
Method Summary | |
---|---|
void |
markAttendance(cs.IStudent student,
cs.Course course,
int noOfDays)
Updates student registration information and marks that student attended course for noOfDays |
void |
printTranscript(cs.IStudent student)
Looks at all previous information of a student and prints the transcript |
void |
register(cs.IStudent student,
cs.Course course)
Registers student for the course specified. |
void |
updateExamScore(cs.IStudent student,
cs.Course course,
int examScore)
Updates student registration information, setting exam score to the value specified in examScore parameter |
void |
updateHwScore(cs.IStudent student,
cs.Course course,
int hwScore)
Updates student registration information, setting homework score to the specified hwScore parameter |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public University()
Method Detail |
---|
public void register(cs.IStudent student, cs.Course course)
student
- course
- public void markAttendance(cs.IStudent student, cs.Course course, int noOfDays)
student
- course
- noOfDays
- public void updateHwScore(cs.IStudent student, cs.Course course, int hwScore)
student
- course
- hwScore
- public void updateExamScore(cs.IStudent student, cs.Course course, int examScore)
student
- course
- examScore
- public void printTranscript(cs.IStudent student)
student
-
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |