Win a copy of Functional Design and Architecture this week in the Functional programming forum!
  • 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
  • Ron McLeod
  • Rob Spoor
  • Tim Cooke
  • Junilu Lacar
Sheriffs:
  • Henry Wong
  • Liutauras Vilda
  • Jeanne Boyarsky
Saloon Keepers:
  • Jesse Silverman
  • Tim Holloway
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Mikalai Zaikin
  • Piet Souris

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
 
reply
    Bookmark Topic Watch Topic
  • New Topic