Pls helpme in replacing set and get methods with List
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.
|All times are GMT +5.5. The time now is 04:48.|