Juee Doo wrote:I give classes without attributes and methods, except some import attributes and methods.
for example, a pojo, i just give it a class name, not give the detail of attributes.
It is fine for a archtectrue level doc?
Hi,
For the SCEA5, it is mentioned to show important and referenced attributes or methods shown in other diagram (eg. Sequence Diagram) in the Class Diagram. Hence, I agreed with Juee. However, from a practical perspective, I would also think it is important to provide the key functionalities (ie. methods) for a class shown in a Class Diagram. This is important to translate and justify why the class is there in the class diagram. The developers can implement in multiple ways. However, if key functionalities are not there, developers may not know the intent of the class being there in the class diagram.
Above are my personal thoughts.
Cheers!!