|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectuniversity.PersonFactory
university.StudentFactory
university.GraduateFactory
public class GraduateFactory
Builds a Graduate student from the information entered in from the console.
Field Summary |
---|
Fields inherited from class university.PersonFactory |
---|
address, console, gender, name, unit |
Constructor Summary | |
---|---|
GraduateFactory()
Creates a new instance of BuildGraduate |
Method Summary | |
---|---|
Person |
build()
Builds a new instance of graduate student. |
Methods inherited from class university.StudentFactory |
---|
buildStudentInfo |
Methods inherited from class university.PersonFactory |
---|
buildPersonInfo, createPerson |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GraduateFactory()
Method Detail |
---|
public Person build()
build
in interface Build
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |