1. We have moved from vBulletin to XenForo and you are viewing the site in the middle of the move. Though the functional aspect of everything is working fine, we are still working on other changes including the new design on Xenforo.
    Dismiss Notice

Pls helpme in replacing set and get methods with List

Discussion in 'Java' started by shobha2k8, Jul 16, 2008.

  1. shobha2k8

    shobha2k8 New Member

    I have

    onebean.java file having

    private String destinationOne;
    private String destinationTwo;
    private String destinationThree;
    private String destinationFour;
    private String destinationFive;
    private String destinationSix;

    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.
     

Share This Page