For example, I have a Photograph class; the constructor summary is:
Photograph(java.lang.String location, int width, int height, java.util.Date date, java.lang.String description, Person subjects, Event event)
Is is possible for me to loop on an object's attibutes?
For example, can I do something like
Loop on a Photograph, for each attibute, I assign it to a collection. Hence, for a Photograph object, I have 7 collection, each with differet type (string, int, event, date, etc)