Gopi,
In Standard Best Practice in SAP, it is recommended to extend the Java by just adding your WBSElement to be populated. This way you do not touch the original source code. Plus add the necessary fields/properties in your transaction + screen + Object-Properties.
Best Regards,
SAP Mobile Support Team