File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Developer Certification (SCJD/OCMJD) and the fly likes id value in B&S 2.3.1 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Developer Certification (SCJD/OCMJD)
Bookmark "id value in B&S 2.3.1" Watch "id value in B&S 2.3.1" New topic

id value in B&S 2.3.1

pramod karnani
Ranch Hand

Joined: May 22, 2007
Posts: 88
Hi All,

in instructions.html writtent that "The id value (an 8 digit number) of the customer who has booked the record'.

it means customer id must have 8 digit number,it can not be less than 8 digit ,correct?

Roberto Perillo

Joined: Dec 28, 2007
Posts: 2271

Howdy, Pramod!

Well, I assumed that the customer ID must have 8 digits, and it must be a valid number. For instance, 54824517 or 96418235.

Cheers, Bob "John Lennon" Perillo
SCJP, SCWCD, SCJD, SCBCD - Daileon: A Tool for Enabling Domain Annotations
Roel De Nijs

Joined: Jul 19, 2004
Posts: 8393

Hi pramod,

Because it has to be 8 digit long (I allowed no number less than 8 digits) I used a String to store the customer-id, because else it's quiet hard (requires extra code) to have "12345" (entered as "00012345") as valid customer id. But in the GUI always 8 digits should be entered, otherwise error message is shown.

Kind regards,

SCJA, SCJP (1.4 | 5.0 | 6.0), SCJD
pramod karnani
Ranch Hand

Joined: May 22, 2007
Posts: 88
Thanks Roberto and Roel.

I agree. Here's the link:
subject: id value in B&S 2.3.1
It's not a secret anymore!