|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectuniversity.PersonFactory
university.StudentFactory
university.UndergraduateFactory
public class UndergraduateFactory
Builds a Undergradute student from the information entered in from the console.
Field Summary | |
---|---|
protected UndergraduateLevel |
level
|
Fields inherited from class university.PersonFactory |
---|
address, console, gender, name, unit |
Constructor Summary | |
---|---|
UndergraduateFactory()
Creates a new instance of BuildUndergraduate |
Method Summary | |
---|---|
Person |
build()
Create a new Person. |
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 |
Field Detail |
---|
protected UndergraduateLevel level
Constructor Detail |
---|
public UndergraduateFactory()
Method Detail |
---|
public Person build()
Build
build
in interface Build
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |