• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Data class question

 
Anonymous
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am thinking of not implementing public methods of Data class inside my client. If I give the reasons behind this choice would I still pass providing that the system does what is intented to do?
What I am trying to say is this: if I differ from the spec - would I pass the exam?
 
Mark Spritzler
ranger
Sheriff
Posts: 17278
6
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am not quite sure what you mean. But your client/GUI really shouldn't have the data class methods in it. But I'll clarify that, by stating that my DataAccess classes, local and remote, I do not consider as part of the client. the client uses these classes, but, in my case, indirectly. I actually have a DataAccessFacade that has the methods of bookFlight(), search(), etc, and this class calls the Local or Remote Data Access class that implements the data class public methods. So the client does not implement the data class public methods at all.
Does this answer your question?
I am sure that if you have a good reason why you chose certain routes to your solution in your exam, I am sure they will accept it.
Mark
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic