Skip navigation links
A D G L P S T 

A

addPerson(Person) - Method in class Database
Add a person to the database.
Address - Class in <Unnamed>
Class Address - used to store address details for a post address
Address(String, String, String) - Constructor for class Address
Construct an Address without country
Address(String, String, String, String) - Constructor for class Address
Construct an Address with full details

D

Database - Class in <Unnamed>
A very simple database of people in a university.
Database() - Constructor for class Database
Create a new, empty person database.

G

getAddress() - Method in class Person
Return the address of this person.
getName() - Method in class Person
Return the name of this person.
getRoom() - Method in class Staff
Return the room number of this person.
getStudentID() - Method in class Student
Return the stident ID of this student.
getYearOfBirth() - Method in class Person
Return the birth year of this person.

L

listAll() - Method in class Database
List all the persons currently in the database on standard out.

P

Person - Class in <Unnamed>
A person class for a simple BlueJ demo program.
Person(String, int) - Constructor for class Person
Create a person with given name and age.

S

setAddress(String, String, String) - Method in class Person
Set a new address for this person.
setName(String) - Method in class Person
Set a new name for this person.
setRoom(String) - Method in class Staff
Set a new room number for this person.
setYearOfBirth(int) - Method in class Person
Set a new birth year for this person.
Staff - Class in <Unnamed>
A class representing staff members for a simple BlueJ demo program.
Staff() - Constructor for class Staff
Create a staff member with default settings for detail information.
Staff(String, int, String) - Constructor for class Staff
Create a staff member with given name, year of birth and room number.
Student - Class in <Unnamed>
A class representing students for a simple BlueJ demo program.
Student() - Constructor for class Student
Create a student with default settings for detail information.
Student(String, int, String) - Constructor for class Student
Create a student with given name, year of birth and student ID

T

toString() - Method in class Address
Return a string representation of this object.
toString() - Method in class Person
Return a string representation of this object.
toString() - Method in class Staff
Return a string representation of this object.
toString() - Method in class Student
Return a string representation of this object.
A D G L P S T 
Skip navigation links