help me with this...i never learn build java database...can you all show me how to build it in simple way on blue j?
You are required to design and implement objects needed for a program that maintains a database of students and teachers, and allows you to read in large files of student/teacher information, search it, alter it, etc. The database is maintained as a list of records, each record containing the data for either a student or a teacher.
The information kept for a student is his/her college id number; name, date of birth, birth place, cumulative average of grades (CGPA) in courses, status (full time or part time), study programme (Ceritifcate(1), Diploma(2), Degree(3), Master(4) or PhD(5)) and a note (to keep comments on student's personality).
The information kept for a teacher is his/her faculty id number, name, date of birth, birth place, salary in ringgit, rank (Tutor(1), Lecturer(2), Associate Professor(3) or Professor(4)) .
After completing your design, you will implement it. The number of classes you decide to use is up to you. However, you must follow the set of restrictions specified below:
a. Name length must not: i. be more than 30 characters, ii. start with a blank space, iii. contain more than one consecutive blank space, or iv. contain any digit or number. b. Date of birth must contain valid numbers (1-31 for days, 1-12 for months) and they cannot contain negative values. c. Birth place is the state (if born in Malaysia), else birth country. d. CGPA is must be a positive value. The default value is 0.00. e. Valid study programme for students is any number between 1 and 5. f. Valid rank for teachers is any number between 1 and 4. g. Teachers' salary must be a positive value.
Both of these are people, of course, so the classes Student and Teacher are derived from the superclass Person, which holds information common to both students and teachers: id, name, date of birth, and birth place. All specifications for the both classes must be completed in the Student and Teacher interfaces.
You are expected to design your own classes for representing the basic entities that the program manipulates.
As you design your classes make them as general as possible so that they can be used by a campus management system.