db-torque-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ryan Campbell <rcamp...@tdhca.state.tx.us>
Subject RE: Suggestion: A change to Torque (populate & XML)
Date Fri, 10 Jan 2003 17:27:41 GMT

>>1.1 Populate Torque objects, e.g. objects which extend 
>>   BaseObject, automatically from a Map or Hashtable. 

This is what BeanUtils is for, isn't it? If you want every object to have
populate() method, just make a BaseObject and tell your schema.xml about it.

>> 1.2 Allow Torque objects to emit SAX events to a
>>   Content handler. 

Bleh.  Either do this w/ reflection in a base class or modify BaseObject.vm
to generate it yourself.  Why impose this on the rest of us?

View raw message