jyothi
I am little bit confused here, in design of GUI and even
implementation of criteriaFind() method....whether to include only
Origin and Destination...Or should I include carrier also at both
places???
Any intelligent fool can make things bigger, more complex, and more violent. It takes a touch of genius - and a lot of courage - to move in the opposite direction. - Ernst F. Schumacher
SCJP, SCJD, SCWCD, SCBCD, SCEA
jyothi
What does that mean?? what, we should take carrier into account?? any way I did take that in to consideration.
More over in the assignment it is given as..for both origin and destination the value can be "any"..there also nothing mentioned about carrier.. What about u guys?? Did u assigned "any" value to carrier also or not??
Ofcourse I didn't assigned...Is it correct??
but for user that will be useful...
Like this..
"Carrier='any',origin='SFO', destiantion='BOM'"
From above user can get all the filghts between SFO & BOM . From which user can select one, based on price, timings, day, available seats...
What is ur opinion..? please guide me in correct direction if I am wrong.. But I am also thinking that we should not provide any additional features which r not given in requirements..
In those, some r saying that they used Design Patterns in the design of assignment. I don't have any experience in the java Development. I didn't hear them(Design Patterns) till now...What exactly they r?? Can suggest me a best book/link on that...
And one more... I can develop assignment in local mode(I know sequence of steps here)..but for assignment to work in network mode, what & how should I do/follow??..I am planning to use RMI...
Any intelligent fool can make things bigger, more complex, and more violent. It takes a touch of genius - and a lot of courage - to move in the opposite direction. - Ernst F. Schumacher
Requirement does not mention about how to handle the Zero seat. I mean do we need show the flight with zero seat into the table when user do the search/criteriaFind? It doesn't make sense to me.
Any intelligent fool can make things bigger, more complex, and more violent. It takes a touch of genius - and a lot of courage - to move in the opposite direction. - Ernst F. Schumacher
jyothi
first, parse criteria String and put the name-value pairs into a map called searchMap.
second, get field names and values from a DataInfo(one record in db.db) and put all field name-value pairs into a second map called recordMap,
last, then do a subset like: ...
Any intelligent fool can make things bigger, more complex, and more violent. It takes a touch of genius - and a lot of courage - to move in the opposite direction. - Ernst F. Schumacher
I suggest huckleberry pie. But the only thing on the gluten free menu is this tiny ad:
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
|