• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Data file abstraction

 
Tony Bouer
Greenhorn
Posts: 29
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I read some posts saying that we should make our data file reader more extensible due its abstract definition, so the structure would not be hardcoded. Any idea of how to do that ?
I created some classes with the database representation like: Schema, Field and Record. After reading data to this structure I'm able to transform
to an specific type, Accomodation Transfer Object. The serializable object that will be carried out between applications layers, despite methods parameter dependency.

or .. if I'm wrong, how to construct objects programmatically based on schema definitions ? Any sample ?

Please critisise it !!!

Thanks,
Tony
[ March 14, 2006: Message edited by: Tony Bouer ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic