I got lotsa queries in my urlybird asignment
1.
Per DB description
4 byte numeric, magic cookie value. Identifies this as a data file
Q. Magic Cookie Value - What should be my role in that?? Do I need to Hardcode this somewhere and check everytime the program is executed whether the db file has this cookie ??
2.
Per Instructions,
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.
Q. Does all records mean the deleted ones too.
Do i have to provide search facility for all the columns possible like smoking,price etc or only name/location
3.
Flag indicating if smoking is permitted. Valid values are "Y" indicating a smoking room, and "N" indicating a non-smoking room
Q . Smoking Y/N
When a user opts for non smoking room Do i need to display Ones with 'Y' flag too As (Practicaly)its upto customer not smoking in a room but booking one that allows smoking.
4.
public void update(int recNo,
String[] data, long lockCookie)
and delete
Assignment only describes that we should alow CSR to provide booking facility But these two methods in interfaces does it suggest that CSR can also Update and Delete a particualr record
Should the gui for the same be provided
5. public String[] read(int recNo) throws RecordNotFoundException;
thers no unique recordid in my db schema what does the int recno refer to???
Thanks in Advance