File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Beginning Java and the fly likes set the SET method Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "set the SET method" Watch "set the SET method" New topic
Author

set the SET method

Cougar Vis
Greenhorn

Joined: May 12, 2004
Posts: 19
My problem is follow:

I would like to know how do i put the 'customerIDIn to the 'set' method? after I generated a random number and want to set it so other class can get it.
THANX :roll: :roll:
[ May 12, 2004: Message edited by: GK Leo ]
Michael Dunn
Ranch Hand

Joined: Jun 09, 2003
Posts: 4632
Here's something to play around with
Cougar Vis
Greenhorn

Joined: May 12, 2004
Posts: 19
Originally posted by Michael Dunn:
Here's something to play around with

don't tell me you are a college student
Cougar Vis
Greenhorn

Joined: May 12, 2004
Posts: 19
what do i need to actually do to able others to get this "customerID"?
Ali Gohar
Ranch Hand

Joined: Mar 18, 2004
Posts: 572
No understood the problem clearly.

Make the object of class

Customer cust = new Customer();

Now call cust.setCustomerID(customerIDin);

thats how you can set the customer id for the perticular object.

Is this you want? If not then describe the whole problem what you want to develop?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: set the SET method
 
Similar Threads
Variables assigned to objects
no main method found
Can someone please help me out.
help please error message
Unable to instantiate default tuplizer [org.hibernate.tuple.entity.PojoEntityTuplizer]