• Post Reply Bookmark Topic Watch Topic
  • New Topic

Showing attributes and methods in Class Diagram

 
Krzysztof Koziol
Ranch Hand
Posts: 133
Eclipse IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear All,

I know that we should add methods and attributes to important classes like managers etc. In my design WS response is mapped to POJO which is then used by a view. The question is, should we show attributes and methods in POJOs? Same for methods in Entity classes, if they are just setters and getters utilized by JPA?

Thanks.

Regards,
Krzysztof
 
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!