| | |
Pls helpme in replacing set and get methods with List
Please support our Java advertiser: Programming Forums - DaniWeb Sister Site
![]() |
•
•
Join Date: Apr 2008
Posts: 8
Reputation:
Solved Threads: 0
I have
onebean.java file having
and the corresponding set and get methods.
and Im using these set and get methods in another java file.
Here in onebean.java we have to implement the destinations as a list rather than individual destinationOne, etc fields.
Anyone of you please help me in doing this.
Thanks alot.
onebean.java file having
Java Syntax (Toggle Plain Text)
private String destinationOne; private String destinationTwo; private String destinationThree; private String destinationFour; private String destinationFive; private String destinationSix;
and Im using these set and get methods in another java file.
Here in onebean.java we have to implement the destinations as a list rather than individual destinationOne, etc fields.
Anyone of you please help me in doing this.
Thanks alot.
Last edited by Tekmaven; Jul 16th, 2008 at 3:02 pm. Reason: Code tags
![]() |
Other Threads in the Java Forum
- Previous Thread: questions about java language
- Next Thread: many regions in java
Views: 698 | Replies: 1
| Thread Tools | Search this Thread |
Tag cloud for Java
-xlint android api apple applet application arguments array arrays automation binary block bluetooth chat class classes client code compile component database developmenthelp draw eclipse encode error event exception file fractal freeze game gameprogramming givemetehcodez graphics gui helpwithhomework html ide image input integer iphone j2me j2seprojects java javac javaprojects jmf jni jpanel julia lego linux list loop loops mac map method methods mobile netbeans newbie notdisplaying number object online oracle print problem program programming project recursion scanner screen server set singleton size sms socket sort sql string swing system template test textfields threads time title transfer tree tutorial-sample update windows working






