• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
  • paul wheaton
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Henry Wong
Saloon Keepers:
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Tim Moores
  • Mikalai Zaikin
Bartenders:
  • Frits Walraven

criteriaFind() again

 
Ranch Hand
Posts: 195
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
author
Posts: 3252
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks Peter.
 
Ranch Hand
Posts: 82
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
You can thank my dental hygienist for my untimely aliveness. So tiny:
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
    Bookmark Topic Watch Topic
  • New Topic