Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

criteriaFind() again

 
Sri Addanki
Ranch Hand
Posts: 195
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
As said in SCJD FAQ page,
Originally posted by Detlev Beutner:
Hello,
I would like to see question (better: answer) 13 "corrected", for the following reason:
You state that

indicates to take carrier as a field on the GUI. But if you read carefully, it just says how flexible the DB-method should be implemented. It has nothing to do with the GUI. Just take care that adding this (or other) field(s) to the GUI is easy; as far as you have implemented the DB-method as required, you only have to take care about your generality on the controller.
Hope it helps
Detlev

This is exactly how i understood and implemented my criteriaFind.
And my criteriaFind method, searches the database for any string entries by breaking up criteria into name value pairs and organising them.
My gui has 2 textfields. One for destination and other for origin airport.
Is this fine?
Will i lose marks for not putting textfield/combobox for Carrier on the gui?
thanks,
sri
 
Peter den Haan
author
Ranch Hand
Posts: 3252
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I only had source and destination textboxes on my GUI. Although (if I remember correctly) I lost two points on the GUI, I'm fairly confident that it was not due to this. I'd only learned Java two months before I started the assignment and looking back upon my code I can think of plenty of better reasons to subtract those points
- Peter
 
Sri Addanki
Ranch Hand
Posts: 195
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Peter.
 
Jawad Kakar
Ranch Hand
Posts: 82
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a util class and I want to add my criterfind() method in there, is that ok?
Thank you
Jawad
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic