Uses of Class
university.Unit

Uses of Unit in university
 

Subclasses of Unit in university
 class Academic
          Abstract class for the academic department in the university.
 class Addmissions
          Class for addmission in the university
 class Admin
          Abstract Class for the administration in the university.
 class CIS
          Class for the CIS department in the university.
 class Education
          Class for the Education department of the univeristy.
 class HR
          Class for the Human Resource department of the university.
 class Library
          Singelton Class for the library of the university.
 

Fields in university declared as Unit
protected  Unit PersonFactory.unit
           
 

Methods in university that return Unit
static Unit Addmissions.create(java.lang.String name, Address address)
          Singleton method to create an instance of Addmissions.
static Unit CIS.create(java.lang.String name, Address address)
          Creates a new CIS unit.
static Unit Education.create(java.lang.String name, Address address)
          Singleton method to create an Eduaction Unit.
static Unit HR.create(java.lang.String name, Address address)
          Create a new HR Unit.
static Unit Library.create(java.lang.String name, Address address)
          Creates a Libarary unit for the university.
 Unit Person.getAffiliation()
          Returns the unit a person belongs to.
static Unit Addmissions.getInstance()
          Returns an instance of the Addmission Unit.
static Unit CIS.getInstance()
          Returns the unit
static Unit Education.getInstance()
          Return the unit belonged to.
static Unit HR.getInstance()
          Returns an instance of HR.
static Unit Library.getInstance()
          Retruns an instance of Library.
 

Constructors in university with parameters of type Unit
Employee(java.lang.String name, Sex gender, Address address, Unit unit, int salary)
          Creates a new instance of Employee
Faculty(java.lang.String name, Sex gender, Address address, Unit unit, int salary, FacultyStatus status, java.lang.String specialty)
          Creates a new instance of Faculty.
Graduate(java.lang.String name, Sex gender, Address address, Unit unit, GraduateLevel level)
          Creates a new instance of Graduate
Person(java.lang.String name, Sex gender, Address address, Unit unit)
          Creates a new instance of Person
Staff(java.lang.String name, Sex gender, Address address, Unit unit, int salary, StaffStatus status, java.lang.String jobTitle)
          Creates a new instance of Staff.
Student(java.lang.String aName, Sex aGender, Address address, Unit aUnit)
          Creates a new instance of Student.
Undergraduate(java.lang.String name, Sex gender, Address address, Unit unit, UndergraduateLevel level)
          Creates a new instance of an Undergraduate student.