• Post Reply Bookmark Topic Watch Topic
  • New Topic

doubt on Data class

 
Reshma Das
Ranch Hand
Posts: 125
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
iam writing documentation for my appln. do i have to place all the public methods of Data in the interface or it is enough to place the methods needed by client alone ?
 
Mark Spritzler
ranger
Sheriff
Posts: 17309
11
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I believe the requirements said it needs to have all the public methods of Data. However, after that you can wrap that into a Facade class and in there have only a few methods the client needs that gets forwarded to the interface implementations.
Mark
 
Happiness is not a goal ... it's a by-product of a life well lived - Eleanor Roosevelt. Tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!