Re: Q: Pattern for this?
- From: Casper B <casper@xxxxxx>
- Date: Fri, 06 May 2005 16:14:17 +0200
Assuming you pass the parser some information about the names of the columns, this looks like a job for JavaBeans and reflection. With JavaBeans you use conventions to indicate properties of your classes and use reflection to dynamically access the properties at runtime.
Is that to say, I can create fields and accessors dynamically? I only thought reflection is about "looking in at yourself" and only be able to get a discription and access existing object, not create these.
/Casper .
- Follow-Ups:
- Re: Q: Pattern for this?
- From: Raymond DeCampo
- Re: Q: Pattern for this?
- References:
- Q: Pattern for this?
- From: Casper B
- Re: Q: Pattern for this?
- From: Raymond DeCampo
- Q: Pattern for this?
- Prev by Date: Re: How do I find color string of Color object
- Next by Date: Re: Q: Pattern for this?
- Previous by thread: Re: Q: Pattern for this?
- Next by thread: Re: Q: Pattern for this?
- Index(es):
Relevant Pages
|
|