Win a copy of Java 9 Revealed this week in the Features new in Java 9 forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

UML  RSS feed

 
S. Kroschk
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

formost (it's my first posting) let me say thanks for all the valuable input I got so far by reading this forum!

My, very short, question:
I'm wondering if it would be accaptable to ommit get()/set() methods of transfer objects by specifying the (private) attributes and adding a comment like
"In order to reduce complexity of the diagram, the get() and set() methods for the attributes specifed have been ommited."?

Regards
Stefan
 
saurabh suman
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
you can do that ...I would suggest not to show the attributes also.
If your design suggests that showing attribute is necessary only then show then only show otherwise you can exclude them.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!