I'm trying to come up with a way to populate a database for integration tests. The database is Google's BigTable, which is more or less an arbitrarily nested bunch of HashMap<String, Object>s.
I would like to use xml to specify my test data, with a schema for it. I've
got a simple setup where I've written a schema and generated the java classes
with Castor. But now I need to iterate over all of the objects and call each
getter for the attributes and elements, and recurse down when there are
collections. I would like to be able to do this in a general sense, without
having to know ahead of time what getters the java classes have. I hope that
makes sense. Is this possible?
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email