aspose file tools*
The moose likes Developer Certification (SCJD/OCMJD) and the fly likes criteriaFind parameter question Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Certification » Developer Certification (SCJD/OCMJD)
Bookmark "criteriaFind parameter question" Watch "criteriaFind parameter question" New topic
Author

criteriaFind parameter question

Sergei Simonov
Greenhorn

Joined: Dec 20, 2002
Posts: 3
hi there
I got a question. Does criteriaFind by spec from Sun should be supporting only AND logical operation?
"Carrier='SpeedyAir',Origin='SFO'"
"For example, the following argument string would select all records describing flights by the SpeedyAir carrier that originate in San Francisco."
What if user of Data class will pass something like "Origin='FRA',Origin='SFO'" :
give me records where Origin is FRA OR(!!) SFO?
Or we just return nothing without exception because the same record cannot have two values in one of its fields?
Thank you
Max Habibi
town drunk
( and author)
Sheriff

Joined: Jun 27, 2002
Posts: 4118
Yes, only the logical should be supported.
M, author
The Sun Certified Java Developer Exam with J2SE 1.4


Java Regular Expressions
Sergei Simonov
Greenhorn

Joined: Dec 20, 2002
Posts: 3
Hi Max
You mean logical what?
Only logical AND operation we support?
Max Habibi
town drunk
( and author)
Sheriff

Joined: Jun 27, 2002
Posts: 4118
Must have mistyped my message. Yes, only AND.
M, author
The Sun Certified Java Developer Exam with J2SE 1.4
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: criteriaFind parameter question