aspose file tools*
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
Author

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?



Regards,
Pramod
Roberto Perillo
Bartender

Joined: Dec 28, 2007
Posts: 2264
    
    3

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
Bartender

Joined: Jul 19, 2004
Posts: 5201
    
  12

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,
Roel


SCJA, SCJP (1.4 | 5.0 | 6.0), SCJD
http://www.javaroe.be/
pramod karnani
Ranch Hand

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


Regards,
Pramod
 
Don't get me started about those stupid light bulbs.
 
subject: id value in B&S 2.3.1