|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectuniversity.Unit
university.Academic
university.Education
public class Education
Class for the Education department of the univeristy.
Constructor Summary | |
---|---|
protected |
Education()
Creates a new instance of Education. |
protected |
Education(java.lang.String name,
Address address)
Creates a new instance of Eduaction |
Method Summary | |
---|---|
static Unit |
create(java.lang.String name,
Address address)
Singleton method to create an Eduaction Unit. |
static Unit |
getInstance()
Return the unit belonged to. |
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 Education()
protected Education(java.lang.String name, Address address)
name
- The name of the Education Unit.address
- The address of the Education Unit.Method Detail |
---|
public static Unit getInstance()
public static Unit create(java.lang.String name, Address address)
name
- The name of the Education Unit.address
- The address of the Eduaction Unit.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |