This week's book giveaway is in the
We're giving away four copies of
OCA/OCP Java SE 7 Programmer I & II Study Guide
and have Kathy Sierra & Bert Bates on-line!
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Generate getters and setters
Joined: Dec 30, 2007
Jun 01, 2009 07:37:22
how to generate getters and setters at runtime using
code with out any tool
is this possible ?
Joined: Mar 28, 2003
Jun 01, 2009 07:50:02
I know of no way to do this. What are you trying to accomplish?
Joined: Sep 29, 2008
Jun 01, 2009 09:20:29
I suppose you could do it at load time, but personally I'd want to be *really* sure that's what I wanted to do before embarking down that path: there be dragons.
Joined: Oct 13, 2005
Jun 01, 2009 09:24:17
At runtime? That doesn't sound at all easy. Maybe impossible. And I agree with David Newton's "there be dragons."
Author and ninkuma
Joined: Jan 10, 2002
Jun 01, 2009 09:30:52
What is your motivation for this rather bizarre requirement?
Asking smart questions
Books by Bear
subject: Generate getters and setters
Recieving 'null' values from a jsp page in Struts2 Action
hbm2java - private members ?
I have a POJO ,Now I want to generate mapping File (.hbm) and table .Hoe It can be done?
Problem formatting dates.
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014