• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

NX: (contractors) Implementing the Find() method

 
Rob Zidsen
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The instructions state that the GUI "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."
So in my mind, this means that we don't have to let the user search by specialty. Is this right? Only name and location are searchable?
This seems to contradict the whole purpose of the application, which is to "generate a list of contractors that match a customer's criteria." The criteria usually involves the actual service being requested, right??
 
Ken Krebs
Ranch Hand
Posts: 451
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Rob,
I think this means that the GUI portion simply provides a partial implementation of the supported use cases to the user. In my assignment, I still need to implement a flexible find method in my Data class which implements DBMain. The GUI use cases subset and other requiremnts apparently provide enough of a test of your Swing abilities for the purposes of the exam.
It is also important to keep in mind that the specification says:
"This document deliberately leaves some issues unspecified, and some problems unraised. Your ability to think through these issues, in the face of realistically imperfect specifications, and come to a tenable solution is something upon which you are graded." So read the specification carefully, and with an open mind. Examine closely the wording in your DBMain (or DBAccess) interface, whatever it's called.
kktec
SCJP1.4, SCWCD
 
Mike Southgate
Ranch Hand
Posts: 183
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I just allowed them to search on all of the fields. It's not much effort once you're doing it for two of the fields anyway.
ms
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic