|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectuniversity.PersonFactory
university.EmployeeFactory
university.StaffFactory
public class StaffFactory
Factroy builds a Staff member from the information entered in from the console.
Field Summary | |
---|---|
protected StaffStatus |
status
|
protected java.lang.String |
title
|
Fields inherited from class university.EmployeeFactory |
---|
salary |
Fields inherited from class university.PersonFactory |
---|
address, console, gender, name, unit |
Constructor Summary | |
---|---|
StaffFactory()
Creates a new instance of BuildStaff |
Method Summary | |
---|---|
Person |
build()
Build a new staff member from the information entered in the console. |
Methods inherited from class university.EmployeeFactory |
---|
buildEmployeeInfo |
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 StaffStatus status
protected java.lang.String title
Constructor Detail |
---|
public StaffFactory()
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 |