|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Student
Interface for a student.
Method Summary | |
---|---|
int |
getAge()
Get the age of the student |
Grade |
getGrade()
Get the grades of the student |
java.lang.String |
getName()
Get the name of the student |
java.lang.String |
getProgram()
Get the program of the student |
java.lang.String |
getStudentNumber()
Get the student number |
void |
setAddress(java.lang.String address)
set the address for the student |
void |
setAge(int age)
set the age of the student |
void |
setGrade(Grade grade)
set the grades of the student |
void |
setName(java.lang.String name)
set the name of the student |
void |
setProgram(java.lang.String programName)
set the program of the student |
void |
setStudentNumber(java.lang.String studentNumber)
set the student number for the student |
java.lang.String |
toString()
toString returns a string representing the student |
Method Detail |
---|
java.lang.String getName()
int getAge()
java.lang.String getProgram()
java.lang.String getStudentNumber()
Grade getGrade()
void setGrade(Grade grade)
grade
- void setName(java.lang.String name)
name
- void setAge(int age)
age
- void setProgram(java.lang.String programName)
programName
- The name of the programvoid setStudentNumber(java.lang.String studentNumber)
studentNumber
- The student number for the studentvoid setAddress(java.lang.String address)
address
- The student number for the studentjava.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |