[ August 12, 2008: Message edited by: Alenkhe David ]
[ August 12, 2008: Message edited by: Alenkhe David ] [ August 12, 2008: Message edited by: Alenkhe David ]
posted 11 years ago
Below are the UI requirements for my assingment
It must be composed exclusively with components from the Java Foundation Classes (Swing components). It must allow the user to search the data for all records, or for records where the name and/or location fields exactly match values specified by the user. It must present search results in a JTable. It must allow the user to book a selected record, updating the database file accordingly.
My question is : Do i provide the UI with create and delete functions; because this methods are in the DB interface.
You should follow the must condition in your requirement. According to your requirement, you should provide the functionality in your UI for booking the record. After booking, the corresponding record should be updated in db. You can implement other functionalities in UI but they are not mandatory and also you will not get extra points
I have used RAF for reading the db schema. Btb, my assignment is B&S.
What if other GUIs (other than yours) do support these operations and use your implementation of the Data class?
Cheers, Roberto Perillo
SCJP, SCWCD, SCJD, SCBCD
posted 11 years ago
this is the customer id specification: Note that for this application, you should assume that customers and CSRs know their customer ids. The system you are writing does not interact with these numbers, rather it simply records them. If this field is all blanks, the record is available for sale.
All the fields in my db file all have thier customer id blank which means its available for sale(booking).
UI specs says : It must allow the user to book a selected record, updating the database file accordingly.
question is: do i allow the UI to update the customer id field? because there is no way to book a record with out a customer id. [ August 14, 2008: Message edited by: Alenkhe David ]