I find it quite strange that the UI specifications state, "[The UI] 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." However, the specification for the find(
String[]) method in the DB interface states, "A non-null value in criteria[n] matches any field value that begins with criteria[n]".
In other words, the search functionality of the UI cannot be written in terms of the DB interface, unless additional filtering is applied (one requires the criteria to match exactly, the other requires the criteria to match by prefix).
Thoughts?
P.S. what's with the "...or for records where the name AND/OR location fields exactly match values specified by the user"? Are they just trying to emphasize that it's not an XOR?