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


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Certification » Developer Certification (SCJD/OCMJD)
Bookmark "criteriaFin(String str)" Watch "criteriaFin(String str)" New topic
Author

criteriaFin(String str)

Bhuvan mehra
Ranch Hand

Joined: Mar 29, 2002
Posts: 69
hi!
i have a doubt about criteriaFind(str) method and need your views about that.
i was thinking that as string message i have to send origin and destination.
but in instructions
example of string message has carrier+origin.
is that means i have to provide facilty to choose origin, destination, carrier, day etc. to the client?
how can i generate String for criteriaFind() method easily?
thanks.
regads,
bhuvan.
Adam Roberts
Ranch Hand

Joined: Mar 18, 2002
Posts: 71
The instructions specify :
The user should be able to select the origin and destination of flights, and the display should update to show only flights that satisfy those criteria. The user must be able to describe enter the string value "any" for the origin, destination, or both, so as to implement a wildcard-like feature.

In other words your critieraFind method must handle any sort of request but your client only has to provide the two stated above
Hope that helps


Adam Roberts - SCJP2, SCJD<br />insert witty something here
Bhuvan mehra
Ranch Hand

Joined: Mar 29, 2002
Posts: 69
thanks and regards,
Bhuvan.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: criteriaFin(String str)