This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
Dear All, I have a 40 java bean each with about 20 -30 different get and set methods. I want to get the names and values of all the methods in one bean at a time . And then reformat that data.Is there any thing similar to jdbc getMeataData where you get column name s and it's values. I want to avoid writing 20-30 getProperty statements. Any help is highly appreciated. Thanks, peter
You can also download the Beanbox prototype tool from Sun. It has a Report feature that not only lists all the property-oriented methods in a Bean, but also groups the listings between Properties, Event Sets, and other methods. It also tags expert options and a few other things. It's part of the BDK which is available here.
Joined: Jan 25, 2002
Thanks to both of you for all your help. could you please help me what should i add to what i have now( i am going thorough the documents but it will take little long for me to get it to work)
Thanks, peter --edited for code format and capitalization. mfe -- [ November 15, 2002: Message edited by: Michael Ernest ]