• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

DBRecordUtilities class

 
Anton Golovin
Ranch Hand
Posts: 476
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am thinking of putting all record-conversion code into one class: suncertify.db.util.DBRecordUtilities, which would use only static methods to provide the functionality. I was wondering if anyone thought it was a good idea. The thought I had was also to put in there methods to insure correct format of record fields (such as date) and to make this class usable in the client portion of the program as well (I will be using InputVerifiers for the record fields, to create a record.) Design-wise, do you think it could work; and perhaps, you could give me a pointer on how to best make it work?

Thanks in advance for your time!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic