Class Summary |
Address |
Each address object has a Street address (string),City (string), State (two letter postal code>), ZipCode (five digit zip code greater than 10000) |
Employee |
Employee – inherits from class Person and has an EmployeeID - Identification number (a value between 1 and 999), a Type of employee (enum salary/hourly/contract), a Pay rate (monthly salary or hourly rate), an Area of specialization (use enum), a flag of Currently working? (Clocked in) (boolean), and the Hours worked in current month (double) - allow quarter hours |
Item |
Formerly the Book class
Item has data elements: ISBN (10 digits), title (string), type (enum),publisher (string), page information (how many pages) (integer), price (float), publication year (integer), checked out status (boolean) false=available, true=checked-out, Patron ID who checked out the item (int), due date (use LibraryDate class). |
Library |
The Library class has data elements: libraryContents - Use ArrayList and Item class, patronList – Use any collection class (such as ArrayList) and the Patron class, employeeList – Use any collection class (such as ArrayList) and the Employee class. |
LibraryDate |
A date class to use for all library activities
Has data elements: day (integer), month (integer), year (integer) |
LibraryTest |
The test class for the Library in Project #3 |
Patron |
Patron – inherits from class Person and has a PatronID - Identification number (a value between 100000 and 999999) and the last date any item was checked out (a LibraryDate object |
Person |
Each person has First name (string), Last name (string),Address(an Address object), Gender (enumerated type) |
TimeIgnoringComparator |
Original version returned an int that indicated before or after but did not give number of days
This version is modified to give number of days |
Enum Summary |
EmployeePayType |
Has possible values of HOURLY, SALARY, CONTRACT |
Gender |
Has possible values of MALE, FEMALE, and NODATA |
ItemType |
Has possible values of TEXTBOOK, MAGAZINE, JOURNAL, NEWSPAPER, NOVEL, DVD, AUDIOCD, OTHER |
Specialization |
Has possible values of REFERENCE, SPECIAL_COLLECTIONS, RESEARCH, DESK, MEDIA, GENERAL, OTHER |