|
|||||||||
PREV NEXT | FRAMES NO FRAMES |
Classes in librarytest used by librarytest | |
---|---|
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 |
|
EmployeePayType
Has possible values of HOURLY, SALARY, CONTRACT |
|
Gender
Has possible values of MALE, FEMALE, and NODATA |
|
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). |
|
ItemType
Has possible values of TEXTBOOK, MAGAZINE, JOURNAL, NEWSPAPER, NOVEL, DVD, AUDIOCD, OTHER |
|
LibraryDate
A date class to use for all library activities Has data elements: day (integer), month (integer), year (integer) |
|
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) |
|
Specialization
Has possible values of REFERENCE, SPECIAL_COLLECTIONS, RESEARCH, DESK, MEDIA, GENERAL, OTHER |
|
|||||||||
PREV NEXT | FRAMES NO FRAMES |