|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectuniversity.Unit
university.Admin
university.HR
public class HR
Class for the Human Resource department of the university.
Constructor Summary | |
---|---|
protected |
HR(java.lang.String name,
Address address)
Creates a new instance of HR |
Method Summary | |
---|---|
static Unit |
create(java.lang.String name,
Address address)
Create a new HR Unit. |
static Unit |
getInstance()
Returns an instance of HR. |
Methods inherited from class university.Unit |
---|
getAddress, getName, setAddress, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
protected HR(java.lang.String name, Address address)
Method Detail |
---|
public static Unit getInstance()
public static Unit create(java.lang.String name, Address address)
name
- The name of the Unit.address
- The address of the Unit
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |